-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Gmail *sucks*, because it screws up reply nesting. I have to manually fix it so that people (including me) how use sane MUAs can read it properly. On 05/20/08 21:50, Raj Kiran Grandhi wrote: > Ron Johnson wrote: >> On 05/20/08 15:55, Lee Glidewell wrote: >>> Have a look at partimage. Specifically you might be interested in the >>> CloneZilla live distro. It's built specifically for the purpose of >>> porting installations between hard disks. > >> In a similar vein to OP's question, I am going to buy a new boot >> disk, because my hda is old enough -- and drives are cheap enough -- >> that I'd rather replace it before it fails. >> >> So I checked out CloneZilla, but it seems to be aimed at >> institutional use. Even partimage seems to need an intermediary step. > >> Is there any way to directly clone /dev/hda to /dev/sdX, so that I >> can then boot off of /dev/sdX? > > If you can boot some live system, you can just partition your new disk, > mount them all, copy all your files over, fix /etc/fstab and I've tried doing what you suggest, but cp leaves absolute symlinks still pointing to the original files on the source device. > /boot/grub/menu.lst, mount the new boot partition at /boot and run > grub-install /dev/sda. With this approach, you are free to change your > partitioning scheme. > > Alternatively, if your new partitions have the same layout but larger, > then you can use dd to clone each partition individualy, do a resize2fs > on each of them, then fix fstab and menu.lst before running a grub-install. - -- Ron Johnson, Jr. Jefferson LA USA ESPN makes baseball players better. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIM5EqS9HxQb37XmcRAvuDAJ0cwbC1DabJTelsE0UgSjEcv0h7HQCeODQR yHOHkFXz2qqluAum/wgCiL4= =9Jqp -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]