

In this example, I am going to clone /dev/ada0 (250G) to /dev/adb0 (250G) in FreeBSD and make an image using dd. # dd if=/dev/sdc of=/dev/sdd bs=64K conv=noerror,sync To clone /dev/sdc (250G) to /dev/sdd (250G) in Linux, enter:

The syntax is as follow to make disk image with dd:ĭd if=/dev/input/DEVICE-HERE of=/dev/OUTPUT/DEVICE-HERE bs=64K conv=noerror,sync However, if you have multiple disks, it is possible to do it online. Typically we boot from a live USB or DVD and create disk images. Remember the input file order ( if=) and output file ( of=). You should be very careful when using the dd command it can destroy data. The nixCraft or author is not responsible for data loss.

WARNING! These examples may crash your computer if executed.
