Kernelstub
Version: 4.0.0 Beta 2 Web: https:// github.com/isantop/kernelstub
almost all Linux distributions nowadays use
GRUB2 as a bootloader and except for a few rare systems with Elilo, there’s virtually no alternative. However, as virtually all desktop machines these days are Efi-enabled, there are some better options for you.
EFI stands for Extensible Firmware Interface, and it is a smarter replacement for the legacy BIOS method of initialising your hardware at boot time. Your hard drive has a small EFI system partition (ESP) located at the beginning of the drive. This is always mounted at /boot/efi and contains files required to boot your system. Usually, most Linux makers use the Grub2-efi package to provide the classic boot menu at startup, but many people have only one OS and would prefer a speedy and silent boot instead of seeing the interface each time they press the power button.
Kernelstub is a handy utility that gets rid of GRUB2 or any other third-party bootloader completely. It creates a boot record in the NVRAM of your Efienabled firmware and tells it to boot your Linux directly, provided you have put the Vmlinux and Initrd files in the ESP partition beforehand. In some ways kernelstub is a wrapper for Efibootmgr, the de-facto standard EFI manager in most Linux distros. The main purpose of
kernelstub is to provide a friendly command-line interface for managing EFI boot records in NVRAM.
Grab the code and install kernelstub with the following command:
$ sudo python3 setup.py install
The simplest use example is as follows:
$ sudo kernelstub -o “your options in these quotes”
By default, kernelstub applies quiet splash to the options list, so there’s no need to add it explicitly. The application has an extensive help section and lets you specify many things by hand.