How to switch to systemd-boot after dnf system upgrade?

echo "dracut_rescue_image=no" > /etc/dracut.conf.d/rescue.conf
3 Likes

I’ve created another HOWTO, which aims to describe the whole process: systemd‐boot on fedora 40 · hboetes/wiki Wiki · GitHub

Improvements are welcome.

Thanks for the information.

Please post that as a new topic since this one was last active more than 6 months past.

2 Likes

One difference between your Boetes method and the Kowalski7 technique I used in May 2024 is you mount the new EFI partition at the old /boot/efi and they say " we need to move the ESP partition from /boot/efi to /efi".

I notice that the /etc/fstab line you both use means that only root can access the EFI partition. I think that’s why running bootctl provides information with some permission warnings, but you need sudo to run bootctl list. Fine by me.

I still have some files named “grub*” in /efi/EFI/Fedora including a 3 MB grubia32.efi and 4 MB grubx64.efi, I don’t know if they’re leftovers from grub2.

I hope Fedora team gets to making systemd-boot work with secure boot, it seems tracked in Pagure #10765 “secure boot signing for systemd-boot”.

Thanks for all y’all’s do! :heart: