|Source Repository:||Gentoo Portage Tree|
Summary: Standard Linux boot loader
- Enable support for device-mapper from sys-fs/lvm2
- Do not install the dolilo helper script
- Avoid character echo on PXE serial console
New Media Mix-insFuntoo Linux now has new media mix-ins. Learn about them and how to use them.
The Many Builds of Funtoo LinuxWe now have lots of different builds of Funtoo Linux for various CPUs, as well as Hardened, Stable and ARM, and a new UI to browse them. Learn more here.
Lilo linux loader is a boot loader to load linux, and other operating systems. Lilo is called by default when running make install in kernel source directories.
# emerge lilo
Lilo's default configuration example has hda references, lets change those to sda recursively using sed.
# sed -i -e 's/hda/sda/' /etc/lilo.conf.example
Now we copy the example configuration to the running configuration.
# cp /etc/lilo.conf.example /etc/lilo.conf
To change default booting os.
To have lilo auto start after a set time.
For silent kernel decompression at boot:
alternate init systems
to load an alternate init system, example systemd instead of openrc:
It is a good idea to keep an old image around in case problems crop up in new kernel builds.
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. symlinks remove an easy area to fumble when adjusting configurations.
# ln -s /boot/vmlinuz-version /boot/bzImage
# ln -s /boot/vmlinuz-version.old /boot/bzImage.old
if you do not use make install to copy your kernel to /boot, you must run lilo to load the new kernel images & install lilo to the hard drives mbr
Install lilo to the MBR.