Solved

Dual boot windows98 and Linux

Posted on 2000-04-24
14
341 Views
Last Modified: 2012-05-04
I have a 700mh with two HD drives(5.1 GB
each) and 128MB ram. The first drive as
Windows98 and the Second drive is reserved to Linux. I want to be able to
boot to either system, Win98 or Linux.

I've heard that System Commander can
do that but is there a cheaper way?

I new, so be specific, or examples of
the solution to my problem.

 
0
Comment
Question by:wile
14 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 2746769
if you want to install Windows on one disk and linux on the other, the easiest way to change between the two operating systems would be by using your CMOS boot sequence to change between drives. However, some people don't like this option, or simply their pc's can't boot from different drives( cmos too old). Another way to do this is with a boot loader. Windows 98 doesn't have a boot loader, so you'll have to use linux boot loader (LILO). I suggest you do the following. Take your first hard drive and create a partition for windows, but don't use the total disk space, leave say 100MB for Linux. (ie. with fdisk just create a partition of 5GB and leave the 100MB as is without partitioning it)
Now install win98 on the 5gb as normal. Once finished, start Linux install. During install it will ask you to allocate partitions for Linux, Dsikdruid (Linux partition program) will show you a list of all available space and partitions on your system. hda1 will be your windows partition. The hdb device is your second hard drive. Now create a linux swap partition on hdb. The create a linux native type partition with mount point /boot on the hda device with the rest of the available size of the first disk. Now you can create another Linux native partition on hdb with mount point /  and you can give it all the space of the remainder of the second drive.
Once finished, your PC will always boot up with a LILO: prompt, and if you press tab, you can select between windows and linux
0
 
LVL 4

Expert Comment

by:garisoain
ID: 2748267
By CMOS (BIOS):
every time you want to change your boot system, you'll need to change the boot sequence on the CMOS Setup section of your BIOS...

By Linux:
Linux by default got LILO (Linux Loader), it's a boot manager...
when you install linux, it will ask you where your booteable partitions are... just select the right ones, and it will work...
as a reference:

/dev/hda is Primary Master
/dev/hdb is Primary Slave
/dev/hdc is Secondary Master
/dev/hdd is Secondary Slave

and, if you have partitions, they will be:
/dev/hda1 , /dev/hda2 , /dev/hda3 : if you have 3 partitions on your Primary Master HD...

*Note: actually, LILO can only boot from partitions that start before the 1024 cylinder, future releases of the linux kernel got fixes for this bug...

By Windows:
you can BUY the Partition Magic software, it comes with a boot loader program...
0
 

Author Comment

by:wile
ID: 2748398
Look at psimation answer..above
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 1

Expert Comment

by:friebele
ID: 2749759
psimation is correct is some respect but you do not need to touch your windows harddrive. Linux will happily install on a second harddrive provided that it is on the primary channel, ie. both harddrives will be on the same ide cable. Make sure that the windows disk is the master and the linux drive is the slave. The slave drive is known as drive hdb and the windows is hda. I have RedHat 6.0 installed at home and the installation routine is happy to use this configuration. Also make sure that the disk in in LBA mode so that the root partition contains less than 1024 cylinders otherwise you will have boot loading problems. Since you have a 5GB frive this should not be a problem. Only a drive greater than 8GB will exceed 1024 cylinders in LBA mode. Note if you are installing windows as well, do this first as it will overwrite the boot sector. Make sure when installing Linux that lilo installs on the primary master master boot record, otherwise Linux won't be recognised at startup.
0
 

Author Comment

by:wile
ID: 2749891
I haven't tried your method...yet..
You should have been a comment and not a
solution.  
0
 

Author Comment

by:wile
ID: 2752016
psimation

The answer works!
Make it a solution and get the points.

Wile
0
 
LVL 15

Expert Comment

by:samri
ID: 2754336
wile,

you can alway accept the comment as answer.

0
 

Accepted Solution

by:
roundst earned 20 total points
ID: 2756458
The way i do it (which also avoids confusion with the wife!) is to install the two OSs on separate drives, but install the boot loader on a floppy disc (RH 6.0 gives you the  option). Then when you want Win98 (spit) you boot without a floppy, and if you want linux, boot with the floppy.
This has kept me going for ages. Even when i upgrade the kernel, i just do it on the floppy!!!

HTH

Chris!
0
 
LVL 17

Expert Comment

by:psimation
ID: 2759922
Hi, If my comment did the trick, you can just click on the button next to the comment that says " Accept comment as answer", that will give me the points.
Glad to be of help.:)
0
 

Author Comment

by:wile
ID: 2760084
Thanks..

Wile
0
 
LVL 17

Expert Comment

by:psimation
ID: 2761556
Hmm, seems like you accepted the wrong comment as answer...
0
 

Author Comment

by:wile
ID: 2762069
I pushed the Accept button...as you
directed...Yes, it was suppose to
go to psimation...Hmmn...can I fixed
it??

0
 
LVL 17

Expert Comment

by:psimation
ID: 2762098
Never mind, it's not alot of points, I'll get it next time...
0
 

Author Comment

by:wile
ID: 2762186
Next time I get a solution from you I'll
up the points...

Thanks again.

Wile
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 95
High Bandwidth Usage 6 75
Using Linux to replace Windows Server 2008 R2 for network drives 5 106
moto 4g phone enable finger print 4 26
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question