On 24 Dec 2007, at 17:06, Randy Barlow wrote:
... You will probably need to use
grub-install/setup if you do dd as well, unless you dd if=/dev/sda
of=/dev/sdb (or am I wrong about this?)

No, you're correct - `dd` would copy the boot-sector.

But it would also leave all partitions at their original sizes, leaving 80gig of free space at the end of the drive. I'm not sure how one would go about enlarging the /dev/sda2 in order to fill this - I'm sure it's possible, but I can't say I've ever had to do so.

It might be as simple as completing the `dd if=/dev/sda of=/dev/sdb` and then using `fdisk` to delete the last partition, then recreate it with the same start point (and a later end point). The filesystem would then need to be resized. But I don't know if this will work, and it's potentially destructive if you get it wrong (although the original drive is still intact if it doesn't).

Stroller.
--
[EMAIL PROTECTED] mailing list

Reply via email to