PDA

View Full Version : XP/Fedora Dual Boot Paradox



medina9000
8th May 2006, 06:37 PM
I've looked around for a solution to this problem but have not been able to find one. I am experiencing a weird problem when trying to set up a dual boot using GRUB.

My hard Disks are arranged in the following order:

IDE 0: Maxtor 200GB (Win XP)
IDE 1: Fireball 30GB (GRUB, Fedora)
IDE 2: WDC 80GB (Storage, Backup)

I have created a boot disk whose grub.config file which looks like this:
-------------------------------------------
# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hdb1
default=0
timeout=15
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd1,0)
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5smp.img
title Windows XP Professional
rootnoverify (hd0,0)
chainloader +1
-------------------------------------------

this works just fine, but i dont want to realy on the stability of a floppy! in order to access either system. When i try to boot from the hard disk that contains grub and fedora, something strange happend.

- when i try to boot into xp (hd0), grub hangs
- when i try to boot into fedora (hd1), i get an error

It boots into fedora just fine if i use: root (hd0,0), and then issue the above kernel statement. Another issue is that i can not boot into XP at all using this workaround.

Why is GRUB acting fine when i boot from A:\ and not when i boot from D:\ ? and how can i go about fixing this?

medina9000
8th May 2006, 06:47 PM
i have referred myself to http://www.fedorajim.homelinux.com/?q=node/2
and will post my course of action and results

medina9000
8th May 2006, 07:13 PM
i did as Jim instructed and changed my the XP loading section to the following:

title Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
chainloader +1

it works fine now, but i am new to both Linux and Fedora, so i have no idea why it is the case. If anyone would like to provide an explanation, i would appreciate it.

-thanks for the quick reply Medina9000
-np, anytime

:)

medina9000
8th May 2006, 07:14 PM
correction:

# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hdb1
default=0
timeout=15
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd0,0)
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5smp.img
title Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1