[CentOS] transfer data from one hard drive to another

Fri Oct 6 19:32:48 UTC 2006
Max H. <btmanmeh at verizon.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joseph Cheng wrote:
> Hello I have an OS installation and data on a 40 gb drive that I would
> like to image to a 80 gb drive. I don't care if the resulting
> partition layout on the new drive is only 40 gb making me lose space.
> I just want to move everything from the older drive because I think
> it's failing. I have looked at partimage and mondo rescue as imaging
> solutions but both deal with partitions. CAn someone plz point me to a
> howto that shows how to image the entire drive incuding mbr, partiton
> table and data all with one program? I am hoping to boot with a CD to
> do this while having both drives plugged in. So I think something like
> knoppix? TIA!

Either boot into knoppix and use dd if=/dev/hda1 of=/dev/hda2 plus
whatever other arguments you want passed, or checking out Ghost 4 Linux
(G4L). I'm not sure if G4L requires you to have to identical sized
drives though.

http://sourceforge.net/projects/g4l

Max

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFFJq9gHoeeepPau2ERAjHSAJ9NlAXk8dJN1+yo89+F8LHG0yXjHwCgvQ3S
snAXuJPE3sCrDOOrsOj8+74=
=1hil
-----END PGP SIGNATURE-----