I’m a programmer and amateur radio operator.

  • 6 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle







  • If you use btrfs snapshots and systemd-boot instead of grub, then be carefull restoring updates from before a kernel update.

    If I understand it correctly, with systemd-boot the kernel lives in the EFI partition, while the kernel modules live in the main (btrfs) partition. If you restore a snapshot with a different kernel version, it doesn’t restore the kernel itself, but the kernel modules have different filenames, which stops the system from being able to boot.

    At least that is my understanding of the problem, from having to debug it twice (just start a live-boot system and use Timeshift to restore the system to after the update again). The next time I install Linux, I think I’ll go with grub instead of systemd-boot.

    That being said, I really like btrfs snapshots as a sort of “almost backup” (still do regular backups on an external drive). They are quick and easy, and most packet managers can be setup to automatically make a snapshot before installing/updating stuff.