Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can not boot to XP after Fedora installation

Status
Not open for further replies.

huangwason

Programmer
Oct 10, 2006
21
DE
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
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
 
Fedora uses the legacy GRUB v 0.97, even in version 13.

I don't think the bootloader has installed correctly, and XP can't boot because the MBR has been overwritten by GRUB.

I would try to install GRUB2, which should probe for any existing OS and then set up the bootloader. GRUB2 carries the warning that it is beta software, albeit stable.

(System, Administration, Add/Remove Software, and search for GRUB2)

The GRUB boot menu should now chainload into GRUB2 transparently, so you may see windows XP at the foot of the boot menu.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top