Difference between revisions of "Disk Cloning"

From Game Research Wiki
Jump to navigation Jump to search
(Created page with "dd if=/dev/sdb of=/dev/sda bs=8096 count=100 conv=sync,noerror status=progress To clone a drive, I use dd that is usually with any linux distro. if = input device of = out...")
 
Line 1: Line 1:
<syntaxhighlight lang="cpp">
dd if=/dev/sdb of=/dev/sda bs=8096 count=100 conv=sync,noerror status=progress
dd if=/dev/sdb of=/dev/sda bs=8096 count=100 conv=sync,noerror status=progress
</syntaxhighlight>





Revision as of 18:12, 12 September 2019

dd if=/dev/sdb of=/dev/sda bs=8096 count=100 conv=sync,noerror status=progress


To clone a drive, I use dd that is usually with any linux distro.

if = input device

of = output device

bs = blocksize

count = number of sectors to be copied

conv = additional options sync = keeps LBA synced if unable to read (will fill with zeros on target drive for sector it was unable to read) noerror = will not stop on error

status = progress, shows how much data as been copied so far.