LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 03-09-2005, 04:40 PM   #1
scouture
LQ Newbie
 
Registered: Mar 2005
Posts: 9
Thanked: 0
Loading Windows with GRUB


[Log in to get rid of this advertisement]
Before I get to my question, let me explain to you what my system looks like:
1. SATA Hard drive (boot partition with GRUB) on port-0/includes Fedora installation (several partions)
2. IDE Hard drive Primary Master/includes Windows installation on NTFS (1 primary partition)
The computer boots from the SATA and loads Grub from the boot partiton.
Here what my grub.conf looks like. It was generated with grubconf so I assume its done right.
Code:
title Fedora Core (2.6.10-1.770_FC3)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-1.770_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.10-1.770_FC3.img
title Windows XP
        rootnoverify (hd1,0)
        makeactive
        chainloader +1
Fedora can run just fine but when I try to boot Windows, it just prints the following and does nothing else:
Code:
Booting Windows XP
        rootnoverify (hd0,0)
        makeactive
        chainloader +1
I know my Windows installation is not currupt because if I unplug the SATA hard drive, the BIOS jumps to the IDE hard drive it starts up just fine. How could I solve this. Could it be that rootnoverify (hd1,0) is just not pointing to the right hard drive or partition?

Thank you

Last edited by scouture; 03-09-2005 at 04:43 PM..
scouture is offline     Reply With Quote
Old 03-09-2005, 05:16 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 349
Thanked: 0
try this:

Code:
title Windows XP
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd0,0)
        makeactive
        chainloader +1
The problem is that windows can't boot from any disk but the first one, the two map commands effectively swap the disks.


Mad.
madluther is offline     Reply With Quote
Old 03-09-2005, 05:46 PM   #3
scouture
LQ Newbie
 
Registered: Mar 2005
Posts: 9
Thanked: 0

Original Poster
Hi, I did what you told me but I get the following error:
Code:
Error 13: Invalid or unsupported executable format. 
Press any key to continue...
And it just takes me back to the menu.
scouture is offline     Reply With Quote
Old 03-09-2005, 07:07 PM   #4
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 349
Thanked: 0
Oops, change the rootnoverify command to

rootnoverify (hd1,0)

Its been awhile since I had a setup like you describe, so I'm working from memory.

HTH

Mad.
madluther is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Grub not loading jaya_surya1 Linux - Newbie 6 06-19-2008 05:32 AM
Grub loader not loading Windows XP or Fedora Core 1 after changing partition size. zetafunc Fedora - Installation 17 06-12-2005 02:27 AM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 08:47 AM
Grub not loading pikeymick Linux - Newbie 4 04-30-2004 09:25 AM
GRUB loading windows teamstatic84 Linux - General 5 12-29-2003 09:46 PM


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

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration