One last question ... how can use the swap partitions on both /dev/hda8 and /dev/hdc8? I did _not_ put the swap partitions in a RAID setup. Should I simply list both swap partitions in /etc/fstab? Thanks.
Richard --- Richard Weil <[EMAIL PROTECTED]> wrote: > It took a little bit of experimenting, but the basic > steps you laid out worked. Success! > > For anyone else who might want to try this, I found > I > had to do two things differently: > > 1. I had to use mkraid instead of raidstart to get > the RAID devices working on /dev/hdc. > > 2. After copying root and /boot over to the > /dev/md1 > and /dev/md0 and following the steps in the howto, I > couldn't get the system to boot on the RAID -- it > kept > booting on /dev/hda. So, after making sure all of > root > and boot was on the RAID devices, and updating the > /etc/fstab and Lilo on the RAID devices, on reboot, > at > the Lilo boot prompt, I said "root=/dev/md1" and > that > worked -- into the RAID device I went. Then I > followed > the other steps of adding the /dev/hda partitions. > > Thanks for the help. > > Richard > > --- Dave Sherohman <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 22, 2002 at 04:28:46PM -0800, Richard > > Weil wrote: > > > Thanks, this is great. A couple of follow-up > > > questions: > > > > > > 1. How do I get to single user mode without > > rebooting? > > > (I know I should already know this.) > > > > init 1 > > > > > 2. Do I need to do anything special to copy the > > > partitions from /dev/hdaX to /dev/mdY? Once I'm > in > > > single user mode can I just "cp -R /dev/hdaX > > > /dev/mdY"? > > > > You definitely do _not_ want to just run cp -r; > that > > would destroy > > all of your file ownership and permission > settings. > > cp -a is better, > > since it preserves those, but I'm not sure how > well > > it handles links > > and device files. Not well, I suspect. > > > > > - create /mnt/newroot > > > > > > - then: > > > > > > cd / > > > find . -xdev | cpio -pm /mnt/newroot > > > > This is a much saner option. Personally, I mount > > the device directly > > on /mnt, then use: > > > > find . -xdev -print0 | cpio -pvdm0 /mnt > > > > If the other version came from the HOWTO, I > suppose > > it should work, > > but it could have problems with filenames > containing > > spaces or > > certain other odd characters (prevented by the > > -print0 / -0). The -d > > on cpio ensures that leading directories will be > > created, which is > > mostly just paranoia in this case, and -v is the > > ever-popular verbose > > flag, because I like to see what it's doing. > > > > -- > > When we reduce our own liberties to stop > terrorism, > > the terrorists > > have already won. - reverius > > > > Innocence is no protection when governments go > bad. > > - Tom Swiss > > > > > > -- > > To UNSUBSCRIBE, email to > > [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED] > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Sports - Coverage of the 2002 Olympic Games > http://sports.yahoo.com > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com