How to duplicate a disk

Bruno Wolff III bruno at wolff.to
Fri Oct 28 16:15:08 UTC 2005


On Thu, Oct 27, 2005 at 12:26:42 -0700,
  Rick Stevens <rstevens at vitalstream.com> wrote:
> 
> The command is:
> 
> 	dd if=/dev/fromdevice of=/dev/todevice bs=512
> 
> Note, however, that that makes an EXACT copy of the disk.  Unless the
> target disk is the same make and model, this probably won't work as the
> partitions won't be the same between the two.

As long as the destination drive has at least as many sectors this will
work. The partition definitions are just data on the disk and will be
copied. If the destination disk has more sectors, the extra sectors will
be unused. However, after the copy you should be able to create a new
partition that contains them.




More information about the fedora-list mailing list