Skip to Main Content
Learning Debian GNU/Linux
book

Learning Debian GNU/Linux

by Bill McCarty
October 1999
Beginner to intermediate content levelBeginner to intermediate
360 pages
10h 18m
English
O'Reilly Media, Inc.
Content preview from Learning Debian GNU/Linux

Boot Parameters

When you boot your system by using loadlin, you can specify several parameters that control the boot process. Such parameters are sometimes needed to take advantage of unusual hardware devices, large amounts of RAM (more than 128 MB), and so on. Similarly, when you boot by using lilo, you can also boot parameters to control the boot process; you can specify lilo’s boot parameters by using linuxconf or by editing lilo’s configuration file. You can also specify boot parameters to lilo by typing them in response to lilo’s prompt.

Boot parameters are specified using a two-part directive that includes:

  • the name of the parameter

  • an optional list of options, which consists of an equals sign (=) followed by a comma-separated list of option values

No spaces may appear in the directive. As an example, the following directive specifies the identity of the Linux root partition:

root=/dev/hda1

You can specify multiple directives by separating them with a space. For example, the following specifies the identity of the Linux root partition and specifies that the root partition is initially mounted read-only, so that a thorough check of its filesystem can be performed:

root=/dev/hda1 ro

Most directives are interpreted by the kernel, though lilo is also capable of processing directives. If you specify a directive that neither the kernel nor lilo understands (assuming you’re using lilo), a directive that includes an equals sign is passed to the init process as an environment variable. You’ve ...

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

Linux in Action

Linux in Action

David Clinton

Publisher Resources

ISBN: 1565927052Supplemental ContentCatalog PageErrata