Since time immemorial, Linux has booted from a bootloader. This is due to the architecture of the IBM PC, where the CPU reads a sector from the configured disk and is limited to 510 bytes of code. That’s not enough code to understand the filesystem that the kernel is on, so most bootloaders are two-stage, loading the initial 510 bytes, then loading enough second-stage code to understand ext4 or whatever, and then the kernel is booted.
Over time, we’ve moved from loadlin, then LILO, then GRUB, and now GRUB2. SYSLINUX, PXELINUX, EXTLINUX have also been in the mix and there are others.
Now a RedHat engineer, Marta Lewandowska, has a different idea. You can check out her full talk on YouTube (below) entitled “No more bootloader: Please use the kernel instead” presented at DevConf.CZ 2024.
Her project is called nmbl (“no more bootloader”, pronounced “nimble”) and aims to replace traditional bootloaders with the kernel itself. GRUB works, but it has been a source of security vulnerabilities and a lot of its code is duplicated in the kernel itself.
What benefits might nmbl bring?
- Faster boot times, since there’s no bootloader involved. There are two variants on nmbl and one allows multi-booting into different kernels.
- In theory, security is improved because there’s less code and less attack surface.
- Future feature development should be easier since there’s one platform and not a multi-stage scaffold to work on.
Is it the future? Some comments on the LWN writeup are skeptical. Check out the creator’s blog post on nmbl and the presentation:
Related Posts:
"OMG! I Never Knew That!": The Simply Linux Tip That Has Got Me More Thanks Than Anything I've Ever ...
Need a Laugh? Read the Linux Kernel List's Foam-Mouthed Responses to Russian Programmers Banned from...
Nontechnical Nonsense: Rust Stirs Up a Storm of Drama in the Linux Kernel: Ted T'so Shouting, Mainta...
Irritation Removed: You Do Everything As Root And Hate Manually Removing Sudo From Copy-Paste Comman...
Has the Itanic Finally Hit Its Last Iceberg? It's Been Removed From the Linux Kernel After a Little...
LowEndBoxTV: Is Windows or Linux Faster on a Hetzner Dedicated Server?
- Dropbear in 2025: Still the LowEnd SSH Server of Choice? - January 20, 2025
- “OMG! I Never Knew That!”: The Simply Linux Tip That Has Got Me More Thanks Than Anything I’ve Ever Shared in 30+ Years - January 19, 2025
- Bluesky has Flopped: How Mashable is Lying To You - January 18, 2025
Do modern systems still use GRUB? I thought that at least some people were migrating to systemd-boot.