Enable systemd-boot current Tumbleweed that supports it

I read in one of the recent release notes that systemd-boot could be enabled, by editing a system configuration file. I must be daft, cause I cannot seem to find it.

What file should I edit and what to add to be able to enable systemd-boot on Tumbleweed, or is this something requires a fresh install at the moment?

1 Like

And
https://en.opensuse.org/Systemd-boot

1 Like

Well, that was rather painless:

Check exist /usr/lib/bootloader/systemd-boot

if yes,

efibootmgr --delete --label opensuse-secureboot
repeat for all boot entries for opensuse that exist, and any other you want to get rid of

Add systemd-boot utils to add support for snapshots
zypper in sdbootutil-snapper sdbootutil-rpm-scriptlets

confirm to remove grub and related.

and run:
sudo sdbootutil install
sudo sdbootutil add-all-kernels

Reboot and enjou systemd-boot, including boot options for btrfs snapshots if you need them (just press and hold spacebar during boot to get the menu)

EDIT: I do not have secureboot enabled - still works, but requires some extra steps. If you blindly follow this, it will break your system.