Skip to contentSkip to conversation

Problem booting grub2: can't find fd1

DISCUSSION Sander Marechal 1 participant 2 messages Aug 8, 2008 – Aug 10, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I have a brand new server: A Dell PowerEdge T105 Quad Core AMD64. I installed it with Debian Lenny, which installed Lilo as a bootloader. I installed grub2 manually:

grub-install /dev/sda
update-grub

When I boot I get dropped into a rescue shell because grub can't find fd1. The output of ls:

(linuxvg-boot) (linuxvg-root) (linuxvg-swap) (hd0) (hd0,1) (hd0,2) (hd0,3) (fd0) (fd1)

Thing is, my server has no floppy drive. It has one had disk containing two small Dell partitions and a big partition that is the PV for my LVM volume group "linuxvg". And it contains a DVD-ROM drive. No floppy drive. I even disabled the floppy controller in the BIOS.

I am able to boot Debian by entering the boot commands manually:

Quoted 2 lines

insmod linux
linux (linuxvg-boot)/vmlinuz-2.6.25-2-amd64

root=/dev/mapper/linuxvg-root ro

Quoted 2 lines

initrd (linuxvg-boot)/initrd.img-2-6-25-2-amd64
boot

What can I do to fix this issue?

Yesterday on #grub marco_g suggested that I try grub-legacy to see it it has the same fd1 problem. I can't install grub-legacy because it does not support having /boot on LVM, so I will need to test grub-legacy with a rescue image. Unfortunately I don't have a floppy drive so I can't try the grub legacy disk image supplied by the grub-disk package. I do have grub-rescue-cd but that's grub2, not grub-legacy.

Does anyone have a grub-legacy rescue CD iso I can use to see if grub-legacy has the same problem as grub2?

Kind regards,

Signature · 1 line
Sander Marechal
#1 lore raw
Quoted 7 lines · Sander Marechal

When I boot I get dropped into a rescue shell because grub can't find fd1. The output of ls:

(linuxvg-boot) (linuxvg-root) (linuxvg-swap) (hd0) (hd0,1) (hd0,2) (hd0,3) (fd0) (fd1)

Thing is, my server has no floppy drive.

Thanks to Felix Zielcke it's now working. He made .debs of the gurb2 trunk from 2008-08-09. That version still has the same problem, but it no longer forces me into the rescue shell. When grub starts, I quickly see two errors that fd0 and fd1 cannot be found, but then the grub menu starts normally and I can boot my machine.

I was running the Debian Lenny version of grub2 (that's 24-5) so somewhere between these two versions there was a change that ensures grub2 keeps going even when it cannot find some devices.

Will that change be put into Debian Lenny as well?

Signature · 1 line
Sander Marechal