Fedora Linux Support Community & Resources Center
  #1  
Old 13th November 2007, 02:42 AM
sweetrain's Avatar
sweetrain Offline
Registered User
 
Join Date: Feb 2005
Location: CANADA
Posts: 113
Dual boot problem, win xp won't boot.

Hi, I just installed F8 on my desktop with grub to enable dual boot. But now winxp wont boot. I have a 80G PATA HDD with F8 on it. A 160G SATA HDD with win xp on it.
Code:
[root@localhost grub]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      73514160   3497668  66221960   6% /
/dev/sda1               194442     18772    165631  11% /boot
tmpfs                   517476        12    517464   1% /dev/shm
/dev/sdb5            108880504  76129756  32750748  70% /media/disk
/dev/sdb1             51199120  22234784  28964336  44% /media/disk-1
The grub.conf is:
Code:
[root@localhost grub]# cat /boot/grub/grub.conf
# 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,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-49.fc8)
        root (hd0,0)
        kernel /vmlinuz-2.6.23.1-49.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.23.1-49.fc8.img
title Fedora (2.6.23.1-42.fc8)
        root (hd0,0)
        kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.23.1-42.fc8.img
title Other
        rootnoverify (hd1,0)
        chainloader +1
Can some one show me why winxp wont' boot? Thanks!
__________________
---------------------
Fedora 10/x86_64@
Intel Core 2 Quad Q6600
4G ram
320G sATA
----------------------
Reply With Quote
  #2  
Old 13th November 2007, 03:00 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello sweetrain,

Yes. It's a very common situation. Go here and you will figure out what to do. Otherwise, return and we can talk more.
Reply With Quote
  #3  
Old 13th November 2007, 07:49 PM
sweetrain's Avatar
sweetrain Offline
Registered User
 
Join Date: Feb 2005
Location: CANADA
Posts: 113
Got it, thanks!

Thanks, got it fixed. BTW what does it mean by adding:
Code:
map (hd0) (hd1)
map (hd1) (hd0)
__________________
---------------------
Fedora 10/x86_64@
Intel Core 2 Quad Q6600
4G ram
320G sATA
----------------------
Reply With Quote
  #4  
Old 13th November 2007, 08:18 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Quote:
Originally Posted by The GRUB Manual

13.3.23 map
— Command: map to_drive from_drive

Map the drive from_drive to the drive to_drive. This is necessary when you chain-load some operating systems, such as DOS, if such an OS resides at a non-first drive. Here is an example:

grub> map (hd0) (hd1)
grub> map (hd1) (hd0)

The example exchanges the order between the first hard disk and the second hard disk. See also DOS/Windows.
When the hardware-specific NTLoader files that are needed to start XP (ntldr, ntdetect.com, boot.ini) are not in an active partition on the first drive, XP will usually misbehave. The XP system itself can be anywhere, but those three NTLoader files cannot. For example, if you have the XP system on the second drive and the NTLoader files in a compatible partition marked active on the first drive, then XP would happily boot. You have the system and the NTLoader files all in a partition on the second drive. The map menu commands in grub.conf temporarily change the drive order to what XP is expecting.
Reply With Quote
Reply

Tags
boot, dual, problem, win

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a dual-boot (dual boot) with Windows XP Home Edition and Fedora Core 5: Genecks Guides & Solutions (No Questions) 5 18th October 2011 01:05 PM
Problem with Dual-boot of WinXP and FC4 too!!! lost boot loader... freshmeat EOL (End Of Life) Versions 7 31st December 2005 05:55 AM
Dual boot problem - windows won't boot ! snorkrat Installation and Live Media 6 7th November 2005 01:04 PM
Dual Boot probl Win XP and FC 3: no boot menu and automatical boot to windows siwask Installation and Live Media 1 18th February 2005 03:57 AM


Current GMT-time: 00:34 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat