Dual boot windows98 and Linux

Posted on 2000-04-24
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.

Question by:wile
LVL 17

Expert Comment

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

Expert Comment

ID: 2748267
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...

Author Comment

ID: 2748398
Look at psimation answer..above
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.


Expert Comment

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.

Author Comment

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

Author Comment

ID: 2752016

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

LVL 15

Expert Comment

ID: 2754336

you can alway accept the comment as answer.


Accepted Solution

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!!!


LVL 17

Expert Comment

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.:)

Author Comment

ID: 2760084

LVL 17

Expert Comment

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

Author Comment

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

LVL 17

Expert Comment

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

Author Comment

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

Thanks again.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CentOS 7 Linux for HP DL380 G4 32Bits 7 79
CLI command keep running after close 7 56
c++  placing data into a form and an editbox 5 23
SMTP log file for IMSVA 5 34
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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