LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2001, 07:40 PM   #1
eliszka
LQ Newbie
 
Registered: Oct 2001
Location: Colorado
Distribution: Currently Mandrake 9.0
Posts: 8

Rep: Reputation: 0
Installing Win98 on slave drive to pre-existing linux install on primary


Hi,
Don't know if this should go under linux installation or even on a linux site. I'm using RH 7.1. I want to install win98 on a slave to the primary, where linux is living. I managed to DOS format the slave disk and start the win98 setup, but it complains that it can't find an MS-DOS boot partition on the 'first disk'. Is there anything I can do to fool it or give it what it wants on the primary? I can't wipe out anything on the primary and I've got some unpartitioned space at the end of it, but...
Does windows need to write to the boot partition, do you HAVE to install windows first?

Thanks,
Eric Liszka
 
Old 10-26-2001, 08:56 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
yeah, windows won't work right unless it is on the primary hard drive and not a slave driven one... also, if you installed it, its usually best to install it first, as it wipes out the MBR ( master boot record ) in which your linux loader LILO is on.
 
Old 10-26-2001, 09:17 PM   #3
eliszka
LQ Newbie
 
Registered: Oct 2001
Location: Colorado
Distribution: Currently Mandrake 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
Well I think you're probably right. I was thinking, though, what if:
I remove the linux drive, make the slave a master standalone, install windows there, then put the linux disk back as primary, and add an entry for the slave into lilo, i.e. other, win98, /dev/hdb.
Do you think windows would know that the MBR it's looking at is no longer on the primary device??

Eric.
 
Old 10-26-2001, 09:48 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
well, that is the problem though, windows doesn't like being a slave, even if you install it like that, it won't work right once you swap it around like you thought of. windows OS wants to be master when it comes to sharing... think of it that way.
 
Old 10-26-2001, 10:54 PM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You can sometimes get windows to work as primary slave by adding these lines to the windows section of the /etc/lilo.conf file.
Code:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
Just swap the slave hard drive like you said and install windows and then swap it back.
 
Old 10-27-2001, 09:54 AM   #6
eliszka
LQ Newbie
 
Registered: Oct 2001
Location: Colorado
Distribution: Currently Mandrake 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks linuxcool, I'll try it.
I'll let you all know how/if it worked, probably
will try it tonite or tomorrow.

Eric.
 
Old 10-28-2001, 02:48 AM   #7
Adam613
LQ Newbie
 
Registered: Oct 2001
Location: NYC
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
I'm not sure if Win98 works the same way as Win2k in this respect, but I've got Win2k working on my slave drive. Here's my setup:

I had a 20GB drive as the primary master with Win2k installed on the only partition. (my secondary master is a CD burner and my secondary slave is a DVD-ROM drive). I bought a 40 GB hard drive and Mandrake 8. I put the 40 GB drive in as the primary master and made the 20 GB drive the primary slave. I installed Mandrake from the CDs onto the 40 GB drive. The Mandrake installer saw my Win2k drive as a windows partition, put it in /etc/fstab, and didn't touch it. It added the following to /etc/lilo.conf :

Code:
other=/dev/hdb1
label=windows
table=/dev/hdb
map-drive=0x80
    to=0x81
map-drive=0x81
    to=0x80
Now, lilo gives me the option to boot into Windows. When I do so, Win2k boots without complaining. It labels the primary slave as drive C and doesn't see the primary master. It also sees both CD drives (as D and E).

So what I would do if I had to start from scratch is make the Windoze disk the master, install Windoze, switch that drive to slave and set up the Linux drive as the master, install linux, add the above code to /etc/lilo.conf, run lilo, and try to reboot into Windoze.

We have to install Windoze first because we can't trust it not to screw up the MBR, but Linux can be trusted not to break an existing Windoze setup as long as you don't mess with existing partitions.

Good luck.
 
Old 11-07-2001, 02:05 PM   #8
eliszka
LQ Newbie
 
Registered: Oct 2001
Location: Colorado
Distribution: Currently Mandrake 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, it worked!
I unplugged the primary disk with linux on it, and made the new disk the only one, master on primary. Installed windows, then made the windows disk a slave to the linux disk, booted linux fine. Added the following to /etc/lilo.conf:

other=/dev/hdb1
label=win98se
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

Works fine, didn't have to do anything to linux other than modify lilo.

Thanks for all the help!!
Eric.
 
Old 11-07-2001, 10:46 PM   #9
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
  


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
Installing FC3 on primary slave HDD... oolceeoo Linux - Hardware 2 02-22-2005 09:59 PM
installing slack onto the primary slave fobius Slackware - Installation 10 02-24-2004 10:38 AM
Installing Windows along with Pre-Existing Linux steyr Linux - Newbie 3 02-10-2004 06:49 AM
Moving linux hard drive to primary slave flyboy320 Linux - General 4 01-23-2002 11:30 AM
Installing Linux 7.1 to existing win98/win2k setup... Maddoc52 Linux - Newbie 5 09-20-2001 05:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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