Hello,

I am having some trouble getting GRUB configured to boot from a software RAID 
device.  The documentation seems to indicate that software RAID devices are 
supported and I've found posts indicating that people have it working, so at 
least I don't think I'm trying to do the impossible.

I have a mirrored software RAID device, /dev/md0.  It is composed of /dev/sda1, 
and /dev/sdb1, with /dev/sdc1 as a spare-disk.  My /boot/grub/device.map is:

(fd0)  /dev/fd0
(hd0)  /dev/sda
(hd1)  /dev/sdb
(hd2)  /dev/sdc
(hd3)  /dev/sdd

When I run /sbin/grub-install, I get:

[root@pegmatite grub] /sbin/grub-install /dev/md0
/dev/md0 does not have any corresponding BIOS-drive.

I tried changing (hd0) from /dev/sda to /dev/md0 but that didn't work because 
/dev/md0 really isn't a BIOS device.  So I'm not sure how to get GRUB to 
install on a mirrored software RAID device.  I thought it should just work but 
the Red Hat installer script couldn't make it work and now neither can I.

I'm sure there's a large element of user error here, since I'm experiencing 
this problem on two different machines (a Dell PowerEdge 1300 machine that I 
use as a workstation at work and a custom built machine, using an EpoX MVP3G-M 
motherboard).  Aside from potentially buggy BIOSes on both machines, the only 
commonality is me :)

My grub.conf is:

boot=(hd0,0)
default=3
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
password --md5 XXX
title Red Hat Linux (2.4.17-0.1smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.17-0.1smp ro root=/dev/md0
    initrd /boot/initrd-2.4.17-0.1smp.img
<other images>

What am I missing?



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to