Solved

dual boot with Win2000

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

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.

Question has a verified solution.

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

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

920 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