Duplicate Hard Disk: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with "To Duplicate a hard disk in Linux first verify the sector size of the hard disk. <pre> lsblk -o NAME,PHY-SeC </pre> Once the sector size is known. <pre> dd if=/dev/sda of=/de..."
 
No edit summary
Line 4: Line 4:
</pre>
</pre>


Once the sector size is known.
Once the sector size is known, this will duplicate disk A to B.
<pre>
<pre>
dd if=/dev/sda of=/dev/sdb bs=512 conv=noerror,sync
dd if=/dev/sda of=/dev/sdb bs=512 conv=noerror,sync

Revision as of 00:31, 23 October 2015

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