Estimated build time: 1 minute Estimated required disk space: 3 MB |
We have chosen Lilo because we feel comfortable with it, but you may wish to take a look elsewhere. Someone has written a hint on GRUB at http://hints.linuxfromscratch.org/hints/grub-howto.txt, an alternative boot loader.
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 being 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.
Maybe you'll be interested to know that someone wrote a hint on how to get a logo instead the the standard LILO prompt or menu. Take a look at it at http://hints.linuxfromscratch.org/hints/bootlogo.txt .
lilo and mkrescue
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.
Lilo-22.1 needs the following to be installed:
bash: sh
bin86: as86, ld86
binutils: as, ld, strip
fileutils: cp, dd, ln
gcc: cc, cc1, collect2, cpp0
make: make
sed: sed
textutils: cat