LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB config help (https://www.linuxquestions.org/questions/linux-newbie-8/grub-config-help-416291/)

skishak 02-16-2006 08:55 PM

GRUB config help
 
Hi, I need some help with grub.conf file. Windows XP is not booting from the GRUB bootloader and I don't know why. Here is my current 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/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz

title Fedora Core 4 (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP SP2
rootnoverify (hd1,0)
chainloader +1

I've deleted 'hidemenu' for the obvious reason the menu didn't appear. Here is my hard drive setup;

SATA - 10gb (Windows XP, NTFS) + approx.100gb (NTFS)
IDE - hda1 /boot 100Mb + hda2 /(root) 40gb + hda3 -swap- 1gb + unpartitioned space

With the BIOS, I boot from SATA to access the GRUB menu and then Fedora. But if I select 'Windows XP SP2' from the menu this comes up;

Booting 'Windows XP SP2'

rootnoverify (hd1,0)
chainloader + 1

_

...and it just sits there, underslash blinking, before I press alt+ctrl+delete to restart. To boot Windows I change the hard drive boot priority in the BIOS from SATA to IDE.

Does anyone see the problem? Is there a way of checking if Windows is actually located in hd1,0?

Please help.

syg00 02-16-2006 09:12 PM

See this from yesterday.
There will be several hundred similar ...

Emerson 02-16-2006 09:13 PM

This question is asked and answered here every now and then. Windows boots only from primary drive. You need to map drives in grub.conf. Search this forum for details or see Grub documentation.

Edit: one minute late :)


All times are GMT -5. The time now is 06:33 PM.