Duplicate hard drive onto bigger drive

Duplicate hard drive onto bigger drive

Post by msanto » Sat, 17 Apr 2004 16:21:08


Hi All,

I've been reading various posts and howtos to see if I can do this,
but I've hit a number of brick walls.

Here's what I want to do:

I have a Mandrake 9.2 installed on an old 10GB hard disk. I would
like to move everything to a new 60GB hard disk without having to
reinstall and such (I have it configured just the way I like it). Of
course, the partition sizes will be different, almost triple of what
they are now.

I tried using Partition Magic 8 in Windows XP to duplicate and resize
the partitions, but apparently PM8 cannot support journalized ext3.
So that was a bust.

I tried the steps listed in this howto:

http://www.yqcomputer.com/

I successfully copy all the old files to the new drive/partitions.
When I try to boot, it just hangs after Lilo loads (all I get are
......... where the bios check should be). I've followed the steps to
modify the lilo.conf but to no avail.

Does anyone know of a nice and easy way to copy old partitions to a
new, bigger drive without losing any data and not having to reinstall?

Thanks,

Mike
 
 
 

Duplicate hard drive onto bigger drive

Post by Victor Naz » Sat, 17 Apr 2004 21:36:55


I think the solution is to copy everything to the new harddrive. Then
get old hard drive out of the PC box and phisically setup your new drive
so that linux patation will be the same device for the linux kernel as
it was on the old hard drive (I consider it to be the most difficult
step, but with some foresee it can be achieved).
Then boot your computer from some rescue disk (You can use CD's of most
distros). Mount somewhere you new boot partation. Then
$ chroot /some/where
$ /sbin/lilo
And finally try to boot your copied system.

 
 
 

Duplicate hard drive onto bigger drive

Post by msanto » Tue, 20 Apr 2004 12:33:37


I just wanted to let everyone know that I was able to successfully
copy over my old drive to a new, bigger drive. I used the steps in
the Hard-Disk-Upgrade howto. I then inserted my Mandrake 9.2 install
cd and booted to that. I went to the repair option (under F1) and
then rebuilt Lilo. Everything is peachy now.

Thanks to everyone who helped.

-MiKE-