View previous topic :: View next topic |
Author |
Message |
Kaepora n00b
Joined: 28 Apr 2007 Posts: 12 Location: /dev/fd0
|
Posted: Thu Jan 08, 2009 4:11 pm Post subject: Creating a carbon copy of a HD |
|
|
Hi guys,
I have two HDs that are exactly the same model and capacity: /dev/sda, and /dev/sdb.
I wish to make /dev/sdb an EXACT CARBON COPY of /dev/sda. Is there some command to do that?
Thank you! _________________ Anapnea, the open Gentoo shell server:
http://anapnea.net |
|
Back to top |
|
|
Abraxas l33t
Joined: 25 May 2003 Posts: 814
|
Posted: Thu Jan 08, 2009 4:24 pm Post subject: |
|
|
Code: | dd if=/dev/sda of=/dev/sdb |
Both drives have to be unmounted for this to work. |
|
Back to top |
|
|
paulbiz Guru
Joined: 01 Feb 2004 Posts: 508 Location: St. Louis, Missouri, USA
|
Posted: Thu Jan 08, 2009 10:35 pm Post subject: |
|
|
Or ddrescue if there are expected to be bad sectors on the source hard drive. |
|
Back to top |
|
|
|