LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB can not load WinXP Pro! (https://www.linuxquestions.org/questions/linux-newbie-8/grub-can-not-load-winxp-pro-87231/)

sean_nj 08-30-2003 12:19 AM

GRUB can not load WinXP Pro!
 
I just installed the WinXP Pro and Redhat Linux 9.0 on my laptop. I use GRUB as loader. I can boot into Linux without any problem. But GRUB just hangs there when I instruct it to boot into DOS(WinXP). The partition on my harddisk is:
MB
/dev/hda
/dev/hda1 ext3 125 /boot
/dev/hda2 extended 57106
/dev/hda5 NTFS 16387
/dev/hda6 NTFS 20481
/dev/hda7 SWAP 2047
/dev/hda8 vfat 2047 /work
/dev/hda9 ext3 16143 /

Win XP is on hda5.
My grub.conf is

# 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/hda9
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$Y/JLZWK2$jbb95uw8I8HscYvxTYmjw/
title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
map (hd0,0) (hd0,4)
map (hd0,4) (hd0,0)
rootnoverify (hd0,4)
chainloader +1

Every time I try to boot into WinXP , the screen shows:

map (hd0,0) (hd0,4)
map (hd0,4) (hd0,0)
rootnoverify (hd0,4)
chainloader +1

and just stay there.

Thanks a lot for your help,

sean

yowwww 08-30-2003 12:57 AM

try this:

title Windows Xp Pro
rootnoverify (hd0,4)
chainloader +1


All times are GMT -5. The time now is 07:39 PM.