Hi,
I've got a new server with one DVD drive and 6 SATA2 drives. When I installed CentOS 5.1 in December, I set up RAID1 on /boot for sda1 and sdb1, with sdc1, sdd1, sde1, and sdf1 as hot backups. I created LVM for /, /var, and /home, and everything was working great, until sda1 died (it was a brand new Seagate Barracuda).
I thought I would get an automatic failover to sdb1, but apparently, I did something wrong. I tried booting into rescue mode and changing things around, so that hd0 was dev/sda1 (the new sda1, since I removed the bad drive) in device.map for grub. I tried keeping /dev/md0 as the boot device (I even changed it so that sda1 was the only disc in the RAID).
I eventually used fdisk to change sda1 to a Linux (as opposed to Linux RAID) and changed my fstab to look for /dev/sda1 as /boot, instead of /dev/md0 (I put a '#' in front of the /dev/md0 declaration and created a new line with /dev/sda1).
In each of these cases, I found that my computer would get past "Boot from CD:", and get stuck after "GRUB" appeared just once at the bottom of the screen (under the "Boot from CD:" line).
Any suggestions? I have spent more than a day on this, and I am ready to tear out my hair!
Thanks in advance!
Update:
I found the solution. After reading this
http://lists.us.dell.com/pipermail/l...ly/008898.html, I realized that I needed to install grub into the MBR of all of my drives (this should also allow the system to reboot if my first drive goes again). So, basically, by using "linux rescue" then chroot /mnt/sysconfig, I was able to go into grub, then
Grub>device (hd0) /dev/sdb
Grub>root (hd0,0)
and then:
Grub>setup (hd0)
I then repeated this for all of the drives in the array, rebooted, and voila!