LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-31-2003, 05:50 AM   #1
nickwu2000
LQ Newbie
 
Registered: Mar 2003
Location: Oxford
Distribution: Slackware 9.1
Posts: 8

Rep: Reputation: 0
Talking 2 harddrives, 2 os's, 1 grub? arg!! *solved!*


I sorted the problem out in the end... but here's the qn incase it might help anybody else out there!

*****

Hi all!
i was wondering if somebody could help me out with a problem im having setting up linux on my comp. I'm a total newbie, so please bear with me if i seem like i dont know a thing!

basically, i have two harddrives, xp is installed on my master, and linux on my slave... i currently use my bios to switch from one boot to the other, setting the relevant hd to boot from when i want it.

I was hoping however that it wuold be possible to boot to my slave, and instead of go straight into linux (redhat) have the possibility of choosing windows isntead... so i used grub to try and do this, grub loads the linux fine, but when it comes to xp, the system just hangs, any suggestions?

my grub config to boot xp goes something like this:

title Windows XP
rootnoverify (hd0,0)
chainloader +1

thanks for any help!


*****
well, after a long haul fighting the man pages (i'm a bit slow at reading those things) i finally came up with the following, which seems to work fine

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

yeay!

Last edited by nickwu2000; 03-31-2003 at 08:56 AM.
 
Old 03-31-2003, 11:23 AM   #2
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
That was happened to me when I switch the master/slave of my harddrives ;-)

Entering this in Konquerror location:
info:grub

Reveals the secret :-)


Have a lot of fun!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Number of Bootable OS's Grub can handle trinkett42 Linux - Software 10 09-21-2005 04:00 PM
So exactly how many os's can Grub handle? mebrelith Fedora 2 03-16-2005 04:37 PM
grub setup with two harddrives arpi Linux - Software 2 07-28-2004 11:35 PM
arg[] linuxanswer Programming 6 12-05-2003 08:27 PM
using grub to boot multiple linux os's Smerk Linux - Software 9 03-21-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 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