LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2004, 03:49 AM   #1
jjisnow
LQ Newbie
 
Registered: Mar 2004
Location: Sydney
Distribution: Fedora 2.4
Posts: 8

Rep: Reputation: 0
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
 
Old 03-23-2004, 08:39 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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
 
Old 03-23-2004, 09:50 AM   #3
jjisnow
LQ Newbie
 
Registered: Mar 2004
Location: Sydney
Distribution: Fedora 2.4
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 03-23-2004, 10:14 AM   #4
jjisnow
LQ Newbie
 
Registered: Mar 2004
Location: Sydney
Distribution: Fedora 2.4
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 03-23-2004, 10:30 AM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 05:13 PM
Grub not listing WinXP in dual boot setup ronlon Fedora 1 09-05-2005 11:04 AM
FC-2 / WinXP Dual Boot hangs at GRUB BWebb Linux - Newbie 4 08-16-2004 03:50 PM
I need help with grub and trying to dual boot rh9 and winxp pro slicker Red Hat 2 08-30-2003 11:44 AM
WinXP, Linux 7.2 - dual boot with grub - help! iamvrc Linux - Software 2 01-25-2002 11:28 AM


All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration