grub doesn't show boot menu, just goes directly into Linux ?
Fedora 13 = Primary Master drive
Windows XP = Secondary Master drive I installed Fedora 13 from a cd. Here's my fdisk: Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Disk /dev/dm-2: 28.2 GB, 28152168448 bytes 255 heads, 63 sectors/track, 3422 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-2 doesn't contain a valid partition table Here's my /boot/grub/grub.conf: # 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,0) # kernel /vmlinuz-version ro root=/dev/mapper/vg_bryan-lv_root # initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=0 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.33.6-147.2.4.fc13.i686) root (hd0,0) kernel /vmlinuz-2.6.33.6-147.2.4.fc13.i686 ro root=/dev/mapper/vg_bryan-lv_root rd_LVM_LV=vg_bryan/lv_root rd_LVM_LV=vg_bryan/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet initrd /initramfs-2.6.33.6-147.2.4.fc13.i686.img title Windows XP rootnoverify (hd0,1) my grub/menu.lst is the same as /boot/grub.grub.conf Thanks. |
Change the timeout value and comment out the hiddenmenu line:
Code:
# grub.conf generated by anaconda |
Agree with brucehinrichs and the menu.lst file you see is a link to the grub.conf file
|
Thanks, Bruce.
Changing the timeout and commenting out the hiddenmenu works. Last time I got the grub menu, but when I went to Windows XP, there's an Error 13. Hope I don't get it now. I will try to get into Windows XP now and see what happens. |
New problem:
Using Grub menu doesn't boot into Windows XP, clicking on Windows XP just gets a blank screen, then gets me back to the Grub dualboot menu, not Windows XP? Using F12 at the splash screen and selecting Primary Slave Drive does work and boots into Windows XP. Should I use mapping/remapping? Thanks. |
You are missing
Code:
chainloader +1 Quote:
|
Now I get the grub menu with WinXP, but when I click and tried to load it, there's an Error 13: Invalid or unsupported executable format. I have no idea what else could be wrong. I already added the line
chainloader +1 but still get this problem. Thanks. |
UuuuPSsss, I missed your XP is on the slave drive (top of the first post). In that case you have to use
Quote:
Quote:
If this does not help. thy adding from this: Quote:
|
Tried this:
title Windows XP map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) rootnoverify (hd1,0) makeactive chainloader +1 but I get Error 21: Selected disk does not exist. I'll try: title Windows XP root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1 later and see what happens. |
I tried:
title Windows XP root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1 And now: I get Error 21: The selected hard drive does not exist[Windows XP hard drive: Primary Slave drive], plus I get all three OSes selections: old version of Fedora, new version of Fedora & Windows XP. |
What about clean code like this:
Code:
title Windows XP Code:
title Windows XP One other thing crossed my mind. Take a look at /boot/grub/device.map file. I believe you need one extra row for "hd1". Since you added HDD later, grub might not have it in device map file and even my previos examples might work out of the box after you fix device.map file. |
tried the rest of the posts, but none worked: Everything says "Error 21: The selected hard drive does not exist"
|
Sorry did not see it was marked solved.
|
I initially thought the problem was solved. I kind of did things too quickly. It still is NOT solved.
|
I have read the posts and I am confused. In fedora from terminal as root run command fdisk -l and post the results. Your original grub menu has XP on the second partition of the primary drive but above you say it is on slave.
|
All times are GMT -5. The time now is 07:17 AM. |