two operating systems

Posted on 2000-05-11
Last Modified: 2013-11-15
i want to work with two operating systems on one HD
one of them is linux and the other one is windows

how do i do that using LILO?
Question by:aviran
  • 3
  • 3
  • 2
  • +2

Accepted Solution

BERRY2K earned 50 total points
ID: 2801036
You install Lilo on the master boot record, make sure it has an entry for both OS and then select one at boot time from the Lilo: prompt.

You probably already have windows installed, in which case you use a program like partition magic (comes with many distros) to create a linux native and a linux swap partition. Then boot from the distribution CD or floppy and install linux on the native partition. The setup program will most likely setup lilo for you.

Any recent distribution is going to have tools to dual-boot with other operating systems. They all vary a little but basicly you'll get what I described above.

Author Comment

ID: 2801351
when i install linux do i have do create a partition for windows
if yes than what type of partition?

Expert Comment

ID: 2802104
i hope its the other way u have to partition the hard disk for the OS' and install the windows first. Then boot teh system(anyway windows does it) with cdrom so basicall u have to change the boot sequence with cdrom boot as first boot device. Then linux automatically starts. if u r a new bie u have to press enter when it asks for the type of installation I mean just an enter key press. then it asks a few questions for which u have to say yes or no... then comes the partition part. opt for diskdruid and it will take u to diskdruid. u will say two partitions one already with windows but represented as fat32. dont touch it. go for the the otehr partition. click on it and click add. a window opens and just check on swap space give how much MB u want to leave for swap. a min of 250mb is better option. then clcik on ok. the swap is basically for moving files in and out by OS. then click on add again. teh same old window comes. click on "linux native space" then give the name of the mount point as "/"(only the symbol inside quotes). tehre will be an option just below the place where u typed / click on the radio button which says increase... so now the root occupies the rest of the area. it may say 995 filled just ignore and click ok. This place is where everything is installed and user accts are created. u have more options while adding the native spaces. u can have any number of native spaces. only one is the root ie / and the rest can be opt etc.. where u can make the disk again partiotioned into many areas for your needs(choose the last partition u make to grow to full disk the earlier ones u can give on ur choice). then it will ask u want custom installation or typical where it will do the job for u. also go for workstation whether it is kde or gnome is ur choice. its the gui difference and the taste is urs. click on next then it starts installing. finally if u have a static ip it will ask that stuff. give it and it willa sk for root password. choose ur own. it may ask for any user accts to bve created at tat time. if u want u can opt for it. finally it will say u want Master Boot Record. ie the lilo installation click and choose it. it will ask default os load (ie when u start computer u will get a lilo prompt if u press enter this default os will start) then press ok. taths it. it will reboot and the lilo appears. if u press enter or wait for sometime the default os will load. else if u type linux, linux will load or if u type dos windpws will load. anyway happy installation

Expert Comment

ID: 2802966
or already have it installed
you must do this
1) run MSCONFIG and deselect everything on the startup tab exept for scanreg and systray
2) right click on mycomputer>properties>performance>
virtual memory .....then select let me specify virt settings for min=0 max=0
do not restart your computer now
3) find the file named Win386.swp
and delete it
4) run scandisk and defrag
5) create a start-updisk
6) put the linux CDROM into the bay and copy RESTORRB.EXE, FIPPS.EXE, ERRORS.TXT and READ the README doc
7) follow the fips instructions (PRINT IT OUT)carefully lots of people have used it and have not damaged the drive but there's always a chance for a mistake
8) ps after you used FIPS don't forget to delete the primary DOS drive (not the one with WIN)
9) restart your computer with the linux CD in the bay and follow the instructions as above
10) good luck

Author Comment

ID: 2803915
i don't have windows installed already
when install linux do i have do create a partition for windows?
if yes than what type (linux native,dos...)
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline


Expert Comment

ID: 2805255
It would be in your best interest to install windows first, but if not you will have to create a DOS partition to install windows onto from a linux fdsik or disk druid. It sounds like you haven't installed either OS, if you've tried to before and experienced problems post them here and we can help you with them. Otherwise try what we've detailed here and see if you can get something going.

Expert Comment

ID: 2805268
no if u have windows already installed and an empty partition then go ahead with linux installation. if u dont have a partition but want to do it. there are two ways use partition magic to partition the disk into two (or more...of ur choice) then install linux else u can format the entire system and  partition it into two using fdisk. one is the master partition and the second is extended partition.

then install windows first and as usual as said above install linux next

Expert Comment

ID: 2805293
oops forgot if u are creating two partitions the first is the primary DOS partition and the second is extended partition using fdisk.

its better and easy if u install windows first and linux next.

Expert Comment

ID: 2859072
anyway, if you install your linux first and windows next, you may meet a problem with "log into" linux , as Windows has overwrite your MBR (master boot record). You may solve this problem by using the boot disk or load it from your dos (you may need a file called loadlin.exe and type in loadlin vmlinuz root=/dev/hda3 (something like this).
Hope this help :)

Author Comment

ID: 2979560
Answer accepted

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
IBM MQ moving messages from error queue 4 73
How to gracefully close the c++ 11 thread? 3 66
Open Camera IP 8 92
Issue to mail 11 39
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now