Anders Norrbring writes:
I'm desperately trying to mirror a disk for backup purpose. The system is running on one IDE drive, and I want to make an exact mirror before an upgrade.
I tried Symantec's Norton Ghost 2003 with terrible result.. The mirror didn't even boot. The system just displayed "GRUB" and nothing more happened.
The 2 drives reports the exact same geometry to the system BIOS.
Any ideas on how to accomplish my task?
Anders Norrbring
If you simply want an exact byte-by-byte copy of your existing disk, go to single-user mode and then just do the following. (Assuming /dev/hda is the source disk and /dev/hdb is the target disk): dd if=/dev/hda of=/dev/hdb bs=64k This will copy *everything*, boot block, partition table, all partitions and filesystems, etc. Do this only in single-user mode so that you get a consistent copy (i.e., the filesystem isn't changing due to users and daemons at the same time you're copying). -Ti