7.14. Lilo-22.7.1

The Lilo package contains the Linux Loader, a bootloader.

We have chosen to use lilo because at the moment no other bootloader builds and runs on a pure64 system. If your machine has multiple systems (i.e. x86 or multilib) you may prefer to use the bootloader from the other system, such as grub.

7.14.1. Installation of Lilo

The following patch forces lilo to use our cross-compiler (except for a couple of utilities which run during the compile), and to look for as86 and ld86 under the names by which we installed them.

patch -Np1 -i ../lilo-22.7.1-cross_compile_x86_64-1.patch

Compile the program which installs the loader, linking it statically so that it does not have to link to host libraries when it runs:

make lilo-static

Install only the parts we need:

install -v -m755 lilo-static /tools/bin
install -v -m755 keytab-lilo.pl /tools/bin

Details on this package are located in Section 10.55.2, “Contents of Lilo.”