Solved

dual boot with Win2000

Posted on 2000-05-01
2
223 Views
Last Modified: 2010-04-20
Trying to get LILO to work with Win2000.  Cannot get it to write to the boot sector.  Does not reconize the 2000 format.

Any suggestion on how to get it to work?

0
Comment
Question by:hunter050100
2 Comments
 
LVL 2

Expert Comment

by:modulus
ID: 2767753
Are you attempting to have lilo started from a DOS MBR?  What exactly is your setup?  If you are trying to do the former then you don't need lilo to write to a DOS boot sector.  It should be written to a linux boot sector and fdisk used to activate that partition.

IMPORTANT:  make all the backups that your documentation recommends! (copy the MBR to a floppy etc.)
0
 
LVL 2

Accepted Solution

by:
mattrope earned 50 total points
ID: 2767865
Here's how I got around the 2000/Linux booting problem:

Create a lilo.conf file that begins with the line:

boot=/C/bootsect.lnx

(Replace /C with the mount point of a FAT drive that you can read from Linux.)

The rest of the lilo.conf file should be the same as you had it before.

Now run /sbin/lilo.  Instead of writing to the MBR, it will write the information into an image file on your FAT partition.

Now load up Win2000 and edit your boot.ini file.  Add the following line:

c:\bootsect.lnx="Linux"

Save the file and restart your computer.  The NT boot loader should come up and it should have a "Linux" option.  If you select "Linux," it should proceed to load LILO and you can type in whatever startup parameters you want.

Although you can make it so the Linux option automatically starts Linux and doesn't even stop for the LILO prompt, this probably isn't the best thing to do because it makes it harder to boot into single user mode if something goes wrong.

Hope this solution works for you.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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…
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 …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 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