Skip to contentSkip to conversation

GRUB-1.96 won't boot, boots into rescue prompt

DISCUSSION Jelle Geerts 3 participants 5 messages Mar 10, 2008 – Mar 11, 2008

lore
Share & tools
lore
#0 lore raw

It's a laptop from Acer. It's the Acer 5633WLMi (the one with a 120GB harddrive):
CPU: Intel Core2 Duo 1666MHz
Motherboard: not sure about this one

I used GRUB-1.96 on ArchLinux before with my own patch to fix a lag in booting up and it worked. I have tried GRUB with and without the patch, neither did work (on Gentoo). While 2 weeks ago on ArchLinux it did.

Output of ls in the GRUB rescue prompt doesn't display anything at all but a newline.

Please CC me in responses.

#1 lore raw
Quoted 5 lines · Jelle Geerts

It's a laptop from Acer. It's the Acer 5633WLMi (the one with a 120GB harddrive):
CPU: Intel Core2 Duo 1666MHz
Motherboard: not sure about this one

Quoted 7 lines

I used GRUB-1.96 on ArchLinux before with my own patch to fix a lag in booting up and it worked. I have tried GRUB with and without the patch, neither did work (on Gentoo). While 2 weeks ago on ArchLinux it did.

Output of ls in the GRUB rescue prompt doesn't display anything at all but a newline.

`lsmod' then.

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
#2 lore raw

Phew, I uninstalled Gentoo and reinstalled Arch so I can't remember for sure what modules were listed :(
I can remember 'ext2' was loaded.

Also, 'insmod normal' resulted in the same "error: unknown device" error.

Quoted 30 lines · Robert Millan
Quoted 5 lines · Jelle Geerts

It's a laptop from Acer. It's the Acer 5633WLMi (the one with a 120GB harddrive):
CPU: Intel Core2 Duo 1666MHz
Motherboard: not sure about this one

Quoted 7 lines

I used GRUB-1.96 on ArchLinux before with my own patch to fix a lag in booting up and it worked. I have tried GRUB with and without the patch, neither did work (on Gentoo). While 2 weeks ago on ArchLinux it did.

Output of ls in the GRUB rescue prompt doesn't display anything at all but a newline.

`lsmod' then.

--
Robert Millan

<GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.)

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw
Quoted 3 lines · Jelle Geerts

Phew, I uninstalled Gentoo and reinstalled Arch so I can't remember for sure what modules were listed :(
I can remember 'ext2' was loaded.

Interesting. If some modules were loaded, then disk access was working initially. But it stopped working at some point. Maybe it was the "ata" module? It should not be loaded by default, but maybe it was loaded for some reason.

Quoted 1 line

Also, 'insmod normal' resulted in the same "error: unknown device" error.

That's not surprising considering that no devices can be accessed.

I normally verify the GRUB installation by running this as root:

qemu -hda /dev/sda

where /dev/sda is the bootable hard drive. It should be safe if you don't try to boot anything. It's even possible to install GRUB 2, test it with qemu and then install GRUB 1 without having to reboot.

Checking with qemu can separate BIOS issues from issues with GRUB 2 itself (wrong module dependencies) and grub.cfg (loading "ata" module).

Signature · 2 lines
Regards,
Pavel Roskin
#4 lore raw

Nice, I'll remember this for future debugging :) As I installed Arch now, everything works as normal again.

Thank you.

Quoted 39 lines · Pavel Roskin
Quoted 3 lines · Jelle Geerts

Phew, I uninstalled Gentoo and reinstalled Arch so I can't remember for sure what modules were listed :(
I can remember 'ext2' was loaded.

Interesting. If some modules were loaded, then disk access was working initially. But it stopped working at some point. Maybe it was the "ata" module? It should not be loaded by default, but maybe it was loaded for some reason.

Quoted 1 line

Also, 'insmod normal' resulted in the same "error: unknown device" error.

That's not surprising considering that no devices can be accessed.

I normally verify the GRUB installation by running this as root:

qemu -hda /dev/sda

where /dev/sda is the bootable hard drive. It should be safe if you don't try to boot anything. It's even possible to install GRUB 2, test it with qemu and then install GRUB 1 without having to reboot.

Checking with qemu can separate BIOS issues from issues with GRUB 2 itself (wrong module dependencies) and grub.cfg (loading "ata" module).

--
Regards,
Pavel Roskin

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel