LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-09-2005, 03:40 PM   #1
scouture
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Rep: Reputation: 0
Loading Windows with GRUB


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 03:43 PM.
 
Old 03-09-2005, 04:16 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
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.
 
Old 03-09-2005, 04:46 PM   #3
scouture
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 03-09-2005, 06:07 PM   #4
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
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.
 
  


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
Grub not loading jaya_surya1 Linux - Newbie 6 06-19-2008 04:32 AM
Grub loader not loading Windows XP or Fedora Core 1 after changing partition size. zetafunc Fedora - Installation 17 06-12-2005 01: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 07:47 AM
Grub not loading pikeymick Linux - Newbie 4 04-30-2004 08:25 AM
GRUB loading windows teamstatic84 Linux - General 5 12-29-2003 08:46 PM

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

All times are GMT -5. The time now is 02:39 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
Open Source Consulting | Domain Registration