Estimated build time: 0.08 SBU Estimated required disk space: 3 MB |
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.
Last checked against version 22.2.
lilo, mkrescue and keytab-lilo.pl
lilo installs the Linux boot loader which is used to start a Linux system.
mkrescue makes a bootable rescue floppy using the existing kernel and any initial ramdisk.
keytab-lilo.pl compiles keytable definitions into a format which lilo can use in order to set the keyboard type during boot.
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