30 ms·
This is a feature I've really been missing since switching from grub to systemd-boot. Has anyone figured out an easy way to get this back with systemd-boot?
by Spunkie 2y ago
This is a feature I've really been missing since switching from grub to systemd-boot.
Has anyone figured out an easy way to get this back with systemd-boot?
- Arnavion 2y agoSome time ago they did add systemd-boot as a supported option and apparently it also generates one entry per snapshot. https://news.opensuse.org/2024/03/05/systemd-boot-integration-in-os/ https://news.opensuse.org/2024/03/05/systemd-boot-integratio... https://en.opensuse.org/Systemd-boot#Installation_with_full_BTRFS_snapshot_and_secure_boot_support https://en.opensuse.org/Systemd-boot#Installation_with_full_... https://github.com/openSUSE/sdbootutil https://github.com/openSUSE/sdbootutil I haven't tried it though so I don't know for sure. (I have my own custom systemd-boot setup that predates theirs, and since my setup uses signed UKIs and theirs doesn't, I don't care to switch to theirs. I can still switch snapshots manually with `btrfs subvol` anyway; it just might require a live CD in case the default snapshot doesn't boot.)
- Vogtinator 2y agoI'm using Tumbleweed with btrfs snapshots, systemd-boot and transparent disk encryption (using TPM + measured boot), works fine. Currently this needs to be set up semi-manually (select some options in the installer, then run some commands after install), but it'll be automatic soon.
- boomboomsubban 2y agosystemd-boot has relatively recently added support for loading filesystems, https://github.com/systemd/systemd/blob/71e5a35a5be99a1f244d38ee1dfe7db39242a977/NEWS#L3177C1-L3181C38 https://github.com/systemd/systemd/blob/71e5a35a5be99a1f244d... meaning you should be able to set up something similar. I wouldn't describe it as "easy" yet.