Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have Windows XP and Gentoo Linux installed on my PC, and I am experiencing a problem booting into XP. I have both Windows XP and Gentoo set up in my grub.conf, and I can boot into Linux, but whenever I select Windows XP from the Grub menu, I just get returned back to the Grub menu, and it doesn't load Windows. I'm fairly sure I have everything set up correctly with Grub.. My partition table is as follows:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6922 55600933+ 7 HPFS/NTFS
/dev/hda2 6923 7053 1052257+ 82 Linux swap
/dev/hda3 7054 11606 36571972+ 83 Linux
/dev/hda4 11607 19929 66854497+ f W95 Ext'd (LBA)
/dev/hda5 11607 19929 66854466 b W95 FAT32
title=Gentoo Linux 2.6.9-r1
kernel /boot/kernel-2.6.9-gentoo-r1 root=/dev/hda3 vga=792
I set up Grub in the MBR of my hard drive. I don't see where the problem lies in my configuration..??
Originally posted by Nightfox
First of all, title is not followed by a '='(whats it called in english anyway?). So it sould be 'title Windows XP'. And now let me quote from `info grub`:
# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
mmmh and no error message? I cannot tell where the problem lies, I would first of all try to install GRUB on a floppy, if this does not help try to reinstall GRUB then try if it works using lilo and if everything fails try to reinstall first only Windows and then Windows and Linux
The Grub Multiboot Howto helped me when I had the problem of adding Windows XP to GRUB maybe it helps you too.
While at the menu timer countdown, read the prompts it says press C for commands lets do so as you can do no harm
1) commands are the same as posted but you have yet to do all at same time?
rootnoverify (hd0,0) # press enter
makeactive # press enter
chainloader +1 # press enter
boot # press enter AND with luck xp boots.
there is a space between y and ( for top line and NO other spaces
there is a space between r and +
there is no need for the boot command in your grub file if it works
your fdisk output has an asterix in hda1 so it is already bootable but lets leave the makeactive command in and between all 3 of us we have yet to try above. If it works amend your grub file and your done.
2) cccc828 suggestion for a floppy is always good
3) create a normal boot disk as well, not a grub one and test them.
4) IF it failed to boot can you post what other linux systems you tried and the sequence as FC and Suse both had issues with their partitiion tool that ruined the XP stuff.