Go Premium for a chance to win a PS4. Enter to Win


two operating systems

Posted on 2000-05-11
Medium Priority
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 100 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month6 days, 16 hours left to enroll

782 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