You could write your own lilo.conf or use Grub instead.
Grub1 is possibly the easiest. Just get hold of a Linux (anything other than Ubuntu 10.04 or distros based on it as they use Grub2 now) and do the following
(1) Boot up the Live CD, mount your sda2 containing the Slackware. Make a /boot/grub directory.
(2) Copy 2 files stage1 and stage2 from the boot up Linux and put these 2 files in Slackware's /boot/grub directory. The stage1 and stage2 are normally available in the /boot/grub of the boot up Linux. You can also find them in other dirctories by "find / -name stage1"
(3) Invoke a Grub shell from the boot up Linux and set up Grub by commands
Code:
grub
root (hd0,1)
setup (hd0)
quit
(4) If reboot now your PC will boot to a Grub prompt with which you can boot Slackware manually by commands
Code:
root (hd0,1)
kernel /boot/vmlinuz ro root=/dev/sda2
boot
(5) If you are happy with the result you can make the arrangement permanent by adding menu.lst to /boot/grub directory with the following entries
Code:
title My Slackware 13.1 booted by Grub
root (hd0,1)
kernel /boot/vmlinuz ro root=/dev/sda2
Slackware is great but its Lilo is crap. Absolute also based on Slackware but has a much better Lilo (or a better installer configuring Lilo properly).
The above is the minimal install of Grub. Same thing can be done with Grub2 if you want it instead of Grub1.
Grub is easier because you can boot every system "manually" if you have a need to. If you "dd" stage1 and stage2 into a floppy it can boot any installed system ever invented on a PC. Lilo is rigid that it only boots whatever you put inside /etc/lilo.conf.
Haven't used one for a long time but you can use Slackware installation CD or DVD to install Lilo again or run program "liloconfig" (I think) at a Slackware terminal to try Lilo again.