Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-28-2006, 09:37 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
GRUB won't boot XP

Hello everybody,

Well I just finished installing both Fedora & WinXP on my computer, I had fedora installed on my primary HD with 11GB, and Win in my secondary HD with 20GG... now Fedora runs just fine, the only problem is GRUB won't boot WinXP, instead it showed this:
rootnoverify (hd1,0)
chainloader 1+
So I opened GRUB's menu.lst and change that for this:

title Winxp
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
But... as you guessed it didn't work or I wouldn't be here, so instead of booting XP, it asked me to remove and cd or media and press any button, and after doing so the screen went black and then only said GRUB...

So, does anybody know how to solve this problem?, well if anyone does please let me know.

Old 04-29-2006, 01:03 AM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
this is from my grub.conf (sorry - had to pick it from an old post, since I'm running stuff on Windows at the moment, but I'm pretty sure it's the version in use).

I have windows on drive 0 and FC5 on drive 1 (sda and sdb)

Works for me.

See thread "FC5 and GRUB"

title Start Windows
rootnoverify (hd0,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
Old 04-29-2006, 07:00 AM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
By putting the rootnoverify command after remaping the drives, you've basically told grub to look in the Linux partition for the xp bootloader.

Putting rootnoverify first in the sequence, then remaping the drives, allows grub to follow the remaping and still locate the xp bootloader.

change this:
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

to this:
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

or this:
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
chainloader +1

Last edited by bigrigdriver; 04-29-2006 at 07:03 AM.
Old 04-29-2006, 12:42 PM   #4
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Looks very right to me, good exposition, bigrigdriver.


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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
need to access /boot/grub/menu.lst and /boot/grub/ neouto Linux - Newbie 8 09-04-2005 11:45 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:50 AM.

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