Very easy:
dd if=/dev/SOURCE of=/dev/DESTINATION bs=1M

I've found in my experience 1M tends to be a solid "bs" number; lower than that and the copy rate is slower, higher than that doesn't give much performance gain (if any). The SOURCE should be the hard disk that has the image you want to keep and clone, the DESTINATION should be the hard disk that is to be cloned and receive the image on the SOURCE.

This will copy, bit-for-bit, everything on one hard disk to another. Useful for copying over complex workstation/server configurations on machines with the same hardware.

This blog post was posted to orz on Wednesday June 2nd, 2010 at 7:29PM
 

Leave a Comment

You can use bbcode in the comment: e.g. [b]This is bold[/b], [url]http://www.willmcgugan.com[/url], [code python]import this[/code]
Preview Posting...
Previewing comment, please wait a moment...
Search for Posts
Possibly related posts
Tags
Popular Tags
 
Archives
2010
 
Recent Comments
 
© 2008 Will McGugan.

A technoblog blog, design by Will McGugan