2.9. The LILO Configuration File

The LILO configuration file is /etc/lilo.conf. The /sbin/lilo commands uses this file to determine what information to write to the MBR.

WarningWarning
 

Before editing /etc/lilo.conf, be sure to make a backup copy of the file. Also, have a working boot disk available so that changes can be made to the MBR if there is a problem. Refer To the man page for mkbootdisk for more information on creating a boot disk.

The /etc/lilo.conf file is used by the /sbin/lilo command to determine which operating system or kernel to load and where it should be installed.

2.9.1. Sample /etc/lilo.conf

The following is a sample /etc/lilo.conf for a system configured to boot two operating systems, Red Hat Enterprise Linux and DOS:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
lba32
default=linux

image=/boot/vmlinuz-2.4.0-0.43.6
	label=linux
	initrd=/boot/initrd-2.4.0-0.43.6.img
	read-only
	root=/dev/hda5

other=/dev/hda1
	label=dos
 

The following is a more detailed look at the lines of this file: