Image Options

The following options are specified for a particular image:

alias= name

Provides an alternate name for the image that can be used instead of the name specified with the label option.

image= pathname

Specifies the file or device containing the boot image of a bootable Linux kernel. Each per-image section that specifies a bootable Linux kernel starts with an image option. See also the range option.

label= name

Specifies the name that is used for the image at the boot prompt. Defaults to the filename of the image file (without the path).

loader= chain-loader

For a non-Linux operating system, specifies the chain loader to which LILO should pass control for booting that operating system. The default is /boot/chain.b. If the system will be booted from a drive that is neither the first hard disk nor a floppy, the chain loader must be specified.

lock

Tells LILO to record the boot command line and use it as the default for future boots until it is overridden by a new boot command line. lock is useful if there is a set of options that you need to enter on the boot command line every time you boot the system.

optional

Specifies that the image should be omitted if it is not available when the map is created by the lilo command. Useful for specifying test kernels that are not always present.

password= password

Specifies that the image is password protected and provides the password that the user is prompted for when booting. The password is not encrypted in the ...

Get Running Linux, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.