What is the best way to clone a hard drive?

General support questions including new installations
Post Reply
OOsorio
Posts: 4
Joined: 2009/02/03 22:18:43
Location: USA - Miami, FL
Contact:

What is the best way to clone a hard drive?

Post by OOsorio » 2010/07/27 19:58:05

I've tried cloning with dd, Acronis Disc Director, Power Suite and CloneZilla.

Clinezilla is somewhat hard to understand.

The others would not boot after the cloning had completed.

Is there a product out there that will do the clone and properly boot?

Thanks,

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

What is the best way to clone a hard drive?

Post by pschaff » 2010/07/27 20:07:23

Welcome to the CentOS fora. The following reading is recommended for new users:
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url]

Hard to answer your question without more information, such as:

Are the hard drives identical?
Is the partitioning for both drives identical?
Are the systems on which they will be installed identical?

If the answer to all of the above questions is yes, then cloning may be relatively straightforward such as[code]
dd if=/dev/sda of=/dev/sdb[/code]

If not, then things get more complicated. Clonezilla is known to work if properly used. I have no experience with the other products mentioned.

OOsorio
Posts: 4
Joined: 2009/02/03 22:18:43
Location: USA - Miami, FL
Contact:

Re: What is the best way to clone a hard drive?

Post by OOsorio » 2010/07/28 16:45:32

Are the hard drives identical? No. (IDE 80Gb to SATA 160Gb)
Is the partitioning for both drives identical? Yes.
Are the systems on which they will be installed identical? No.

The dd command I used is basically the same.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: What is the best way to clone a hard drive?

Post by pschaff » 2010/07/28 18:54:23

[quote]
OOsorio wrote:
Are the hard drives identical? No. (IDE 80Gb to SATA 160Gb)
Is the partitioning for both drives identical? Yes.
[/quote]
The two statements above comprise an oxymoron. If the drives are different sizes/geometries the partitioning cannot be identical.

[quote]
Are the systems on which they will be installed identical? No.

The dd command I used is basically the same.[/quote]
The simple dd approach cannot work well for you, due to the different drives. I'd study up on CloneZilla and perhaps have a read of [url=http://wiki.centos.org/TipsAndTricks/ReinstallGRUB]TipsAndTricks/ReinstallGRUB[/url] and/or the clone procedure in [url=http://wiki.centos.org/HowTos/MigrationGuide]HowTos/MigrationGuide[/url]. A google on [url=http://www.google.com/search?q=drive+clone+mkinitrd&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&safe=active]drive clone mkinitrd[/url] may also be of interest.

msalmon
Posts: 2
Joined: 2007/04/17 08:23:40
Location: UK

Re: What is the best way to clone a hard drive?

Post by msalmon » 2010/07/28 19:47:20

A recent 'Sector by Sector' cloning app I used was downloaded from [url=http://www.easeus.com/disk-copy/]EASEUS[/url] - dead easy to use, double confirms everything so you don't *mistakenly* end up with a blank drive. very similar to Acronis, even easier to use!!

try it :-D

Post Reply

Return to “CentOS 4 - General Support”