LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-05-2003, 02:17 PM   #1
notslim
Member
 
Registered: Aug 2003
Distribution: RH9
Posts: 63

Rep: Reputation: 15
Question Two HDs, Two OSes


Hello all. I'm new to Linux (but not new to computers in general). I've got two HDs, one running XP and one running RH8, and they both work when set as master. Does anyone know of a way to boot off of a slave? I thought changing the boot.ini might do it, but it hangs at boot and says that HD1 is not found, so I changed it back. Any thoughts?

Ideally, I want it set up so that booting with ctrl depressed (or some such thing) would cause it to boot Linux from the slave.

Regards,

--notslim
 
Old 08-05-2003, 02:19 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
This seems to be why god/whoever (not Linus this time ) invented the BootLoader. Install Lilo or Grub on your Master Boot Record and then pick which os to boot. It works perfectly for me and Win98 and Mdk9.1
 
Old 08-05-2003, 02:20 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Just set one to boot from then use your linux bootloader to invoke the windows bootloader. There is lots of info about dual booting on this board.
 
Old 08-05-2003, 02:21 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
What boot loader are you using for Linux?
 
Old 08-05-2003, 02:24 PM   #5
notslim
Member
 
Registered: Aug 2003
Distribution: RH9
Posts: 63

Original Poster
Rep: Reputation: 15
Okay, you all seem to know what you're talking about. Trouble is, I don't. Can someone explain to me HOW to..

Quote:
Just set one to boot from then use your linux bootloader to invoke the windows bootloader.


Quote:
Install Lilo or Grub on your Master Boot Record and then pick which os to boot.

Slowly please, I'm new!

--notslim
 
Old 08-05-2003, 02:35 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I assume that at the moment you are changing which device your BIOS is set to boot from to switch between Window and Linux. Well we're going to leave the drives as they are and instead use a BootLoader program to allow us to make the choise of OS. You can set which boots by default, and how long you have to make a different choice each time. (NB: Dont set it to default to windows with no choice time )
Btw, is windows the primary master drive?

I use Mandrake instead of RedHat, and so dont know exactly how to guide you around their Control Centre if they have one like Mandrake, or how to alter the Grub bootloader, becase Mdk uses Lilo instead.
 
Old 08-05-2003, 02:39 PM   #7
notslim
Member
 
Registered: Aug 2003
Distribution: RH9
Posts: 63

Original Poster
Rep: Reputation: 15
As a matter of fact, right now I'm switching the HDs' positions (master to slave) in order to switch, and that isn't at all convienient. Thus right now (as I'm on XP), the XP is the master and the Linux is slave.. but I need to know how to switch without removing the drives, as the jumpering is tiresome (especially since my XP drive doesn't have a jumper diagram :P)

--notslim
 
Old 08-05-2003, 02:47 PM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
There's a lot of info here at LQ and elsewhere online about how to configure Grub which I'm guessing your RedHat is still using on it's own drive to load linux.

Hmm, you have an interesting situation. You need to research either:[list=1][*]Switch drives so you can boot linux[*]Configure Grub to have linux and windows entries[*]Configure grub to work from the window drive (Probably /dev/hdb at this point)[*]Turn off and switch drives back[*]Start up and Grub should be there to give you the two options.[*]In linux the windows drive will now be /dev/hda and should remain that now. You shouldnt need to alter Grub any more.[/list=1]
OR
[list=1][*]Switch drives and boot into linux[*]Make a boot disk[*]Turn off, switch drives, and set your BIOS to boot off floppy disk first[*]Boot linux via the floppy boot disk[*]Configure Grub to install on the MBR which'll be on the windows drive, /dev/hda at this time.[*]Take the boot disk out, set the BIOS to boot off harddrives again, and on booting it should show Grub giving the two options.[/list=1]Basically you're going into linux, and installing grub on the windows drive, to be ready to work when you switch drives back so windows is first.

Last edited by Proud; 08-05-2003 at 02:50 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alien OSes sancho5 Linux - General 3 01-26-2006 10:36 PM
GRUB and Other OSes Kyl3 Suse/Novell 2 08-28-2005 08:37 PM
Three OSes - Is it possible? Jongi Linux - General 9 05-20-2005 01:21 PM
More than a dual boot (5 oses?) mastahnke Linux - General 20 01-09-2005 01:14 PM
Different OSes SnowSurfAir Linux - Software 10 04-17-2004 11:42 PM


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