LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-08-2002, 11:29 AM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
installing windows on a computer with linux


I have red hat 7.2 on my primary master hard drive. There is a blank primary slave drive that I want to install windows 98 on.

Will this be safe? Will installing windows 98 destroy/interfere with anything on my red hat 7.2 system?
 
Old 03-08-2002, 12:19 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
windows doesn't like to be slave and it also will wipe out your MBR and overwrite it if you do install it.. having you to reinstall your bootloader to the MBR.. and tricking windows on thinking it is the master drive instead of the slave drive.. which you can do.

-trickykid
 
Old 03-08-2002, 12:23 PM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
What if I temporarily remove my primary master hard drive (which contains red hat 7.2).

Jumper my primary slave to be the new primary master.

Install windows 98.

Put back my primary master (containing red hat 7.2).

Put back my primary slave (now containing windows 98).

Would that work?
 
Old 03-08-2002, 12:28 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
yeah..that would work, but you will have to edit your lilo to trick windows thinking it was still the master drive..
something along the lines like this:

other=/dev/hdb1
label=windows
table=/dev/hdb
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

and also check out www.linuxdoc.org for boot options, lilo.. or whatever your using to load. cause you can do that, it just won't boot into windows without editing your loader..

-trickykid
 
Old 03-08-2002, 01:39 PM   #5
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
If anyone else is wondering how to do this, I found an EXCELLENT howto located here http://www.linuxdoc.org/HOWTO/Linux%...%2BGrub-HOWTO/ (Thanks to trickykid)

This describes how to use grub to install windows 9x, on a system already running linux. (grub is able to fake out windows so the mbr and things are not overwritten).

Word of warning, it only works with 9x, not NT, 2k, or xp as far as I know.

Last edited by glock19; 03-08-2002 at 01:40 PM.
 
Old 03-08-2002, 01:58 PM   #6
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
After installing win98 per those instructions, when i boot up Win98se for the first time, there is an error:

Code:
Cannot find or load required file KRNL386.EXE  Access to the file was denied.
Does anyone know what this problem is?
 
Old 03-08-2002, 03:42 PM   #7
Scotty2435
Member
 
Registered: Dec 2001
Location: Waco, Texas USA
Distribution: Redhat 7.1
Posts: 232

Rep: Reputation: 30
did you remember to make the changes to lilo and write the mbr by running
lilo
at a prompt?
 
Old 03-08-2002, 04:09 PM   #8
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
I'm using grub. For some reason I get this error after installing win98se on my primary slave. I already edited grub to do the mappings to fake win98 into thinking its writing to the mbr, but actually only to grub.
 
Old 03-08-2002, 06:01 PM   #9
Scotty2435
Member
 
Registered: Dec 2001
Location: Waco, Texas USA
Distribution: Redhat 7.1
Posts: 232

Rep: Reputation: 30
i don't know much about grub but you need to make sure grub write to the mbr after you make changes to it
 
Old 03-08-2002, 06:16 PM   #10
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
The changes I made to grub.conf are fine. The problem is that I can't get win98se to properly install on my primary slave hard drive. I'm not going to rehash, I describe it above. Does anyone know what the problem is?
 
Old 03-08-2002, 10:06 PM   #11
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I looked at your link. I never saw the mapping of the drives set up that way. If I was going to set it up, I would do it this way:

title win98
rootnoverify (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

<Edit> Moved ' chainloader +1 ' to end of code.

Last edited by linuxcool; 03-11-2002 at 07:20 PM.
 
Old 03-08-2002, 10:07 PM   #12
Touchstone
Member
 
Registered: Nov 2001
Location: Ontario, Canada
Distribution: RH 7.2
Posts: 31

Rep: Reputation: 15
The best way is to back up all of your configs and data, then start over.
At my work I have to install Win98 , Win2k, and RedHat 7.2 on all of the development computers for the software engineering department. The general rule is to install (in this order) Win9x, Win2k, then Linux. If you use Grub you don't have to worry about having the "/boot" partition after the 1024th cylinder. it gives you alot of freedom with your partition structures and better support for large drives.

I have had some problems trying to get Win98 to run on a slave drive. It will get past the first two stages of loading ( Config.sys and Autoexec.bat) and then just freeze, it will start in safe mode though, go figure.

It may be possible to install Win9x second and have it work however with how easy the setup is on RedHat 7.2, why fight with it!!!!

You might want to try a removable HDD system if you don't need to share Data.

--Touchstone
 
Old 03-11-2002, 11:19 AM   #13
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
Hey linuxcool, I think the syntax for your mappings are incorrect.

Isn't it like this:

map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)

The number before the comma is the drive number. The number after the comma is the partition number.

Hey Touchstone, have you ever been able to get win98 to run on a slave drive if red hat 7.2 is on the master drive? Has anyone been able to get that to work?
 
Old 03-11-2002, 12:32 PM   #14
Touchstone
Member
 
Registered: Nov 2001
Location: Ontario, Canada
Distribution: RH 7.2
Posts: 31

Rep: Reputation: 15
I could not get it to work. It would boot in safe-mode but the system would hang in normal boot mode. I could never figure out the differance between safe and normal mode that caused the errors at boot. I went so far as to comment out all of the configuration options in Win.ini and System.ini (essentially running Windows in safe-mode) I found out Windows seems to load by relative path in safemode, and in Normal boot it loads from static a device map. Therefore if you load Windows onto the primary partion of your master drive on your first IDE bus, it can't boot if you move the drive to a slave position. I could be wrong but I have never been able to get it to work.

Last edited by Touchstone; 03-11-2002 at 12:37 PM.
 
Old 03-11-2002, 07:18 PM   #15
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I got that info from here . Go to the bottom of the page to see it. I made a mistake in the code. It should be:

title win98
rootnoverify (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing linux on a computer and use hard disk on another computer danrweki Linux - Newbie 8 11-16-2005 10:11 PM
How do I run Linux and Windows on the same computer? arctic123 Linux - General 18 10-22-2004 08:57 PM
Using printer on Windows computer through Linux drethenerd Linux - Wireless Networking 2 09-07-2004 08:22 PM
Why would a windows computer smoke a linux computer for download speed ? lostboy Linux - General 4 10-21-2003 05:20 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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