View Full Version : Dual Boot Problem
darkrain
2004-03-08, 12:47 PM CST
I am trying to find away to dual boot Fedora and win Xp. Before people start flaming heres the set up.
Linux is installed as the primary master on ide 0
WinXP is installed on Sata 0.
If I add the WinXP onto the grub boot loader it goes to a black screen with a flashing cursor and thats as far as we go.r
Anybody got any ideas or pointers?
Thanks
DR
mike
2004-03-08, 01:06 PM CST
It could be that GRUB does not support SATA yet. I have not had a chance to play with any SATA hardware, so I'm not sure.
Mike
Jman
2004-03-08, 04:42 PM CST
Originally posted by darkrain
I am trying to find away to dual boot Fedora and win Xp. Before people start flaming heres the set up.
No flames here, I dual boot XP and Fedora too. Although I haven't booted XP in quite a while. :)
Are you sure the grub setup points to the correct partition? The windows part of my /boot/grub/grub.conf looks like this:
title Windows
rootnoverify (hd0,1)
chainloader +1
This loads the second partition of hd0 (first is 0), aka hda, the primary IDE drive. This isn't SATA hardware, but it might help. I had to manually change the hd0,1 part from hd0,0 because I had a recovery partition on the XP drive. Hope this helps a little.
Jolly
2004-03-08, 05:01 PM CST
i believe fedora supports sata
but if u have a sata drive fitted that will default to being the master drive the ide drive will always be read by the system as the slave
i believe that u will have to put grub on the mbr of the sata drive so u can duel boot
sorry dont have a sata drive but got this answer from the pcpro forum
mopo3
2004-03-23, 01:19 AM CST
Are you sure the grub setup points to the correct partition? The windows part of my /boot/grub/grub.conf looks like this:
title Windows
rootnoverify (hd0,1)
chainloader +1
This loads the second partition of hd0 (first is 0), aka hda, the primary IDE drive. This isn't SATA hardware, but it might help. I had to manually change the hd0,1 part from hd0,0 because I had a recovery partition on the XP drive. Hope this helps a little. [/B]
In my case this part : title Windows
rootnoverify (hd0,1)
chainloader +1 is the same as Yours, but when i press enter on Windows, i just got this text on screen :
rootnoverify (hd0,1)
chainloader +1
and nothing happens then :(
Bana
2004-03-23, 07:34 PM CST
map (hd0) (hd1)
map (hd1) (hd0)
Try adding these two ^^ lines above the rootnoverify line.
Also check your /boot/grub/devices.map file and make sure that you have your SATA device in there (i just added mine in as:(hd1) /dev/sdb
so my /etc/grub.conf look like this: title Win2K MainDrive
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1and it works like a charm!
Good luck!
mopo3
2004-03-23, 11:22 PM CST
i did as You suggest, but it is does not help me :(
I forgot to say that I am using Fedora Core2
dragon
2004-05-26, 07:47 AM CDT
Lots of people are having this problem - please take a look at my fedora forum posts at http://www.fedoraforum.org/forum/showthread.php?s=&postid=14703
I've noted a couple of solutions which have been discussed on various mailing lists.
abatis
2005-05-28, 07:10 AM CDT
I was having a dual boot problem but have finally solved it. My set up is as follows: WindowsXP64 on Sata Master using NV SATA on Asus A8N-Sli-D. I have Fedora Core3 64 bit on ide slave (jumper set to slave). I did create a boot partition for Fedora on the ide master.
1. First I set my system to boot off the Fedora ide drive in my bios. I set the Windows sata drive as the second device it shows as sata master in the bios.
2. My drive.map in grub looks like this:
# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/sda
I tied a number of iteration on mapping the drive, but my mistake was mapping the SATA Mater (hd2) to my Fedora root drive (hd1). Once I mapped hd2 to hd0 it dual booted. I think Windows just wants to be hd0 no matter what. Here is my 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 (hd1,6)
# kernel /vmlinuz-version ro root=/dev/hdb8
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,6)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.27_FC3)
root (hd1,6)
kernel /vmlinuz-2.6.11-1.27_FC3 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.11-1.27_FC3.img
title Fedora Core (2.6.9-1.667)
root (hd1,6)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-1.667.img
title WinXP64
rootnoverify (hd2,0)
makeactive
map (hd2) (hd0)
map (hd0) (hd2)
chainloader +1
I was getting discouraged but now I know it can be done. I am sure I will have to switch the drive order back in bios if for some reason I need to use the Windows install CD. However it is nice not to have to switch booting to either OS using the bios.
I have clso just experimented with changing the Fedora to hda (master ide) and redited the grub.conf -everything works great. the key is mapping Windows correcty
amarh
2008-05-02, 01:48 AM CDT
This worked for me. Thanks. Windows can only start from first had drive. I had to map this before using the chainloader. :cool:
I had to do another thing as my windows had a recovery partition on sdb1. So had to manually change rootnoverify (hd1,0) to rootnoverify (hd1,1) also.
My grub.conf for Windows
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,1)
chainloader +1
My hard disk configuration:
fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 2563 20482875 8e Linux LVM
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 892 6743488+ c W95 FAT32 (LBA)
/dev/sdb2 * 893 10336 71396640 7 HPFS/NTFS
abatis
2008-05-02, 04:29 PM CDT
Great, what fedora are you using and do you like it?
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.