Discussion Locked

grub> prompt only

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I installed rh9 as the 3rd os on my laptop (compaq nx9010)--- 2 winXP installs. Linux is on the 3rd primary partition and the swap file is the first logical drive in an extended partition.

When I choose the linux boot, I get to a grub> prompt, and it does not appear that there is much I can do from there.

Does this mean that Grub can't find it's config file? How do I tell it where to find it? Or how can I edit the config file so that I can get linux to boot?

1 reply

by peter whysall

Assuming your kernel is at /boot/vmlinuz and your initrd (should you have one) is at /boot/initrd.img, edit /boot/grub/menu.lst (symlinked to ./grub.conf on RH9) to contain the following:

title Linux
root (hd0,2)
kernel /boot/vmlinuz ro root=/dev/hda3 initrd /boot/initrd.img

if you want to make it boot automatically, add a timeout=X line before the previous text; X is your timeout in seconds before it boots automatically.

This discussion is closed to new replies.