rss
email
twitter
facebook

Linux: Disk Duplication

To make an EXACT copy of one disk to another is easy with the command $ DD. This command will do a block by block copy of one source to another, partitions and all.


Here is what you need to do:

1) $ fdisk -l to see your drives
2) $ dd if=/path_to_your_source_drive/ of=/path_to_your_target_drive/ bs=4096k
      if = input file
     of = output file
     bs = block size
                  example: $ dd if=/dev/sdb of=/dev/sdc bs=4096k