Duplicate Hard Disk

From KlavoWiki
Revision as of 00:31, 23 October 2015 by David (talk | contribs)
Jump to navigationJump to search

To Duplicate a hard disk in Linux first verify the sector size of the hard disk.

lsblk -o NAME,PHY-SeC

Once the sector size is known, this will duplicate disk A to B.

dd if=/dev/sda of=/dev/sdb bs=512 conv=noerror,sync