For whatever reason, if you have to reinstall LILO, you will need the /etc/lilo.conf file. This file contains a desription of the disk that Linux has to recognize. If the installation of LILO failed during the installation procedure, you will definitely need to create this file. To create it, use an editor (kedit, jed, emacs, vi...). For example, with kedit, type:
kedit/etc/lilo.conf.Here is a simple example: your system has a Linux system and a Dos system on two partitions of your principal disk (/dev/hda). This is the /etc/lilo.conf configuration file you have to create:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.0.36
label=linux
root=/dev/hda1
read-only
other=/dev/hda
label=dos
table=/dev/hdaYou must modify these parameters according to the configuration of your disks (SCSI disks, several disks,etc). To reinstall LILO from your new /etc/lilo.conf file, you simply have to type:
/sbin/lilo