PDA

View Full Version : Booting with grub



mercury
17th July 2004, 07:43 AM
Hi!
I've sort of crashed my machine and now I cannot boot back into Fedora, installed on hda5. So I booted with FC2 rescue cd. Then I went into rescue mode and started grub. Then, in grub, I wrote the following lines:

root (hd0,4)
kernel /boot/vmlinuz-2.6.7-1.478 root=/dev/hda5 ro
initrd /boot/initrd-2.6.7-1.478.img
boot

After I issue the boot command, grub just exits. No errors or warnings what so ever. However, it does detect partition and kernel correctly. So how do I boot into my installation with grub? Any ideas? I could just reinstall fedora, but I would really like to learn how to boot with grub manually.

George

carbo18
17th July 2004, 08:08 AM
root (hd0,4)
kernel /boot/vmlinuz-2.6.7-1.478 root=/dev/hda5 ro
boot

Just to clarify...
From this entry in grub you are stating that /boot resides on hda5. Is this correct?
You are loading / as readonly(ro). (Seems odd to me...) Is this what you wish to do?

here is my entry in my /boot/grub/grub.conf


title Fedora Core (2.6.6-1.435.2.3)
root (hd0,1)
kernel /vmlinuz-2.6.6-1.435.2.3 ro root=/dev/hda3 rhgb quiet
initrd /initrd-2.6.6-1.435.2.3.img

mercury
17th July 2004, 08:29 AM
Thanks, but it still does the same thing. My entire fedora is installed on hda5 ( /boot is also on hda5 ). I've tried changing parameters of kernel ( rhgb, quiet and ro ), but boot command still doesn't do anything but quit. So any ideas? Do you thing that if I made a boot floppy the resoult would be different?

George

carbo18
17th July 2004, 08:52 AM
I don't use the boot command that you use in my grub.conf