Solved

dual boot with Win2000

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

765 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