Elektrine lite

← Feed

@moonpiedumplings@programming.dev

Post #1110743

2026-04-06 23:28 UTC

Yes, but there is something important to remember. By default, most Linux installs put there kernels in `/boot`, which is not on the btrfs partition. This is not an issue on distros that keep multiple kernel versions, but it can cause issues on distros that only provide one kernel version (Arch and Arch based distros). Because the kernels are not stored on the btrfs partition, they are not restored by btrfs snapshots. And if the rest of the system, including kernel modules, are a mismatched version due to restoration, then it means your system is unbootable. A simpler fix is to install ArchLinux's linux-tls package, which is the stable version of Linux that doesn't update constantly. But what I do to get around this, I put /boot on the btrfs partition, and /boot/efi is the seperate efi partition where grub is installed. Then, kernels are restored when I restore a snapshot.

Replies (1)

  • @yo_scottie_oh@lemmy.ml 2026-04-09 15:09

    Thanks for the tip on storing the kernels on the btrfs partition. I found a [video tutorial for installing Arch w/ btrfs snapshots](https://www.youtube.com/watch?v=FiK1cGbyaxs) in which the guy demonstrates this approach, except that he sets the mount point to just `/efi` instead of `/boot/efi`.

    Open ##1110782