Experience with systemd-boot and snapshot integration

Hello everyone,

I am thinking about trying systemd-boot instead of grub on my laptop. This machine is not very crucial for me but I also don’t want to run into time intensive problems every couple days.

I am aware that especially the snapshot integration in systemd-boot is according to the wiki (Systemd-boot - openSUSE Wiki) still experimental.

Following the results of my internet-/forum-search I figured that the usage of systemd-boot is not common in openSUSE. Therefore I would like to ask if some of the forum members here have experience with it and especially if there are problems with snapper/snapshot-integration.

Thanks in advance for your feedback

Meanwhile I switched to systemd-boot with snapshot integration.
I am running it since about 3 weeks with secureboot enabled and using multiversion kernel support (with 5 installed kernels).

So far everything works perfect. sdbootutil does it’s job very well.
For those who are interested in current issues with sdbootutil: GitHub · Where software is built

I also tried booting from a snapshot and rolling back, which worked as expected.

The only thing that I think should be pointed out is that one needs a larger esp with systemd-boot compared to grub. From how I understand it that is the result of how initrd/bootloader entries are handled by systemd-boot compared to grub.

Currently there are about 465MiB in use on my esp (size: 2GiB). As mentioned before, I have 5 kernel versions installed and snapper lists 16 snapshots

My snapper config-file ist set to number cleanup:

# limit for number cleanup
NUMBER_MIN_AGE="1800"
NUMBER_LIMIT="2-10"
NUMBER_LIMIT_IMPORTANT="4-10"

I think the number of kept kernel versions and snapshots influences the number of initrds and therefore the required space on the esp.

1 Like