Grub.conf - dual boot xp64 and fedora 4

Please help me with my problem, i'm a complete noob at this. i had xp64 installed on a SATA2 250gb. I added a slave IDE80gb drive just to put linux on. my xp works fine, and so i continued to install fedora core 4.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar09.webp

1 Posts
Location -
Joined 2005-10-24
Please help me with my problem, i'm a complete noob at this.
i had xp64 installed on a SATA2 250gb. I added a slave IDE80gb drive just to put linux on.
my xp works fine, and so i continued to install fedora core 4.
the installation went smoothly and works perfectly, the only problem is that now i can't boot windows!
when grub loads at bootup, i have a choice between windows xp64 and fedora core.... obviously fedora boots and windows doesn't.
This 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 (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hdb
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 64 (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP 64
rootnoverify (hd1,0)
chainloader +1
 
the device map file is as follows:
# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hdb
(hd1) /dev/sda
 
sda is my sata2 drive, hdb the ide one.
When i select windows grub displays the following:
 
booting 'windows xp 64'
rootnoverify (hd1,0)
chainloader +1
 
it just hangs on this screen.....
what do i need to change in the grub.conf for it o recognise the windows installation on the 250gb sata2 drive?
also look at this if at all useful: (fsdisk -l)
 
Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 9964 79931407+ 8e Linux LVM
 
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
Device Boot Start End Blocks Id System
/dev/sda1 * 1 8924 71681998+ 7 HPFS/NTFS
/dev/sda2 8925 30514 173421675 f W95 Ext'd (LBA)
/dev/sda5 8925 30514 173421643+ 7 HPFS/NTFS
 
 
i have my 250gb drive split into a C: (operating system/program files) and D: (general storage)
 
please help me get both os' to boot, any replies would be most appreciated.
 
(amd64 3500+, gigabyte GA-K8N ultra-9, 1gb pc3200, ati x800xl)

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Try adding this to the menu.lst file;
 
title Windows at sda1
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1

data/avatar/default/avatar03.webp

2 Posts
Location -
Joined 2005-10-27
Try chainloading to your Windows XP like:
 
chainloader (hd1)+1
 
or
 
chainloader (hd1,n)+1
 
where n is the partition number on the hard disk. The map commands didnt help me. The chainloader command worked well.

data/avatar/default/avatar03.webp

2 Posts
Location -
Joined 2005-10-27
Applied the fix to a second machine today, the map commands were necessary on this machine. Full text was:
 
title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1)+1
 
Config was:
 
SATA0: Enterprise Linux 3.0 with grub (from Powerquest drive image. Bootable 80 Gb image)
 
SATA1: Windows XP Pro. (From CD, was only hdd in machine during install)
 
Also checkout http://www.gentoo.org/doc/en/grub-error-guide.xml
 
Problem 16 was got me going.
 
 

data/avatar/default/avatar23.webp

11 Posts
Location -
Joined 2004-08-20
I can confirm that this works very well with Ubuntu 5.10, thanks for the tip.
 
Here is the original menu.list generated on install:
 
title Other operating systems:
root
 
 
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd2,0)
savedefault
makeactive
map (hd0) (hd2)
map (hd2) (hd0)
chainloader +1
 
 
And here is the edited list:
 
title Other operating systems:
root
 
 
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
rootnoverify (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1)+1
 


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
So, these were all sata drives? Nice! I think I get it. Good find padmoz!