Brant Fitzsimmons wrote: > On Thu, 2005-06-02 at 10:36 -0500, Mikkel L. Ellertson wrote: > >>Brant Fitzsimmons wrote: >>> >>>Boot up into your Linux install and run as root. >>> dd if=/dev/hda of=/dev/hdb >>>As far as I know that will make a bit for bit copy of the first drive to >>>the second. *Someone please correct me if I'm wrong.* >>> [snip] >> >>This is NOT a good idea. Why? Because it will copy the partition table >>and everything over. So your new drive will look like an 8 GB drive. Not >>exactly what you are after. Going from this point to using the full >>drive is a real pain. > > > I was wondering about that, but I seem to remember reading this in a > Howto somewhere. I'll see if I can dig it up. > I would be interested is seeing this. In the past, I have used dd to copy a disk image to a new drive where the new drive was larger then the older drive. But it was a special case - replacing a bad drive where the machine wanted a specific sized drive. The new drive was the same as the old one, except for the number of cylinders. So I was only using part of the new drive. For things like that, it works fine.
A second point that I should have brought up - if you use dd to copy this way, you are going to copy the entire 8GB of data, regardless of the amount of space that is used. This is not going to be a fast process... I guess what I am realy trying to get accross is that while this method could be made to work, it is not a fast or simple way to do it. It is not the type of job dd was designed for. Mikkel -- Registered Linux User #16148 (http://counter.li.org/)
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
