[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


How do I modify my XP's bootloader to add my Linux install?

Posted on 2005-04-09
Medium Priority
Last Modified: 2013-12-15
I don't want to use LiLo cause I want to leave my primary HD untouched as much as possible from the Linux stuff. SO, how do I add my new Fedora install that I just threw on a secondary drive to the windows boot menu? (Boot.ini)
Question by:Sootah
LVL 35

Expert Comment

by:Duncan Roe
ID: 13746682
I would not expect Boot.ini to cooperate in that regard.
Instead I would make a lilo boot floppy to load Linux. It can reference files on your secondary disk directly or can be self-contained. There's plenty of room in a 1.44Mb floopy for a configured kernel and initrd - the modules themselves will come off the HD. I've appended my lilo.floppy.conf as an example (no initrd)/
BTW you have a good philosophy to not touch your main HD - at work I used to dual boot with lilo and with linux on hdb, until hdb had a head crash. Then the lilo boot would not load Windows because the map file was on hdb. So now I boot windows off a lilo floppy which has an "other" entry and nothing else :/

# LILO configuration file
# Start LILO global section
boot = /dev/fd0
map = /fd0boot/map
timeout = 1200
root = current

# End LILO global section
# Linux bootable partition config begins
image = /fd0boot/v2.6.7

Entry in /etc/fstab:
/dev/fd0         /fd0boot         ext2        noauto,user      0   0

The boot floppy is ext2 so msdos filesystem can be a module


Expert Comment

ID: 13746984
you can do it with liloconfig

also you can add this to your lilo.conf

other = /dev/hda1
       label = Windows
       table = /dev/hda

if your hard disk if on your firs chanel and is master it's HDA
and type
LVL 14

Expert Comment

ID: 13748909
install the lilo to the partition where yoru linux is then edit the boot.ini and add the line like this
multi(X)disk(X)rdisk(X)partition(X)\WINNT="LINUX" changing the X according yoru configuration

Author Comment

ID: 13749086
Mkay, how do you install LiLo?

I'm a complete newbie at Linux. I can boot to the recovery using the DVD I burned, but have no idea from there what to do.
LVL 38

Accepted Solution

wesly_chen earned 2000 total points
ID: 13750128

   If you don't want to Linux boot loader on MBR, then you can install it on your Linux boot partition (remember this
partition number, i.e. /dev/hda3) and download bootpart from
There is details instruction on that URL.

   However, the Linux boot loader come with Fedora is Grub by default. Grub is very reliable.
The Fedora installation process will take care of the boot loader without problem.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month19 days, left to enroll

834 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