Solved

dual boot with Win2000

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…

762 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