What I want:

To boot into a BTRFS snapshots from rEFind boot manager.


Additional Info:

  1. So, apparently, to restore the BTRFS snapshot of a root subvolume, I shouldn’t do it with the root partition being actively used.
  1. So, I need to boot into the desired snapshot from the boot manager itself.
  1. GRUB has grub-btrfs, which lets you boot into snapshot from OS selection screen itself.
  1. rEFInd has refind-btrfs, which should do the same as grub-btrfs. But it didn’t in my case. I am not seeing any way to boot into a snapshot from rEFInd.
  1. I use BTRFS Assistant with snapper to manage snapshots.
  1. I am not seeing any way to restore the snapshot from live environment too.
  1. I am using CachyOS (Arch) with Plasma DE.
  1. I suspect the reason is my unusual /efi /boot partition layout. (attached below)
  1. I did my partition this way because, my initial EFI partition had less storage (as seen on image), so , I created another boot partition and mounted my pre-existing EFI partition to /boot/efi. I did this by referring a Youtube video (I know, I should’ve known better)
  1. I also encrypted my BTRFS / partition
  1. If you need any other info, please ask.

  • Azenis@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 days ago

    From what I’ve heard, the Limine bootloader supports booting and restoring snapshots with LUKS2 using limine-snapper-sync utility. Its setup is easier than refind-btrfs

    • gpstarmanOP
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      Thank you.

      It’s just that I like rEFInd’s versatile themes.

      Limine does seem to have themes but it doesn’t feel as robust as rEFInd (in the theme aspect at least).

      • Azenis@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        How does rEFInd display multiple snapshots?

        Would having 30 snapshots clutter rEFInd screen with oversized icons in a single horizontal row? or does it have a way to group or manage them efficiently?

        • gpstarmanOP
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          That’s the problem I’m asking for solution in the first place.

          It doesn’t show anything at all. ಥ‿ಥ

    • gpstarmanOP
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      I do have access in my installed system.

      But, CachyOS live doesn’t have btrfs-assistant in it.