Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

The lilo Command

You need to run the lilo command to install the LILO boot loader and to update it whenever the kernel changes or to reflect changes to /etc/lilo.conf. Note that if you replace your kernel image without rerunning lilo, your system may be unable to boot.

The path to the lilo command is usually /sbin/lilo. The syntax of the command is:

lilo [options]

Some of the options correspond to /etc/lilo.conf keywords:

Configuration keyword

Command option

boot=bootdev

-b bootdev

compact

-c

delay=tsecs

-d tsecs

default=label

-D label

disktab=file

-f file

install=bootsector

-i bootsector

lba32

-L

linear

-l

map=mapfile

-m mapfile

fix-table

-P fix

ignore-table

-P ignore

backup=file

-s file

force-backup=file

-S file

verbose=level

-v

These options should be put in the configuration file whenever possible; putting them on the lilo command line instead of in /etc/lilo.conf is deprecated. The next section describes those options that can be given only on the lilo command line; the others were described earlier.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page