LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2005, 09:32 PM   #1
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Question about DD and Disk images.


I was reading AwesomeMachine's article here http://www.linuxquestions.org/questi...icle&artid=581 and had a couple questions about dd and if I could copy an entire hard disk onto another to create an exact image, partitions, MBR and all on the other disk.

I have 2 80GB SATA disks. One has a Windows XP install and Mandriva 2006 install on it. How can I get an exact copy of that disk onto the other? will dd be able to do it? I want to be able to swap these drives interchangeably. and they must still be bootable once the copy is done.

Maybe there's some other OSS tool that will accomplish what I'm trying to do?

Any ideas?
 
Old 11-14-2005, 06:01 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
dd should do it.

dd if=/dev/hda of=/dev/hdb

And yes there are tools which will do it also, partimage for one.
 
Old 11-14-2005, 09:07 AM   #3
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Original Poster
Rep: Reputation: 30
excellent, if dd can do it, that sounds great. I trust that little command more than I probably should
 
Old 12-21-2005, 08:53 AM   #4
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
Would disk geometry be a problem using dd?
Or do the controllers make them all look the same now?

CollieJim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make and install disk images adidragomir Linux - Software 3 08-05-2005 02:51 AM
What are all the Fedora disk images for? joeman3429 Fedora 4 07-19-2004 03:45 AM
Creating disk images for cf and cds vrillusions Linux - General 2 07-12-2004 10:51 AM
Disk images gdeckler Linux - Newbie 2 08-01-2003 08:07 PM
Disk Images saintt Linux - General 1 08-11-2001 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration