LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2003, 12:19 AM   #1
sean_nj
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
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
 
Old 08-30-2003, 12:57 AM   #2
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
try this:

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB Won't Load WinXP Norab Linux - Newbie 7 08-20-2005 03:38 PM
GRUB Won't Load WinXP Norab Linux - Software 5 08-20-2005 03:05 PM
Grub didn't recognize RH9 nor WinXP Pro partition quentusrex Debian 3 08-18-2004 09:21 PM
GRUB Bootloader not booting WinXP Pro SP1 FeralTitan Linux - Newbie 12 08-16-2004 12:09 PM
Setting GRUB default to load WinXP pilot1 Linux - General 1 09-07-2002 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration