/etc/lilo.conf
stanzas include
boot=/dev/hda
: The location of the first stage loader.map=/boot/map:
The map file to install.install=/boot/boot.b
: The second stage loader. If this is omitted, the default is /boot/boot.b
.prompt
: Displays the LILO prompt without requiring the user to press the Shift key. If this is set, but the timeout is not set, the prompt will wait indefinitely.timeout=50
: The time, in tenths of a second, the computer will wait for the user to intervene at the LILO prompt. If this value is not set, the computer will wait indefinitely.delay=50
: The time, in tenths of a second, the computer will wait before booting the default image. If this value is absent or zero, the computer boots the default image immediately.message=/etc/lilo.msg
: A file containing a message to be displayed at the LILO prompt.linear
: Generates linear sector addresses rather than sector/cylinder/head
addresses for hard drives. This is needed only for some hardware, but should not be changed without first consulting your hardware's documentation.
password=redhat
: A password is required to boot the machine. Because the password is kept unencrypted in /etc/lilo.conf
, you should be certain that the file is readable only by root.
To do this, type chmod 400 /etc/lilo.conf
.
restricted
: A password is required only if parameters are passed at the LILO prompt.default=linux
: Specifies the default image to be booted if none is specified by the user. (If none, use image in first stanza.)boot = /dev/hda delay = 30 image = /boot/vmlinuz root = /dev/hda1 label = Red Hat 5.2 image = /boot/vmlinuz root = /dev/hda2 label = S.U.S.E. 8.0 other = /dev/hda4 table = /dev/hda label = MS-DOS 6.22