PDA

View Full Version : grub


tgone
2006-04-19, 12:41 AM CDT
Hello,

I installed Fedora 5 on my laptop with no problems (it is the only OS installed). When I start my computer it loads grub and displays the prompt. I tried typing 'boot' but that doesn't work. What do I have to do in order to make Fedora start automatically?

Seve
2006-04-19, 12:50 AM CDT
Hello:
Likely...all you need to do is re-install grub.
Boot from the install disc and choose F5 and then type linux rescue...and follow the instructions on the screen and when you get to the command line type chroot /mnt/sysimage ..enter. Then type fdisk -l ..enter to confirm what type of hard disk you have [whether SATA or PATA] you should see something like /dev/hda if a regular IDE drive or /dev/sda if a SATA drive.
Then at the command line type grub-install --recheck /dev/hda or sda [which-ever applies]....type exit twice and reboot and you should be good to go. If this doesn't work post back.

hth
Seve

tgone
2006-04-19, 01:02 AM CDT
ok, I ran fdisk -l and here's what I get:

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4864 38965657 8e Linux LVM

Does that seem weird to you? Should I have installed Linux on hda instead of hda2?

Thanks for the help!