![](https://seccdn.libravatar.org/avatar/82c736e2a6d33a3618c97c928642f703.jpg?s=120&d=mm&r=g)
thanks for all the help but I haven't found anything related to
running grub with a RAID configuration. I've seen things mentioning
it but comments that follow it stating that is complicated to get
going and that lilo works better.
Granted, finding recent articles on this subject have not been that easy...
thanks
glenn
On Fri, 23 Jul 2004 12:02:15 -0400, Louis Richards
Glenn Hancock wrote:
<SNIP>
I tried to go into rescue mode but as usual SUSE doesn't explain how to do anything in rescue mode so now i"m not able to figure out how to mount my / partition to check my lillo settings or to do anything else for that matter.
I can't believe that a task that is so simple for everyone else could be this difficult. Actually setting up the RAID proved very simple but the testing of the RAID is where the problems are coming in. I'm beginning to wonder how many people out there are running RAID and never tested what would actually happen if a drive died.
Any help as usual is appreciated but still in the (or worse) fix...
cybercrypt
When you get to the login prompt in the rescue system just type root and hit enter. Next you need to create a directory to mount your existing system.
mkdir /mnt/temp
Then mount your system there.
mount /dev/hda3 /mnt/temp
Of course, the above partition may not be the same as yours. Just change it if needed. you can use fdisk to check out your partitions.
fdisk /dev/hda
The use the "p" command to list the available partitions and the "q" command to exit.
If you have a separate boot partition you will need to mount it as well.
mount /dev/hda2 /mnt/temp/boot
Then do a chroot.
chroot /mnt/temp
Now check the settings in /etc/lilo.conf, /etc/fstab, /etc/raidtab and run lilo. Hopefully this will get you back up and running.
Now ... if it were me ... I would switch to grub if you can get your system back up.
Once the system is up, install the grub software and then install grub on both MBRs like this:
grub
Grub>device (hd0) /dev/hda Grub>root (hd0,0) and then: Grub>setup (hd0)
Grub>device (hd0) /dev/hdb Grub>root (hd0,0) and then: Grub>setup (hd0)
quit
Now that grub is on both drives just add an extra entry in menu.1st like this:
title Linux [MIRROR] kernel (hd1,1)/boot/vmlinuz root=/dev/md2 vga=0x317 splash=silent desktop resume=/dev/md3 showopts initrd (hd1,1)/boot/initrd
This is just a copy of whatever you have for linux already but changing the drive number in parenthesis.
Depending on how your motherboard's BIOS handles a failed drive, you may or may not need the second entry to boot.
HTH, Louis
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com