Solved

dual boot with Win2000

Posted on 2000-05-01
2
226 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

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.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
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.

730 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