4 Sep
2004
4 Sep
'04
02:06
mmarseglia writes:
drop to a prompt
dd if=/dev/hda1 of=/dev/hdb1
That will only copy the first partition, and assumes that the target disk is already fdisk'ed identically to the source, and has a valid boot block. Drop the "1" from both device names and you'll copy the entire disk. By default dd copies one 512 byte block at a time, which can be slow. By adding bs=64k it increases the copying per chunk to 64k bytes which should speed things up nicely. -Ti