[systemd-devel] howto switch from grub2-bios to systemd-boot

Lennart Poettering lennart at poettering.net
Fri Sep 4 14:50:19 UTC 2020


On Mo, 22.06.20 18:21, Mantas Mikulėnas (grawity at gmail.com) wrote:

> > can /boot holding the kernel itself still be a Linux RAID1 or classical
> > ext4 partition or is it required that the kernel and initrd live on the
> > EFI partition too?
>
> For systemd-boot, the kernel is required to be on the same EFI partition.

It's not entirely true. While it's a good idea to put kernels onto the
ESP, you don#t have to. You can also put them into the XBOOTLDR
partition.

sd-boot itsef must be installed into the ESP, but it will discover
boot menu items on both the ESP and on XBOOTLDR and combine them.

XBOOTLDR is supposed to be used only if you have an existing ESP that
is too small to carry kernels, and you'd rather not resize it.

XBOOTLDR should be vfat too, as with sd-boot you still need an fs the
firmware can read.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list