Download LINUX Rute Users Tutorial and Exposition Version

Transcript
Chapter 31
lilo, initrd and Booting
lilo stands for linux loader. LILO: is the prompt you first see after boot up, where
you are usually able to choose the OS you would like to boot, and give certain boot
options to the kernel. This chapter will explain how to configure lilo, kernel boot
options, and get otherwise non-booting systems to boot.
The lilo package itself contains the files
¨
¥
/boot/boot.b
/boot/message
/boot/chain.b
/boot/os2_d.b
/usr/share/doc/lilo-<version>
/sbin/lilo
/usr/bin/keytab-lilo
§
¦
which is not that interesting, except to know that the technical and user documentation
is there if hard core details are needed.
31.1
Usage
When you first start your L INUX system, the LILO: prompt will appear where you
can first enter boot options. Pressing the Tab key will give you a list of things to type.
The purpose of this is to allow the booting of different L INUX installations on the
same machine, or different operating systems stored in different partitions on the same
disk. Later you can actually view the file /proc/cmdline to see what boot options
(including default boot options) where used.
303