dd if=/dev/sda of=/dev/sdb bs=64K

Category: Administration

dd if=/dev/sda of=/dev/sdb bs=64K

Clone one entire disk to another

Copies an entire disk byte-for-byte to another disk. bs=64K sets the block size for efficient copying.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.