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...)
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.


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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux apache localhost dev laptop 5 48
Check if a filw is immutable for a certain amount of time 6 45
Python variable _ manually assigned 9 63
Choosing CentOS 16 50
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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 …
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 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…

914 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

17 Experts available now in Live!

Get 1:1 Help Now