next up previous contents
Next: 2.2.4.0.1 How the kernel Up: 2.2 Booting the System Previous: 2.2.3.1.9 Summary   Contents

2.2.4 Specifying boot time options

During the boot process it is possible to pass arguments to the kernel in order to enable specific modules or modify the default configuration set in the boot loader configuration.

It is important to note that spaces should not be used in a boot argument, but only between separate arguments. A list of values that are for a single argument are to be separated with a comma between the values, and again without any spaces. For example:

ether=9,0x300,0xd0000,0xd4000,eth0 root=/dev/hda1 *RIGHT*

ether = 9, 0x300, 0xd0000, 0xd4000, eth0 root = /dev/hda1 *WRONG*
LILO is the most common boot loader on Linux systems. Typically the boot loader will print LILO: to the screen then wait a few seconds for input. With no input it will boot to the default system. Typical system labels that people use in the LILO configuration files are linux and Windows and msdos. If you want to pass arguments to the kernel, this is the place to do it. For example:

LILO: linux root=/dev/hda1
LILO comes with excellent documentation, as discussed above. The LILO append= command is usefull if you want to add a boot time argument as a permanent addition to the LILO config file. You simply add something like append = ``hd=64,32,202'' to the /etc/lilo.conf file, to pass paramters about hard drive geometry, for example. It can either be added at the top of the config file, making it apply to all sections, or to a single system section by adding it inside an image= section. Please see the LILO documentation for a more complete description.



Subsections
next up previous contents
Next: 2.2.4.0.1 How the kernel Up: 2.2 Booting the System Previous: 2.2.3.1.9 Summary   Contents