the regex in the grub-install script doesn't currently support the device. so the first change needs to be there. once thats done. (patch attached) you then need to see what grub gets up to. can you also try doing the install from the grub shell rather than using grub-install. then we can figure out where to go from there. some debugging may be in order which is probably over my head. can someone apply the patch to cvs, thanks. On Tue, Aug 21, 2001 at 07:12:59AM +0200, Adrian Phillips wrote: > >>>>> "Jason" == Jason Thomas <[EMAIL PROTECTED]> writes: > > Jason> well not sure exactly, but a debian user reported a bug > Jason> trying to setup with one of these. I don't have one but > Jason> tried to duplicate the problem using a fake device, and > Jason> grub didn't like it. I created the device and set my root > Jason> partition to mount from it and rebooted and then tried to > Jason> do a grub install from the grub shell which didn't work. I > Jason> didn't keep the output. > > Jason> I can go through this again I suppose or anyone on list > Jason> have a DAC960 raid controller working or not working that > Jason> would like to do some testing. > > Morning (for me at least :-) Jason, > > I've currently got an empty machine with a DAC960 which I've just > tried to add grub to without success (grub-install cannot find > corresponding BIOS device). I haven't a lot of time but am willing > over the next few weeks to find some time to look at this. > > Okay, I can't get through to the archives at the moment so am unsure > what the original problem and possible solution was. Can you refresh > my memory ? > > Sincerely, > > Adrian Phillips > > -- > Your mouse has moved. > Windows NT must be restarted for the change to take effect. > Reboot now? [OK] -- Jason Thomas Phone: +61 2 6257 7111 System Administrator - UID 0 Fax: +61 2 6257 7311 tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/
diff -ur grub.orig/ChangeLog grub/ChangeLog --- grub.orig/ChangeLog Wed Aug 8 18:00:01 2001 +++ grub/ChangeLog Tue Aug 21 17:58:57 2001 @@ -1,3 +1,8 @@ +2001-08-21 Jason Thomas <[EMAIL PROTECTED]> + + * util/grub-install.in (convert): Recognize the naming scheme + for DAC960 hardware raid controller. + 2001-08-08 OKUJI Yoshinori <[EMAIL PROTECTED]> From Derrik Pates <[EMAIL PROTECTED]>: diff -ur grub.orig/util/grub-install.in grub/util/grub-install.in --- grub.orig/util/grub-install.in Fri Jul 13 21:51:24 2001 +++ grub/util/grub-install.in Tue Aug 21 17:57:02 2001 @@ -78,11 +78,13 @@ linux*) tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \ -e 's%\(fd[0-9]*\)$%\1%' \ - -e 's%/part[0-9]*$%/disc%'` + -e 's%/part[0-9]*$%/disc%' \ + -e 's%\(c[0-7]d[0-9]*\).*$%\1%'` tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \ -e 's%.*/fd[0-9]*$%%' \ -e 's%.*/floppy/[0-9]*$%%' \ - -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'` + -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \ + -e 's%.*c[0-7]d[0-9]*p*%%'` ;; gnu*) tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`