Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-29-2012, 12:56 AM   #1
LQ Newbie
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
Windows XP does not boot from GRUB Boot loader

Hi, I have two hard disk installed in my machine. One is old one connected to the 2nd SATA port of motherboard. In this Harddisk Windows XP installed in the 2nd partition.
Other hard disk is a new one connected to the 1st SATA port of Motherborad. Initially old hard disk(2nd SATA port) was in booting sequence in the CMOS. Then I changed the booting sequence to boot from new Hard disk(1st SATA port). Then I installed Windows 7 first and then Red Hat Linux 6 in that new hard disk. Linux in partition 2 and Windows 7 in partition 3. During Linux installation, when GRUB configuration dialoge comes I put Windows XP and Windows 7 accordingly following the location of Windows XP and Windows 7 correctly(i assume). Now when i restart, GRUB menu comes. When I select Linux or Windows 7, they load without any trouble. But when I select XP, it does not load and the screen shows black(nothing).
I thought, XP may be corrupted. To check it, I change the booting sequence form CMOS and put old hard disk(where XP was installed) as 1st boot device. Now when i restart, XP loads without any trouble.
Can any one help me to load XP from GRUB menu.
Old 01-29-2012, 02:37 AM   #2
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Did you said Redhat 6 ? Why so old version? I have Redhat 6.1 it is from 1999. And i remember people having that kind of trouble back then with multiple boot options with different windows installation.
Why dont you use an up to date version? The current Redhat version is Fedora 16.

Old 01-29-2012, 03:33 AM   #3
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Set your bios boot order the way you would like and run this boot info script and post the results please.
Old 01-29-2012, 03:19 PM   #4
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Since he is using grub, I imagine the OP means RHEL 6. Your can use grub to trick Windows into thinking it is on the primary drive by using grub's drivemap command.

--- rod.
Old 02-07-2012, 03:46 AM   #5
LQ Newbie
Registered: Jan 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
I got a solution from other forum. theNbomr is right. I remap the drive to trick grub. What I did is as follows-

map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,1)
chainloader +1

And it boots in XP.


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
[SOLVED] how can I incorporate windows boot loader into grub? Triple boot, single hard drive olkirf Linux - Newbie 8 10-24-2010 08:36 AM
grub boot loader installation in dual boot machine after windows 7 installation sourabh.sinha Linux - Newbie 4 03-23-2010 09:22 AM
GRUB boot loader blocking windows boot julienroger Linux - Newbie 3 10-12-2004 01:11 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:48 PM.

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