LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-11-2008, 09:37 AM   #16
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

In terminal bring up the grub prompt and as root

grub

root (hd0,0)

setup (hd0)
 
Old 06-11-2008, 11:33 AM   #17
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,761
Blog Entries: 14

Rep: Reputation: 267Reputation: 267Reputation: 267
Did you try using the map first then the rootnoverify, like alan ri suggested?

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

But, if that doesn't work, I'd try using a grub boot floppy to reinstall grub. It is not clear to me if grub is installed in both MBRs (it sounds like it is on the linux disk not the windows disk) and where grub is looking for the menu.lst. Use the find command at the grub boot prompt using a grub boot floppy to find out where it thinks the files are.

My other piece of advice is: stop swapping the drives. Install the Windows drive as the master, the linux as the slave and leave it like that. Install grub to the MBR of the windows XP master and let grub find its files on the slave on the reinstall from the boot disk. Make sure the system is booting off of the correct disk in the BIOS. Sometimes you have to wipe grub off of the MBR (with FIXMBR or dd and a saved copy of the MBR)on both drives before reinstalling, not sure why... You did save a copy of the MBR, right?

Hope this helps. I'm not an expert: I just seem to have made nearly every boot mistake before!
 
Old 06-11-2008, 12:03 PM   #18
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Ok I'm guessing when you installed linux you had the hard drive with windows on it unpluged. The reason I say that is in your OP you said you could plug each OS into the 0 plug and it would boot.
Here is what I would do, plug in the drive with windows on it into the 0 spot so you can boot to it normal, and plug in the linux drive in the NO, 1 sata spot. Now go into your bios and to the boot option and set the linux drive first in boot order. Once you have this done save and exit the bios. When your system reboots and gets to the Grub screen, press c for command line, now edit the entry I have high-lighted start with (hd0,0) and work your way up like so (hd1,0) (hd2,0) ext.

Code:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,1)
makeactive
chainloader +1
When you find the one that works, boot into linux and edit your /boot/grub/menu.lst to make things permanent.
I have a similar setup to yours only my windows is on a raid0 array, so I had to map to the first drive in the array. My menu.lst looks like this,

Code:
title Windows  XP
root (hd2,0)
map (hd2) (hd0)
map (hd0) (hd2)
chainloader +1
 
Old 06-11-2008, 04:23 PM   #19
sasso@fordham.edu
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Original Poster
Rep: Reputation: 0
ok thanks to mrrangerman, I went into my setup menu and while I was looking around, I realized that SATA 1 port was off. I turned it on and put in the original suggestion by alan_ri and it worked right away. Thanks a lot for all the help everyone. Btw, master drive is linux, windows is slave.
 
  


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
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 08:01 AM
Success story: Dual boot using two hard drives on a Asus P4P800-E Deluxe (Ubuntu/XP) Fisslefink Linux - Software 3 08-19-2005 05:37 AM
Mounting Hard Drives In Ubuntu MSBeckman Linux - Hardware 8 03-13-2005 08:41 PM
Help Mounting Hard Drives on Ubuntu! MSBeckman Linux - Newbie 3 03-13-2005 06:37 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 04:28 PM


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