switching hard drives
Michael Hipp
Michael
Mon May 17 11:57:01 PDT 2004
David A. Bandel wrote:
> 1. stick the new drive in (properly jumpered)
> 2. fdisk and format w/ XFS (or reiserfs or ext3) the partitions you want
> to use (plus a swap partition, formatted w/ mkswap)
> 3. mount the new drive on /mnt (note, if you want to use mounts, like
> /usr on a different partition than /, you'll need to create usr and
> mount the other partition first)
> 4. tar (or cpio) from one drive to the other
> 5. cd to /mnt/etc and adjust fstab
> 6. adjust lilo.conf and run /mnt/sbin/lilo -r /mnt
> 7. reboot into second system
>
> There are a few more steps if you're actually going to remove the first
> (old) drive and replace it with the new drive.
>
> There are other ways to do this. And if you're going to just replace
> the hard drive, I suggest looking into MondoRescue
> (http://www.mondorescue.org/about/about.html). It's easier than the
> above.
Perhaps you could write this in a SxS with a bit of added verboseness
and including Andrew Gould's and Net Llama's suggestions.
Then we could refute the idea that this list is dying and I could stop
sobbing at the very mention of such.
Michael
More information about the Linux-users
mailing list