LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-06-2002, 06:59 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 31
Linux/Windows dual boot on 2 IDE drives


Is it possible to have my primary master drive as Red Hat Linux 7.2 and my primary slave drive as Windows 2000?
 
Old 02-06-2002, 11:36 PM   #2
acromi
LQ Newbie
 
Registered: Feb 2002
Location: tx =/
Distribution: Slackware, SuSE
Posts: 14

Rep: Reputation: 0
if you have a bios that allows you to select which drive it boots from, you could do it this way. just select 0 for redhat, and 1 for windows. if your bios doesnt allow this you would have to set whichever drive you wanted to boot from to master. as far as i know.

a cool way of doing it would be using a couple of removable drive bays. and using cable select on the hard drives. just swap the drives around and it will boot off the one on the end of the cable.

or just set em both to master and use one at a time. thats what i used to do before i scrounged up enough cash for a seperate linux box
 
Old 02-07-2002, 11:36 AM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
But can I use grub on the primary master to boot Windows 2000 on the primary slave?
 
Old 02-07-2002, 12:41 PM   #4
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
Yes, Grub or LILO will do that. Just go into its configuration options and select the drive (probably hdb in your case) and the partition (again probably 1). It should then look like this "hdb1"
 
Old 02-07-2002, 01:03 PM   #5
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
I thought that Windows 2000 could only boot if it "owned" the Master Boot Record of the Primary Master hard drive.

Last edited by glock19; 02-07-2002 at 01:06 PM.
 
Old 02-07-2002, 03:29 PM   #6
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
Not sure what you mean by owned. If you mean using its own boot manager then no.

All the Windows variants will boot with another boot manager, but some require they are one the first, primary partition of a drive. M$ thing.
 
Old 08-16-2003, 02:06 AM   #7
drgnlvr
LQ Newbie
 
Registered: Aug 2003
Location: Galeton, PA
Posts: 10

Rep: Reputation: 0
I'm very much a newbie (installed onto HDD yesterday)
and by sheer luck (and deductive reasoning) I found a Raid system works nicely for this.

I have Linux on an 8 gig (parititioned of course) and windows on a 60 gig. As the PC boots I enter ctrl + h to get into the raid config area and simply select the disk I wish to boot from.

but learning
 
Old 08-16-2003, 07:40 AM   #8
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Yes - but make sure you install Red Hat after Win2k - install either LILO or GRUB to the MBR (boot sector of 1st hard drive)
 
Old 08-18-2003, 05:16 PM   #9
drgnlvr
LQ Newbie
 
Registered: Aug 2003
Location: Galeton, PA
Posts: 10

Rep: Reputation: 0
OK I messed up - I installed Mandrake 8.2 on the additional hard drive, didn't want to mess up windows until I was more familar with linux. Well went home (posted this at work) and tried to boot up to windows (changing the boot disk in the Raid area) and I was presented with nothing more than a LI and a space at this point. I thought installing Linux to the additional hard drive would not have messed with my windows HD - what happened? The only way I could then boot into windows was to run fdisk /mbr to restore the windows master boot? I now can only bring up linux from a boot floppy (slowwwwwwww) how can I boot linux from my HD and not screw up windows (others using this PC don't want linux - I haven't converted them yet :P )

any help to a ultra newbie would be appreciated
 
Old 08-18-2003, 07:19 PM   #10
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
it sounds like you didn't install lilo properly, and so it couldn't boot it. Try installing lilo into the master boot record again, with everything laid out real nice. Then boot from it, and see what you get.
 
Old 08-18-2003, 07:51 PM   #11
drgnlvr
LQ Newbie
 
Registered: Aug 2003
Location: Galeton, PA
Posts: 10

Rep: Reputation: 0
sounds easy enough - however I did not want to mess with the windows HD just yet - how do I reinstall lilo to boot linux or windows (until I am more familiar with linux) without causing problems for my windows HD?
 
Old 08-18-2003, 08:26 PM   #12
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Again - with a typical dual boot you'd just use LILO or GRUB and install either to the MBR - its up to you whether you see it as too risky in terms of the other users - however - in general - to re-install LILO as root from a shell type :

/sbin/lilo

LILO will then be re-installed to whatever is specified in the

boot=

directive - at the top of your lilo.conf file

If you want LILO to the MBR youd make sure it says

boot=/dev/hda

Again - its up to you if you think its going to mess things up or annoy the other users on your system

Last edited by Skyline; 08-18-2003 at 08:28 PM.
 
Old 08-19-2003, 04:58 AM   #13
drgnlvr
LQ Newbie
 
Registered: Aug 2003
Location: Galeton, PA
Posts: 10

Rep: Reputation: 0
Is it possible to have the lilo not mess with the mbr of the windows HD and only edit the mbr of the linux HD and allow my Raid setup to determine the system to run?

I can set the boot disk in this area - ie set disk 1 as boot or disk 2 as boot.

Is this possible or will I need to only use lilo. I'm the only linux user on the system with linux on hard drive #2. I do not want other users (3 possible) to need to edit or configure anything on the windows disk (hd #1) or raid settings.

Thanks for the help thus far.
 
Old 08-19-2003, 06:05 AM   #14
paradoxicalogic
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
LILO cannot boot windows2000. Grub can tho
i had this mess a while back, i messed up the boot loader to win2k so bad i had to format the drive and reinstall win2k

i have it set as such

HD0 := win2k
HD1 :=Gentoo Linux
install win2k on the primary master(HD0)
install linux on the secondary master drive(HD1)
install grub on the mbr of HD0


set an entry in your grub.conf file that looks like this:

Code:
title=Windows 2000
root(hd0,0)
chainloader +1
makeactive
when grub boots, you can load whatever OS you want.

Cheers!

Last edited by paradoxicalogic; 08-19-2003 at 06:08 AM.
 
Old 08-19-2003, 06:56 AM   #15
c3cil
LQ Newbie
 
Registered: Aug 2003
Distribution: Suse
Posts: 8

Rep: Reputation: 0
i have a question related to the last answer
could i partioition my lin hd and add a line or2 to grub to boot debian which i am looking 2 use
 
  


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
Dual-boot Linux and Windows on 2 drives rgbrock1 Linux - Newbie 3 11-30-2004 12:48 PM
Windows/Linux - dual boot or 2 drives? chantrelle Linux - General 4 11-03-2004 03:59 PM
dual boot on 2 drives...sata and ide vrdhananjay Linux - Hardware 6 09-08-2004 01:19 AM
Want to dual boot Windows and Linux, BUT on 2 hard drives hanchey Linux - Hardware 4 12-02-2003 09:52 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM


All times are GMT -5. The time now is 01:40 AM.

Main Menu
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