If it helps, I had to do this on my RH7.1 just yesterday. I booted with the cd, and did "linux rescue". That automatically mounts all the file systems under /mnt/sysimage. I then did:
lilo -r /mnt/sysimage sync sync
and unmounted each file system, working backward:
umount /mnt/sysimage/proc umount/mnt/sysimage/var etc. to umount /mnt/sysimage
and finally exited the shell (' exit or ctrl-d) , removed the cd and rebooted.
BTW, what did me in was adding a new scsi device and "not quite" getting the cable seated correctly :-)
If you have a separate boot partition, you need to mount that:
mount /dev/hdawhateveritis /mnt/dsk/boot (maybe /dev/hda1 or you can probably just do "mount -L boot /mnt/dsk/boot"
lilo -r /mnt/dsk sync umount /boot umount /dev/hda5
NOW- don't just jump off and do this. Read it all again. Read my original message again. Do a google search ( https://www.google.com ) for "lilo rescue" and read some of the things that come up. When you UNDERSTAND what you are doing, then do it.
Got something to add? Send me email.