Operating System - Linux
1825049 Members
3051 Online
109678 Solutions
New Discussion юеВ

help with grub on proliant 1600

 
K.C. Chan
Trusted Contributor

help with grub on proliant 1600

Getting the following error when I've tried to install grub on a proliant 1600 running rh7.2:
grub-install /dev/sda
/boot/grub/device.map:11: error: Bad device number
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/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
(hd4) /dev/sde
(hd5) /dev/sdf
(hd6) /dev/sdg
(hd7) /dev/sdh
(hd8) /dev/sdi
(hd9) /dev/sdj

output of df:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 3.6G 3.2G 274M 93% /
/dev/sda1 38M 16M 20M 43% /boot

Any idea, why grub fail to install. BTW the what key stroke do I hit to get into the Bios Setting for Compac PC? F10? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
4 REPLIES 4
nikolaii
Advisor

Re: help with grub on proliant 1600

Hi, about BIOS in Proliant Servers : there is no common BIOS like in your PC. At system boot, you should be able to hit the F9 key, for "Rom utility" or F10 for "Partition System utility", where you can setup your server. If not, then you must rebuild the System Partition from Compaq, with SmartStart or Compaq Diskette (SCU, I think). It's then easier to setup.
But for Grub, I have no idea. I own a Proliant 1500 with Debian and Lilo, and never tried Grub, so it's not easy for me to help you. What have you for hard disks ? Array ? or singles scsi drives ?
You can maybe check this link, about Linux and Proliant 1500. It's not 1600, but can be similar ! : http://www.joelschneider.net/compaq_proliant_1500_debian_potato.html
Have fun !
Mark Bainter
Advisor

Re: help with grub on proliant 1600

I'm not sure about grub-install off the top of my head. I usually just use the grub shell:

grub
root (hd0,0)
setup (hd0)

This sets up grub as the default bootloader. From there, I put my various linux boot sections in the menu.lst file and add in one for the compaq system partition like so:

title=Linux
root (hd0,0)
kernel hd0,0)/vmlinuz root=/dev/cciss/c0d0p3
initrd (hd0,0)/initrd.gz

title=Compaq System Partition root (hd0,2)
chainloader +1

Note that I'm using devfs, and the cciss driver. Under those conditions, at boot time when grub is looking it will find the driver at the above path, even though once the system boots if you go through that structure you'll find /dev/cciss/disc0/part3. If you're not setup this way that might not be the correct root path for you to put in.

Since I built cciss as a module I also had to make an initrd for loading it at boot time.

Oh, and the root= goes on the same line as kernel. (That's what the \ means at the end of the kernel line above...but just in case someone reading this might not be familiar with that syntax I wanted to clarify it.)
Jarle Bjorgeengen
Trusted Contributor

Re: help with grub on proliant 1600

Hi,

have you tried rebooting ? Don't you get into the grub menu ?

The map looks OK.

Don't know why it complains about the device map. It might be OK though.

Rgds Jarle
Jerome Henry
Honored Contributor

Re: help with grub on proliant 1600

Try
grub-install --force-lba /dev/sda.
Could fix things if your BIOS doesn't anounce to support lba.
hth
J
You can lean only on what resists you...