huangwason
Programmer
Initially I had XP system, and I installed Fedora 11 using live cd, after installation, I do not see XP boot menu, after changing /boot/grub/menu.lst a little, Grub menu appears, but every time I select XP, system still in grub and can not boot to XP.
My menu.lst
and the result of fdisk -f
How can I add XP boot menu to Grub, thanks in advance
My menu.lst
Code:
# 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/mapper/VolGroup-lv_root
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.29.4-167.fc11.i586)
root (hd0,1)
kernel /vmlinuz-2.6.29.4-167.fc11.i586 ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
initrd /initrd-2.6.29.4-167.fc11.i586.img
title Window XP
rootnoverify (hd0,0)
makeactive
chainload (hd0,0) +1
and the result of fdisk -f
Code:
[root@localhost /]# fdisk -l
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8dc044c2
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5140 41282482+ c W95 FAT32 (LBA)
/dev/sda2 5140 5153 102400 83 Linux
/dev/sda3 5153 6335 9500672 8e Linux LVM
Disk /dev/dm-0: 1048 MB, 1048576000 bytes
255 heads, 63 sectors/track, 127 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8678 MB, 8678014976 bytes
255 heads, 63 sectors/track, 1055 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
How can I add XP boot menu to Grub, thanks in advance