LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   winXP / FC 2.4 GRUB Dual boot problems again (https://www.linuxquestions.org/questions/linux-newbie-8/winxp-fc-2-4-grub-dual-boot-problems-again-161256/)

jjisnow 03-23-2004 02:49 AM

winXP / FC 2.4 GRUB Dual boot problems again
 
Hi guys,

Can you force GRUB from Fedora to boot windows XP on a different HDD and partition?

I have the following HDD setup:

HDA (80Gb, HDD-0 in BIOS) - 5Gb NTFS prev WinXP Bootup partition
-2x37Gb NTFS Data partitions

HDB (20Gb, HDD-1 in BIOS) - New Fedora HDD with auto partition

I setup so that the BIOS would recognise HDB as the first boot HDD, then setup GRUB so it could dual boot, however it hangs on trying to get to my WINXP partition, with something similar to the following

title DOS
rootnoverify (hd0,0)
chainloader +1


I know it's been asked, but is there a less painful way than reinstalling things all over againand repartitioning all my hard-drives? I thought Linux was designed to make things easy!

Jono

Demonbane 03-23-2004 07:39 AM

yea there is, try modify the DOS stanza you mentioned above into this in /boot/grub/grub.conf:
Code:

title winXP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1


jjisnow 03-23-2004 08:50 AM

Thanks a bundle man - of course, this means I will need to kill my current boot of xp to try it out, but thanks anyway.

Jono

jjisnow 03-23-2004 09:14 AM

Woohoo! Huh?
 
OK. Not only do I have linux working, but I am now replying to your reply on mozilla thru linux now! Thanks again, but tell me, what did I just do?

Jono

Demonbane 03-23-2004 09:30 AM

Good on you :-)

To put it in simple terms, windows XP wants to stay on the first boot device (if it was installed that way) , and won't boot otherwise. These "map" lines in grub.conf basically tricks the windows bootloader thinking it is.


All times are GMT -5. The time now is 08:36 AM.