LILO

Lilo linux loader is a boot loader to load linux, and other operating systems. Lilo will fit in the first 62 sectors of a drive.

Configure
Lilo's default configuration has hda references, lets change those to sda recursively using sed.

Now we copy the example configuration to the running configuration.

Default OS
To change default booting os.

Timeout
To have lilo auto start after a set time.

Silence
For silent kernel unpacking at boot

systemd
For systemd instead of openrc

Old Configs
It is a good idea to keep an old image around in case problems crop up in new kernel builds.

Kernel Linking
Using symlinks is a good idea to be able to determine if the loader is loading the correct image, and enable tab auto completion to ensure we are loading what we intend to.

Install
Install lilo to the MBR.