Ok, I tried using vliloconf to find the usb stick and it found it when it was asking where to put the mbr but not when it showed the available operating systems to include in the lilo menu. At the top of lilo.conf, there is a line that says: boot = /dev/hda1 (which is where my mbr is located which is correct) I ran liloinst.sh (on the usb stick) to make it bootable. liloinst.sh makes an mbr on the usb drive where it is run. Is there a way to put an entry in lilo that simply redirects (when selected) to the mbr on /dev/sda (my usb stick) ? Another "boot=" line perhaps? I tried putting another stanza in lilo.conf already but it didn't boot when selected and gave me the error: 0x03 (or 0x0E, something like that). Here is the stanza I put in:
# Partition 5: USB
image = /media/disk/boot/vmlinuz
root = /dev/ram0
label = USB
append = "ramdisk_size=6666 changes=slaxchanges"
read-write
initrd = /media/disk/boot/initrd.gz
I got the stuff for this from the lilo.conf file which liloinst.sh made and put on the usb stick while making it bootable. Here is the lilo.conf file which was generated by liloinst.sh:
boot=/dev/sda
prompt
timeout=40
lba32
compact
change-rules
reset
install=text
image=/media/disk/boot/vmlinuz
initrd=/media/disk/boot/initrd.gz
label=Slax
root=/dev/ram0
read-write
append = "ramdisk_size=6666 changes=slaxchanges"
(kind of a mess compared to the normal lilo.conf but there it is) I have successfully booted a laptop with this usb stick (after making it bootable with liloinst.sh) so the above lilo.conf definitely works. Can anyone help me with this?