In the
In this section we are going to talk about some of the basics of LILO from a user’s
perspective. In the section on
When your system reaches the point where LILO is executed, you are usually given the prompt:
By simply pressing the enter key, LILO will execute it’s default instructions, which
usually means loading and executing a Linux
In order to boot different operating systems, you need to be able to tell LILO what to
boot. This is done by simply inputting the appropriate text at the LILO prompt. This text
is configured in the LILO configuration file (
In addition to accepting the tag, or label, for a specific entry, you can pass configuration options to LILO directly at the prompt. One thing I commonly pass is the location of the root filesystem. I used to have a couple of different Linux distributions on my system, particularly when a new version came out.I would install the new version on a different partition to make sure things worked correctly. I could then boot from either the new or old kernel and select which root filesystem I wanted. This might be done like this:
Here
Another useful option is the keyword “single”. This tells the
If it runs into problems while booting, LILO will provide you information about what went wrong (albeit not as obviously as you might hope). When loading, the letters of “LILO” are not printed all at once, but rather as each phase of the boot process is reached. Therefore, you can figure out where the boot process stopped by how much of the word LILO is displayed. The following table shows you the various stages and what possible problems could be.
| Characters | Description |
| none | LILO has not yet started. Either it was not installed or the partition is not active |
| L errorcode | The first stage boot loader has been loaded and started. However, the second stage boot loader cannot be loaded. The errorcode typically indicates a media problem, such as a hard disk error or incorrect hard disk geometry. |
| LI | The second stage boot loader was loaded, but could not be executed. Either a geometry mismatch has occurred or boot/boot.b was moved without running the map installer. |
| LIL | Second stage boot loader starts, but cannot load the descriptor table from the map file. Typcially a media failure or by a geometry mismatch. |
| LIL? | Second stage boot loader loaded at an incorrect address. Typically caused by a geometry mismatch or by moving /boot/boot.b without running the map installer. |
| LIL- | Descriptor table is corrupt. Typically caused by either a geometry mismatch or by moving /boot/boot.b without running the map installer. |
| LILO | Everything successfully loaded and executed. |