LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-01-2006, 01:13 PM   #1
vtrac
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
GRUB not liking WinXP and MBR on a SATA


So I've got three HDs, two IDEs (hda, hdb) and one new SATA drive (sda). I can't for the life of me get Grub to boot Windows XP.

I had Windows XP on hda1 taking up the entire disk, and Gentoo on sda (sda1 - boot, sda2 - swap, and sda3 - /). I was able to boot either OS by selecting the hard drive through the BIOS, but I could never get Grub to boot Windows. It would just print out:

title=Windows XP Pro
rootnoverify (hd0,3)
chainloader +1

and freeze. So, I thought maybe if I were to move my Windows partition to the sda drive I could get it to boot. I made a new partition, sda4, as the same size as hda1, and used dd to copy the data over. I then configured my /boot/grub/menu.1st as so:

default 0
timeout 20

title=Gentoo Linux 2.6.15-r1
root(hd2,0)
kernel /boot/vmlinuz root=/dev/sda3

title=Gentoo Linux 2.6.15-r1 (Safe)
root(hd2,0)
kernel /boot/vmlinuz.old root=/dev/sda3

title=Windows XP Pro
rootnoverify (hd0,3)
chainloader +1

When I select Windows XP Pro, it still just shows me the commands and freezes. I can boot Gentoo no problem. What's confusing me is that when I run grub under linux, it properly recognizes the sda drive as (hd2), but when I boot to Grub and am using the command-line options to try to boot Windows, it only detects the windows partition as (hd0,3).. shouldn't it be (hd2,3)?

Another related problem, is that hitting TAB when I run grub on linux results in a tab, not auto complete. WTF?
 
Old 03-01-2006, 04:42 PM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
if windows is on /dev/hda1 (IDE) then why is there this in menu.lst?:
Code:
rootnoverify (hd0,3)
this refers to /dev/hda4
to tell grub to boot off /dev/hda1 you use:
Code:
rootnoverify (hd0,0)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Grub SATA and WinXP Slalomsk8er Linux - General 2 01-14-2005 05:00 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
Boot WinXP (on SATA) from GRUB (on PATA?) sbixby Linux - Newbie 3 04-30-2004 10:40 AM
GRUB, MBR, red hat 9 winxp in dual hard disks samik Linux - Newbie 2 10-15-2003 02:29 PM
i got RH8 & WinXP installed and properly working by GRUB. how can i reinstall WINXP? kublador Linux - Newbie 4 06-23-2003 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:17 PM.

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