grub no menu
Here is the deal
I had to reinstall windows after I got some virus. I have a dual boot FC 3 and windows XP. So I boot with grub. I reinstalled grub in the following way: grub> root (hd0,1) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,1)/boot/grub/stage2 /boot/grub /grub.conf"... succeeded Done. grub> quit I have /dev/hda3 as / and /dev/hda2 as /boot windows is in /dev/hda1 the problem is that after rebooted I can't get the grub menu, I get the "grub>" prompt. For some reason is not finding the menu.lst file. My menu.lst reads as: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,1) # kernel /vmlinuz-version ro root=/dev/hda3 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=5 splashimage=(hd0,1)/grub/splash.xpm.gz #hiddenmenu title Linuxito (2.6.9-1.667) root (hd0,1) kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda3 rhgb quiet initrd /initrd-2.6.9-1.667.img title Other rootnoverify (hd0,0) chainloader +1 I also copied as "menu.1st" and "grub.conf". I tried removing grub.conf, and reinstall, but for some reason the output shows that find "grub.conf" and that wierd, so maybe I am just doing something incredible stupid, please enlight me :) Paulo |
Quote:
Also, you did the same thing in the grub.conf file... root (hd0,1) kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda3 rhgb quiet Try changing the grub.conf to look like this.. root (hd0,2) kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda3 rhgb quiet or root (hd0,2) kernel /vmlinuz-2.6.9-1.667 ro root=/ rhgb quiet Then run grub> root (hd0,2) grub> setup (hd0) |
root bit is correct i.e he means /boot partition is (hd0,1) => /dev/hda2 where his kernel image and grub stages are located. All he needs is root=LABEL=/
root (hd0,1) kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-1.667.img |
Well That was the original configuration that I changed in the testing process.
i.e. root (hd0,1) kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-1.667.img was changed to (because it didn't work, also I forced LBA on the BIOS for hd0): root (hd0,1) kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda3 rhgb quiet initrd /initrd-2.6.9-1.667.img I downgraded to lilo, even that typing the commands from the grub prompt worked, I needed something that my wife could use to access windows, and I needed it fast. I am still puzzled why grub didn't find the menu.lst file, so I'll experiment over the weekend. Thanks for the suggestions!!! Paulo |
All times are GMT -5. The time now is 06:50 AM. |