Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creating a carbon copy of a HD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Kaepora
n00b
n00b


Joined: 28 Apr 2007
Posts: 12
Location: /dev/fd0

PostPosted: Thu Jan 08, 2009 4:11 pm    Post subject: Creating a carbon copy of a HD Reply with quote

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
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 814

PostPosted: Thu Jan 08, 2009 4:24 pm    Post subject: Reply with quote

Code:
dd if=/dev/sda of=/dev/sdb


Both drives have to be unmounted for this to work.
Back to top
View user's profile Send private message
paulbiz
Guru
Guru


Joined: 01 Feb 2004
Posts: 508
Location: St. Louis, Missouri, USA

PostPosted: Thu Jan 08, 2009 10:35 pm    Post subject: Reply with quote

Or ddrescue if there are expected to be bad sectors on the source hard drive.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum