On 8/11/06, Stroller <[EMAIL PROTECTED]> wrote:
    livecd / #  grub
        GNU GRUB  version 0.96  (640K lower / 3072K upper memory)

    grub> find /boot/grub/stage1

    Error 15: File not found

    grub> root (hd0,0)
    Filesystem type is xfs, partition type 0x83

    grub> quit

Y'see, XFS isn't the filesystem of any of the partitions on the
array, but that of the filesystem on the separate EIDE drive. And
it's no good installing GRUB on this, I've tried before. :(

You can try:

echo "(hd0) /dev/ida/disc0/disc" >> device.map
grub --device-map=device.map << EOF
root (hd0,0)
setup (hd0)
quit
EOF

However, the above will only work *if* the RAID array is the first
bootable drive in the BIOS configuration.  If the BIOS insists that
the IDE drive is the first bootable hard drive, and the raid array is
second, then you will need:

echo "(hd1) /dev/ida/disc0/disc" >> device.map
grub --device-map=device.map << EOF
root (hd1,0)
setup (hd0)
quit
EOF

This should install grub to the MBR of the IDE drive, but load the
stage2 and menu.lst from /boot on the raid array.

 From the LiveCD (see first code sample) I was able to address the
drive as /dev/ida/disc0/disc, but not from inside the system - this
doesn't seem to be described in /dev:

    livecd / # ls /dev/ida/
    c0d0      c0d14p9   c0d6      c1d10p9   c1d2     c1d8

Look at  the major and minor numbers of /dev/ida/disc0/disc from your
system with ls -l.  My guess is they will be the same as the
/dev/ida/c0d0 device (c0d0 being short for controller 0, disc 0).

-Richard
--
gentoo-user@gentoo.org mailing list

Reply via email to