Archive for the tag 'entire'

SBDavid

Cloning an entire drive

Cloning an entire drive

You’ll need two hard drives the same size, or a destination drive larger than the source drive.

Make sure no partitions are mounted on either drive. In this example /dev/hda is the source drive, /dev/hdb is the destination drive. The dd command makes an exact, byte-for-byte copy, including the MBR (master boot record):

# dd if=/dev/hda of=/dev/hdb