LILO Boot loader | LILO Loading in two stages.

LILO is the flexible boot loader for Linux, which is independent of the file system. Using LILO it is possible to select one of sixteen different images at boot time.
LILO can be use MASTER BOOT RECORD (MBR).
MBR-Master boot record it is first sector of the hard disk.
LILO loads it self into the computer memory in two stages.
STAGE1: This stage is know as primary BOOT loader

It is read from the memory by the BIOS from the master boot record.
This stage1 will exist on less than 512 bytes of disk space with MBR and MBR will load stage 2 boot loader.
STAGE2: it is known as secondary boot loader is read into the memory and display the red hat Linux initial screen. These screen the option to select the operating system. After selecting the operating system. It will load into memory and transfers control of the computer to that operating system.
If the users want to have command prompt to key in a command to LILO pressing ctrl XLILO will display a LILO prompt on the screen.
The list of available boot targets is displayed by pressing the key.


Related post