LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 04-28-2006, 09:37 PM   #1
Derrschau
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:
WinXP
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)
makeactive
chainloader +1
boot
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.

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

Rep: Reputation: 120Reputation: 120
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)
makeactive
chainloader +1
 
Old 04-29-2006, 07:00 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,406

Rep: Reputation: 212Reputation: 212Reputation: 212
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)
makeactive
chainloader +1
boot

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

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

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

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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/device.map 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


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration