Hi,
there seem to be a couple of us that have problems with grub loosing
settings while rebooting (noticed on startup) when using software raid.
The problem is that grub (in CentOS4) itself doesn't check the settings
while beeing run and thus fails if you don't give it the correct
configuration. md-devices is not supported by BIOS as you all know.
Anyway, here is a script that seems to fix this problem. It checks
if /boot is a software raid-device as well as check if it's a 4 disks
or other (2 disk) device.
It also writes down a correct grub into the bootblock of all connected
disks.
This happens at shutdown or reboot so rewriting a fresh bootblock is
among the last task the server is doing before going down.
Instructions:
Copy the script to /etc/init.d
and write the commands:
chkconfig --add fix_grub
service fix_grub start
That's all, after that it will work.
Maybe this could be included into base-bluequartz or something?
Best regards,
Rickard
--
Rickard Osser <rickard.osser (at mark) bluapp.com>
BluApp AB
attatchment (application/x-shellscript) ignored