Home

Ubuntu's GRUBby plans [LWN Subscriber Link]

$$22046
https://lemy.lol/u/cm0002 posted on Apr 4, 2026 15:58

GNU GRUB 2, mostly just referred to as GRUB these days, is the most widely used boot loader for x86_64 Linux systems. It supports reading from a vast selection of filesystems, handles booting modern systems with UEFI or legacy systems with a BIOS, and even allows users to customize the “splash” image displayed when a system boots. Alas, all of those features come with a price; GRUB has had a parade of security vulnerabilities over the years. To mitigate some of those problems, Ubuntu core developer and Canonical employee Julian Andres Klode has proposed removing a number of features from GRUB in Ubuntu 26.10 to improve GRUB’s security profile. His proposal has not been met with universal acclaim; many of the features Klode would like to remove have vocal proponents.

Ubuntu provides two versions of GRUB: one for UEFI systems that enables Secure Boot (referred to as the “signed” builds), and another for systems with legacy BIOS or systems that otherwise don’t support Secure Boot (the “unsigned” builds). The unsigned GRUB builds from Ubuntu would continue to have the existing set of features, but Klode is looking to strip quite a bit out of signed GRUB builds; he proposes removing support for reading /boot partitions that use Btrfs, HFS+, XFS, or ZFS filesystems. That would leave ext4, FAT, ISO 9660, and SquashFS. He also wants to disable features to use custom PNG and JPEG splash images, and strip out support for “complex partition setups such as LVM, md-raid (except raid1), and LUKS-encrypted /boot” because those were not tested nor used by the Ubuntu installer

https://lemy.lol/post/63581639
Reply
$$22051
https://lemmy.world/u/Paragone posted on Apr 4, 2026 16:17
In reply to: https://lemy.lol/post/63581639

I think removing BTRFS support for /boot would be insane simply because BTRFS with –csum xxhash and either raid1 or dup for both metadata & data is the best cheap insurance against bitrot borking your ability to boot.

If you’ve got 2 copies of your vmlinuz, & 1 is bitrotted, BTRFS should just give you the good one.

Forcing Ext4, or vfat, or whatever, which prevents this level of protection, .. is incompetent.

_ /\ _

https://lemmy.world/comment/23042974
Reply
$$22059
https://lemmy.libertarianfellowship.org/u/balian posted on Apr 4, 2026 16:48
In reply to: https://lemy.lol/post/63581639

Why not just switch to systemd-boot?

https://lemmy.libertarianfellowship.org/comment/2770009
Reply
$$22063
https://swg-empire.de/u/bjoern_tantau posted on Apr 4, 2026 16:57
In reply to: https://lemmy.libertarianfellowship.org/comment/2770009

For anyone reaching for the downvote button:

Systemd-boot is completely independent from systemd. You don’t have to be running systemd to use it. It’s a really really simple EFI bootloader. You just give it the location of your kernel and initrd and boot options and it does the rest.

https://swg-empire.de/comment/9481461
Reply
$$22065
https://swg-empire.de/u/bjoern_tantau posted on Apr 4, 2026 16:59
In reply to: https://lemmy.world/comment/23042974

Good luck, when EFI has to live on FAT32.

https://swg-empire.de/comment/9481486
Reply
$$22093
https://programming.dev/u/Scoopta posted on Apr 4, 2026 19:44
In reply to: https://swg-empire.de/comment/9481486

Yes but the ESP is not /boot, it can be, but rarely is in grub installs

https://programming.dev/comment/23113882
Reply
$$22102
https://swg-empire.de/u/bjoern_tantau posted on Apr 4, 2026 20:56
In reply to: https://programming.dev/comment/23113882

Sure, but having /boot on BTRFS won’t save you if the bitrot fucked up your ESP.

https://swg-empire.de/comment/9483662
Reply