On 6/18/05, Francisco Perez <[EMAIL PROTECTED]> wrote:
>  From what I can tell on the docs, Grub doesn't describe them by bus
> (sd,hd etc), it just describes them by the order from the bios and calls
> them all 'hd', no matter what the bus is.  I could see how that could be
> a pain if you had say IDE drives and SATA drives or multiple RAID cards
> etc.  In my case I have a single 3Ware RAID card with a single array so
> its was just (hd0,0).  The funny thing is that the error is misleading,
> the error says its expecting a number, which is why I didn't think the
> parser barfed at the 's' because it wanted an 'h'.
> Frank

I believe this is true, although I have no experience with grub on
anything that isn't a PATA drive.  The grub-install script will give
output describing which devices are mapped to what names in grub (I'm
usually a LILO guy, but decided to experiment during this install). 
Here's an example from my system:

-- SNIP --
entropy ~ # grub-install /dev/hdb
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/floppy/0
(hd0)   /dev/ide/host0/bus0/target1/lun0/disc
(hd1)   /dev/ide/host0/bus1/target0/lun0/disc
(hd2)   /dev/ide/host0/bus1/target1/lun0/disc
-- SNIP --

I found this output to be very handy when I was first installing grub
as it allowed me to verify that I'd gotten everything down correctly. 
This information is also stored in /boot/grub/device.map .

-- 
[email protected] mailing list

Reply via email to