Bug#506263: Installation report - grub failed when installing from hd-media
Boot method: USB memory stick with businesscard.iso + firmware.tar.gz
Image version: http://cdimage.debian.org/cdimage/lenny_di_rc1/i386/iso-cd/debian-testing-i386-businesscard.iso + http://ftp.nl.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/boot.img.gz
Machine: HP ProLiant something (new server)
Processor: Some kind of 4-core Xeon (or 2-core + HT?) 2.5ghz
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p7 32G 1.1G 29G 4% /
/dev/cciss/c0d0p1 942M 26M 869M 3% /boot
/dev/cciss/c0d1p1 539G 198M 539G 1% /export
/dev/cciss/c0d0p5 63G 181M 59G 1% /home
/dev/cciss/c0d0p8 32G 520M 30G 2% /var
(The HP SmartArray RAID controller was set up with one "RAID1+0" volume
and another "RAID6" volume)
Output of lspci -knn (or lspci -nn):
Sorry, I don't have access to the machine at the moment
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect CD: [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [O]
Install base system: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Install tasks: [O]
Install boot loader: [E]
Overall install: [O]
GRUB 1.x fails to boot from hard drive after installer reboots;
hangs after the BIOS prints "Booting from hard drive" (absolutely no
GRUB messages or anything).
Re-inserting the USB stick with the installer and rebooting
causes the machine to boot successfully from HD. (HD has higher boot
priority than USB memory stick, so the contents of the USB stick is
It appears that the presence of an USB stick during GRUB install
confuses GRUB about its whereabouts. I believe the contents of
/boot/grub/device.map was something like this:
(unsure about the last two lines as this is from memory, but they
definitively listed something about /dev/cciss)
also /boot/grub/menu.lst had an entry "root (hd1,0)"
/dev/sda is of course the USB memory stick.
So, the first stage grub loader looks for itself on the second
"hard drive" (hd1), which only works when there's an USB stick present
during boot to take up the (hd0) slot.
To get the machine booting without requiring the memory stick being left
in an USB port, I edited /boot/grub/device.map and removed the
"/dev/sda" entry, and corrected the /dev/cciss entries to start with
(hd0...something?) Also changed /boot/grub/menu.lst to contain "root
(hd0,0)", then ran update-grub, and finally 'grub-install (hd0)', IIRC.
Sorry for not having the exact details about everything, but as I
mentioned I don't have access to the machine at this moment.
Also, the network cards required bnx2 firmware debs on the memory stick.
It'd be helpful if the installer could include an URL to the
firmware.tar.gz and/or pointers to the appropriate section of the
installation manual for how to include those files, when it puts up the
error message about missing firmware.