?
Solved

two operating systems

Posted on 2000-05-11
10
Medium Priority
?
254 Views
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?
0
Comment
Question by:aviran
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +2
10 Comments
 

Accepted Solution

by:
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.
0
 
LVL 2

Author Comment

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

Expert Comment

by:sreeramkr
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
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Expert Comment

by:johnny1234
ID: 2802966
GET ALL AVAIL. INFO ON ALL HARDWARE
REMEMBER AFTER YOU INSTALL WIN
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
0
 
LVL 2

Author Comment

by:aviran
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...)
0
 

Expert Comment

by:BERRY2K
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.
0
 

Expert Comment

by:sreeramkr
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
0
 

Expert Comment

by:sreeramkr
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.
0
 

Expert Comment

by:ahchong
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 :)
0
 
LVL 2

Author Comment

by:aviran
ID: 2979560
Answer accepted
0

Featured Post

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
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
Suggested Courses

719 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