LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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
  Search this Thread
Old 04-28-2006, 10: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, 02:03 AM   #2
billymayday
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)
makeactive
chainloader +1
 
Old 04-29-2006, 08:00 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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 08:03 AM.
 
Old 04-29-2006, 01: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: 234Reputation: 234Reputation: 234
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:57 AM.

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