Skip to content

Instantly share code, notes, and snippets.

@markshust
Created April 12, 2012 02:45
Show Gist options
  • Save markshust/2364346 to your computer and use it in GitHub Desktop.
Save markshust/2364346 to your computer and use it in GitHub Desktop.
Duplicating a hard disk
# If you have two IDE drives that are of identical size, provided that you are sure that they contain no bad sectors, you can execute this command to copy the entire disk and avoid having to install an operating system from scratch. It doesn't matter what is on the original (Windows, LINUX or whatever) since each sector is identically duplicated, the new system will work perfectly.
dd if=/dev/hdc of=/dev/hdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment