If you run "lilo" all you will do is install the /etc/lilo.conf file that you already have on your system. If you have that file messed up (which you obviously do since you've done this and it won't boot), then you'll need to reinstall LiLO altogether (as you've stated and asked 'how to do').
If you run "lilo -f /etc/lilo.conf" all you're doing is specifying the disk geometry parameter file. This is not necessary, and it will give you output such as
Code:
bash-2.05b# lilo -f /etc/lilo.conf
Fatal: Invalid line in /etc/lilo.conf:
"append="hdb=ide-scsi hdd=ide-scsi apm=power-off""
or something that will be of no value to you, with your present knowledge of your OS and LiLO.
You can boot into Slack with the Slackware-10.0 CD1 by booting with it and then at the prompt type
# bare.i root=/dev/hdb3 noinitrd ro
and that should get you back into Slackware.
All you need to do is run "liloconfig" as previously stated, and then choose the expert installation method. Open a terminal, such as xterm, login as root, and type "liloconfig" without the quotes. If you need help knowing what to choose, there are some instructions in this
thread - read Post #7.
The important options for you according to your posted "drive configuration" are:
Select LILO target location - MBR
Confirm location to install LILO - /dev/hda
Select Linux partition - /dev/hdb3
Select DOS/Windows Partition - /dev/hda1
If you've messed up your /etc/lilo.conf file, and need help rewriting it, just post back and ask.
I'm not saying the other gentlemen are incorrect, but this method is the 'Slackware way.' But for sure Slackware does not encourage you to use the Windoze NTLDR bootloader.