[PATCH] x86_64: add systemd-boot images

Alberto Bursi alberto.bursi at pm.me
Wed Dec 31 13:17:54 PST 2025


On 12/30/25 22:43, Elliott Mitchell wrote:
> On Tue, Dec 30, 2025 at 07:51:29PM +0100, Jonas Lochmann wrote:
> There is one key thing which GRUB allows, but this doesn't claim to.
> GRUB allows having multiple kernels installed and choosing between them.

I find this a strange request since this feature isn't used in Openwrt 
on x86 (or any other target) afaik. Best you get is A/B kernel+rootfs 
partitions setups on some devices but it's not the same thing. There is 
also a PR for A/B partitions on x86 btw 
https://github.com/openwrt/openwrt/pull/2951

All x86 bootloaders let you have multiple kernels set up for booting and 
choose on start (with a default that will be booted automatically), 
grub, systemd-boot, refind, limine. Even very old ones like LILO let you 
do that.

But the distro has to be set up to do that first, distributing kernels 
as a package that can be installed independently and so on. Afaik the 
only way to "upgrade the kernel" on OpenWrt is doing a sysupgrade, and 
that will take care of putting the kernel where it needs to be and 
removing the old one.


-Alberto





More information about the openwrt-devel mailing list