Can't install with systemd-boot (instead of Grub) without a /boot Partition in the new Installer

Today I tried to Install Fedora 42 Beta Workstation with systemd-boot instead of grub. I used the boot Parameter inst.bootloader=systemd-boot
How I got this Idea, ChatGPT. I know I shouldn’t rely on its Information, but I thought that it was worth a try. So if installing with systemd-boot isn’t an option, this whole post can be ignored.

I created 2 Partitions in the installer, a EFI /boot/efi and a LUKS2 BTRFS with Subvolumes: @, @home, @var, @snapshots

When I went into the next screen, to select the mount points, I got a red Error message, saying that I can’t have /boot on an Encrypted Partition. But with Systemd-Boot, no /boot is needed. I deleted the mount for /boot and when I tried to click next, the same Error Message appeard (Screenshot is in german sadly).

You can’t continue the installation with the new WebGUI installer, if you want systemd-boot and no /boot Partition.

Is this a bug or am I trying to do something that’s not meant for Fedora anyway?

Kind Regards

Screenshot:

mount |grep boot
/dev/sda2 on /boot type ext4 (rw,relatime,seclabel)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)

As you can see /boot and /boot/efi are not on the same partition. /boot is where the kernels are, this is by default ext4 partition while installing/partitioning automatically.

According to the Anaconda documentation, the parameter should be inst.sdboot. Does that work any better?

Edit: according to this thread, you need to install using the netinst (“Everything ISO”) rather than from a live USB - Feature Request: Native support for systemd-boot (sdboot) in Fedora x86 LIVE image

Even with systemd-boot? I think it does support a separate /boot partition, but its normal configuration is to have the kernels in the EFI partition.

I mount my ESP at /boot. (That is recommended in the spec.[1]) However, I think the last time I tried to do that with Anaconda it complained that /boot couldn’t be formatted with VFAT. :confused:


  1. ↩︎

It does, but the boot partition needs to be vfat type. The systemd documentations calls it the XBOOTLDR according to https://uapi-group.org/specifications/specs/boot_loader_specification/