Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-04-2001, 02:16 PM   #1
Registered: Jun 2001
Posts: 30

Rep: Reputation: 15
Question bootloader


i have 2 HD --> HDA = win2k, HDB = Mandrake 8.0.
Bootloader is LILO and I can boot both OS's.
i would like to use Win2k bootloader (boot.ini) to be able to choose which OS and NOT LILO.

Can someone tell me how i can achieve this?


m khan
Old 07-04-2001, 02:29 PM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
The way that I've done this with NT in the past (same as Win2K AFAIK) is to install LILO to the superblock of the Linux partition, then extract the superblock (and hence LILO) to a file using
dd if=/dev/hda3 of=/someDir/bootsect.lnx bs=512 count=1
This extracts the first 512bytes from /dev/hda3 (assuming this is your linux partition where you put LILO). Now get your bootsect.lnx file to c:\ under Windows and edit boot.ini to add a line that looks something like
(if you're doing this from the command line you'll need to remove the system and readonly setting of the file first, and replace them after [use 'attrib']). When you reboot you should see an option to boot 'Linux' - this will read bootsect.lnx, hence hit and execute LILO and you're away.

Just remember that you need to repeat this process everytime you reinstall lilo, which is something you'll do everytime you rebuild your kernel!

Have a read of for more details. I think there's another way to do it too...


Old 07-04-2001, 10:02 PM   #3
Registered: Sep 2000
Location: Michigan
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
Jharris is correct. This may add to it. See item 3 at:
It gives step by step instructions on how to set it up based on the mini howto mentioned above and more.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 10:55 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 01:22 PM
No Bootloader! JoshSmith41 Linux - Newbie 4 07-28-2003 04:24 AM
Bootloader Dumpsterm0uth Linux - General 6 05-26-2003 01:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration