LinuxQuestions.org
Register a domain and help support LQ
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 11-07-2006, 10:07 AM   #1
Blacklisted
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Install Fedora Core 6 with XP to dual boot - XP doesnt boot anymore


Looking for some help or at least some pointers to more information.

I have been running a dual-boot Fedora Core / WinXP machine for several years now. Recently I decided to take the plunge and install (not update to) Fedora Core 6, and now I can no longer boot into windows (still using Grub).

Here are the details I believe are important:

hdb1 = ntfs partition with my WinXP installed (still there, verified)
hdb2 = ext3 partition with FC6 installed
hda mbr = Grub install
hda1, hda2, hda3 are just old partitions from a prior dual-boot Windows / Linux machine.

When I did the FC6 upgrade the 1st time, I installed Grub to the /dev/hdb mbr, FC6 to /dev/hdb2, and made sure on reboot that my bios was pointed toward hdb (don't remember the HD brand).

I had other issues, so then I re-installed FC6 to /dev/hdb2 again and moved grub to /dev/hda's mbr.

Now when GRUB boots WinXP on rootnoverify(hd1,0), I only get the following before the machine hangs indefinitely:
rootnoverify (hd1,0)
makeactive
chainloader +1
boot
(at this point, the machine hangs.... if I go to Fedora, everything boots fine...)

I've since used my WinXP CD "R" option to go to the command line and do "FIXBOOT" and "FIXMBR" (it does recognize the correct NTFS parition and everything appears to still be there). This has not made any difference that I can tell.


My grub config file looks like this:

# grub.conf generated by anaconda
#boot=/dev/hda
default=1
timeout=50
splashimage=(hd1,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd1,1)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title WinXP
rootnoverify (hd1,0)
makeactive
chainloader +1
boot

Regards, Blacklisted.
 
Old 11-07-2006, 10:16 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
If you are booting into hda from the bios, then the grub entry for windows needs the "map" commands (since windows is on hdb).

I think you need this in your menu.lst file:

title WinXP
rootnoverify (hd1,0)
map (hdo) (hd1)
map (hd1) (hd0)

makeactive
chainloader +1
boot

Also, is the Windows partition marked as active? (fdisk /hev/hdb to check)

Last edited by pixellany; 11-07-2006 at 10:19 AM.
 
Old 11-07-2006, 11:54 AM   #3
Blacklisted
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, Pixellany!

I'd found examples similar to that one that said do things like :
map (hd0,1) (hd0,0)
map (hd0,0) (hd0,1)

But I never made the mental leap necessary to see how that would be applied with the harddrives swapped, versus the partitions.

Again, thank you very much.

NOTE TO FUTURE READERS: Here is a good link to the Grub documentation that tells you not only what you need to do, but why...

EDIT: Can't post links here yet... can someone post a link to the appropriate Grub manual entry, under
4 Booting
* 4.2 Some caveats on OS-specific issues
o 4.2.6 DOS/Windows

Strangely, this didn't come up in Google at the top, and even took a small bit of digging from the main Grub homepage. Since I often rely on Google to help me track down such information, my hope is that having a link in this LinuxQuestions forum entry will give folks a slightly higher chance of finding the right information...
 
Old 11-07-2006, 03:07 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
http://www.gnu.org/software/grub/manual/grub.html
 
  


Reply

Tags
boot, dual, fedora, xp


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
boot.ini Dual boot XP and Fedora Core 5 katanajf Linux - General 2 06-16-2006 09:40 AM
Trying to install Fedora Core 3 with XP to dual boot - XP doesnt work anymore sabo Linux - Newbie 28 04-26-2005 11:21 AM
Fresh FC3 Install - Dual Boot Fedora Core 3 Workstation/Server Possible ? testguyct Fedora 1 03-15-2005 06:10 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
Fedora Core 2 install in pre-dual boot (XPPro/W2K3 Server) aalavic Linux - Newbie 2 10-27-2004 05:22 AM


All times are GMT -5. The time now is 06:07 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration