Hello...
is it possible to clone an entire HD to another one (with exactly the
same space/sectors/heads etc) without reinstalling grub ?
I'm doing:
dd if=/dev/hda of=/dev/hdb
dd if=/dev/hda of=hda.mbr bs=512 count=1
sfdisk -d /dev/hda > hda.sf
to clone the HD, save the MBR and partition table, and then:
dd if=hda.mbr of=/dev/hdb
sfdisk /dev/hdb < hda.sf
to restore the MBR and partition table on the target drive.
As this seems not to work (at least on i386), do I need to backup
something else ? Of course, the original HD start with a perfectly
working grub.
thanks in advance,
Giampaolo
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel