Download Linux course modules pdf
Transcript
Module 21 Boot the System 21.1 Boot Loaders ■ When Linux boots, the kernel is loaded into memory by a boot loader ■ Passes parameters to the Linux kernel ■ Allows one of several operating systems to be loaded ● Multiple versions of the Linux kernel ● Dual-booting with Windows and other OSes ■ The most popular boot loader is LILO (the Linux loader) ● Full user documentation provided 21.2 ■ Look for the a directory called something like /usr/share/doc/lilo/ or /usr/doc/lilo-0.21/ ■ The user guide is in a file called user.ps or User_Guide.ps LILO ■ LILO runs when the system is booted ■ The lilo command configures how LILO will next run ■ The file /etc/lilo.conf specifies the configuration to be set by the lilo command ● Need to run the lilo command for changes to have affect ● Manual page lilo.conf(5) ■ lilo.conf has options in the form name=value ■ Options for specifix OSes are indented ● Linux kernels to install are introduced with image= ● Other OSes are introduced with other= ■ Other options are generic, or are defaults for the OSes 97