6.49. Installing Lilo-22.2

Estimated build time:           0.08 SBU
Estimated required disk space:  3 MB

6.49.1. Installation of Lilo

We have chosen Lilo as a boot loader because we feel comfortable with it, but you may wish to choose another. Fabio Fracassi has written a hint on GRUB, which is available at http://hints.linuxfromscratch.org/hints/grub-howto.txt.

Install Lilo by running the following commands:

make &&
make install

It appears that compilation of this package fails on certain machines when the -g compiler flag is used. If you can't compile Lilo at all, you should try to remove the -g value from the CFLAGS variable in the Makefile file.

At the end of the installation the make install process will print a message stating that /sbin/lilo has to be executed to complete the update. Don't do this, as it has no use: the /etc/lilo.conf isn't present yet. We will complete the installation of lilo in Chapter 8.

The standard LILO prompt, or menu, may be replaced by the LFS logo or any logo you like. Martin Imobersteg has written a hint about this, which is located at http://hints.linuxfromscratch.org/hints/bootlogo.txt.

6.49.2. Contents of Lilo

Last checked against version 22.2.

6.49.3. Lilo Installation Dependencies

Last checked against version 22.1.

Bash: sh
Bin86: as86, ld86
Binutils: as, ld, strip
Fileutils: cp, dd, ln
Gcc: cc, cc1, collect2, cpp0
Make: make
Sed: sed
Textutils: cat