Cameron MacDonald wrote:
> I've just received my replacement Maxtor hard drive (the old one is
> still kicking), and I'm wondering what is the best way to go about
> switching over.
> I've read some HOW-TOs and read through some forum posts, but none seems
> to be what I'm looking for (or else it's just ME that can't make
> complete sense of them). One of them that seems thorough is this:
> 
> http://www.faqs.org/docs/Linux-mini/Hard-Disk-Upgrade.html
> 
> I may have some corrupted data due to the problems with the old
> drive--most likely something to do with the journaling, so I don't want
> to move that over. I'd like to preserve my settings and preferences for
> apps and such, e.g. Mozilla.
> Does anyone know of a good HOWTO for 10.2 that deals with moving a Linux
> system to another drive, or has anyone done it and can relate the steps?
> I am not averse to just reinstalling if that's the easiest, but I'd love
> to get my feet wet (all the way up to my ears probably) trying this first.
> What about G4L--Ghost for Linux? Anyone have experience with it?
> 
> Thanks for any input!!
> 
> Cameron
>
I have not tries the "Click 'n 'Clone option, but it should be what you
need here. If you do the "raw" mode, you will have to run e2fsck on the
new drive to clean up the transfered corrupted journal. You may also
have problems when it hits the unreadable sectors...

The bad sectors, and the corrupted journel may also give you problems
with the filesystem mode. these are things I have not been able to test,
as I lack a drive like the one you are replacing to test it on. So it
may be worth while to try it, just to see how the program handles it.

What you may want to do is partition the new disk to match the old one,
and then copy over the good partitions first. (Except for the swap
partition - use mkswap to format the new one...) then you can try to
copy the bad partition the same way. If it works, great. If it doesn't,
then there are a couple of ways to copy things over. You will want to
boot with a "live" CD, and then use something like rsync, tar, or cp -a
to copy the files over. I have have a list of a bunch of different ways
filed away someware. But I usualy just fire up Midnight Commander (mc)
and use it to do the copy. (I have to find the list, and post it on
TWiki...) I am not going to try and get the syntax of the different copy
commands right today - I would goof it up!

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to