You can store configuration options for the map installer in the file /etc/lilo/config or /etc/lilo.conf (depending on the version of Linux). The file consists of sets of parameter-value pairs, although some options do not need a value. You can use whitespace between the parameter and the equal sign and between the equal sign and the value. You can include comments by starting the line with a pound sign. A new line character terminates the comment. As a rule, variable names are case insensitive, while values are usually case sensitive. It is good practice, though, to keep all entries lowercase (as is UNIX convention).
You can put the following options into the map installer configuration file /etc/lilo/config or /etc/lilo.conf:
* The alias=name option allows an image to be called by the string name as well as its normal filename.
* The append=string option appends string to the command line passed to the kernel. This option is mostly used to pass boot parameters for hardware devices that are not automatically detected by the kernel.
* The backup=file option copies the original boot sector to file instead of /etc/lilo/boot.hex_num. You also can specify a device (like /dev/null) instead of a file.
* The boot=dev option specifies the device that contains the boot sector. If no name is specified, the currently mounted root partition is used.
* The compact option merges read requests for adjacent sectors into a single read request, reducing the load time and file size. This option is commonly used with floppy disks.
* The delay=secs option gives the time in tenths of a second that the system should wait before booting the image. If no delay is provided, the boot is immediate.
* The disktab=file option gives the name of the disk parameter table. If no filename is given, /etc/lilo/disktab is used.
* The fix-table option lets LILO adjust sector/head/cylinder addresses. This option is usually used with operating systems that may change these addresses. LILO readjusts incorrect entries if fix-table is specified.
* The force-backup=file option is similar to backup, but it overwrites any existing file. If force-backup is used in the configuration options, any other backup option is ignored.
* The install=sector option installs the image in the specified boot sector. If no value is given, /etc/lilo/boot.b is used.
* The label=name option renames an image to the alternate string name.
* The linear option generates linear sector addresses instead of sector/head/cylinder addresses. Linear addresses are independent of disk geometry and are translated in real time. Linear boot disks may not be portable.
* The literal=string option is similar to the append variable but it removes any other options, using only those specified in string.
* In the map=file option, file is the map file location. If no value is given, /etc/lilo/map is used.
* The message=file option uses the contents of file as a message displayed before the boot prompt. The message cannot be larger than 64K. If the message is changed or moved, the map file must be rebuilt.
* The optional option makes an image optional. If the image’s file can’t be located, it is not booted. This option is useful for testing new kernels.
* The password=password option sets a password for all images. If the restricted option exists, a password is required only to boot the image to which the configuration file refers.
* The prompt option forces the boot prompt without checking for any keypresses. This option is usually combined with the timeout option to force unattended reboots.
* The ramdisk=size option sets the optional RAM disk to size. A setting equal to zero suppresses the RAM disk.
* The read-only option mounts the root filesystem as read-only.
* The read-write option mounts the root filesystem as read-write.
* The restricted option relaxes password protection.
* The root=dev option specifies the device to be mounted as the root filesystem. If the value current is used, the root device is the device on which the root filesystem is currently mounted (unless changed with the -r command-line option).
* The serial=parms option sets a serial line for control, initializing the line and accepting input from it (as well as the console). The format of the parameters is port, baud_rate, parity, bits. When serial is set, the delay value is set to 20 automatically, unless this value is overridden.
* The timeout=secs option sets the number of tenths of a second that system waits for keyboard input before loading the image. this option is also used to specify password input timeouts. The default value is infinite.
* The verbose=level option displays progress messages. The higher the level, the more messages are displayed. If the -v command-line option is also included, the highest level specified in either variable is used.
* The vga=mode option sets the VGA text mode for use during booting. Valid values include normal (80×25 text mode), extended or ext (80×50 text mode), and ask (prompt for the mode during boot). To obtain a list of available modes, boot with the parameter vga=ask and press Enter when asked for a value. Case is not important in the values of the vga option.
If any parameter is not specified either on the command line or in the configuration file, default values are used. Some values are also maintained within the kernel image (such as ramdisk, root, and vga).