Share your knowledge at the LQ Wiki.
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 02-20-2003, 07:39 PM   #1
LQ Newbie
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
booting windows xp with grub! help!!

I am having troubles with loading Windows XP in grub...

I just bought a new HD and installed it to run linux
so now i have 2 HD's.. my Master is Linux and my Slave is Windows XP
I try to boot with my Master so grub is loaded from the beginning.....

Whenever i select XP to load in Grub .. it won't boot!! a screen comes up and says:
booting Windows XP
rootnoverify (hd1,0)
chainloader +1

and stops!...

I thought it would be easier to have linux and redhat on two seperate HD's
but i guess not... there has got to be some way in the command lines to get it working correctly... because i hate changing a my boot drives in the BIOS just to get a certain operating system running... can anyone help?

# 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/hda5
# initrd /initrd-version.img
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.18-14.img
title Windows XP
rootnoverify (hd1,0)
chainloader +1

Old 02-20-2003, 09:03 PM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
use these entries instead:

title Windows XP
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
rootnoverify (hd1,0)
chainloader +1

this will make Windows think that it's installed in the first partition/first drive.

no need to run grub-install. just save the file.

1 members found this post helpful.


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
Booting Windows from the Grub Prompt Kurzweil Linux - Software 26 08-22-2014 07:21 AM
DISCUSSION: Booting Windows on second HD with Grub talLinux LinuxAnswers Discussion 5 02-13-2007 09:37 AM
Problem with booting windows in GRUB meinherzbrennt Linux - Newbie 17 09-10-2004 07:46 AM
Error w/ grub booting windows xp Ryknow215 Linux - General 26 05-22-2004 02:10 AM
GRUB windows xp not booting mirage Linux - Newbie 2 05-14-2003 02:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration