This is an example using the Windows "ntldr" to boot XP,Debian,Slackware and Minslack (CLI only). I created a softlink from the /boot/image (vmlinuz or bzimage) to "/" in order to forego the pleasure of having 2 bootscreens and
booting straight to the kernel. The examples are from Slackware but they're generic. Here's an example of lilo.conf with everything commented out except the essentials.
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hdb6
#message = /boot/boot_message.txt
#prompt
#timeout = 1
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# End LILO global section
# DOS bootable partition config begins
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /vmlinuz-ide-2.4.18
root = /dev/hdb6
label = Slack
read-only
# Linux bootable partition config ends
Note that the image= is not in the /boot. Run "/sbin/lilo" If you get a "Warning" that this is not the first partition. You did good. Now create your bootsect file.
root@whatever#dd if=/dev/hdb6 of=/bootsect.slk bs=512 count=1
Copy the bootsect.slk to the drive where "ntldr" and "boot.ini" reside. (Normally C
by using a dos format floppy or e-mail it to yourself.(Not my idea but it was too cool) Then add a line to "boot.ini" Here's mine.
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\bootsect.dbn ="Debian"
C:\bootsect.slk="Slackware"
C:\bootsect.slm="Minslack"
Reboot and pic your flavor.