grub install/setup oddity

Mark J Strawcutter mjstraw at iup.edu
Thu Sep 29 18:40:53 UTC 2005


>> In grub shell did:
>> 
>> device (hd0) /dev/sdb
>> root (hd0,0)
>> setup (hd0)
...
> This is a BIOS weirdie.  In BIOS, the first bootable drive is given the
> BIOS device value of 0x80.  The second drive is 0x81 and so on.  The
> problem here is that you've set things up to boot from /dev/sdb (BIOS
> drive 0x81) but the BIOS still wants to use device 0x80 (/dev/sda).
> 
>> Any suggestions what to try?  Thanks
> 
> Take a look at the "--device-map" options in grub to see how to fix the
> mapping.

the --device-map and /boot/grub/device.map do the same thing
as the device command.

My thought was that when I had to boot off of what is usually sdb it
would be sda (or hd0 in grub parlance).  I go into the scsi setup
and the bios setup and reverse the order before booting - and
get dumped into grub.

Some progress since posting this - I broke the raid set, zeroed the
superblock on sdb, repeated the setup as per above, and now
it boots normally.  The next step is to add it back into the raid set
and see if it still boots :-)

Mark




More information about the Redhat-install-list mailing list