Can't boot into snapshots via rEFInd

2 years ago by gpstarman to c/archlinux

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.
  2. So, I need to boot into the desired snapshot from the boot manager itself.
  3. GRUB has grub-btrfs, which lets you boot into snapshot from OS selection screen itself.
  4. 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.
  5. I use BTRFS Assistant with snapper to manage snapshots.
  6. I am not seeing any way to restore the snapshot from live environment too.
  7. I am using CachyOS (Arch) with Plasma DE.
  8. I suspect the reason is my unusual /efi /boot partition layout. (attached below)
  9. 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)
  10. I also encrypted my BTRFS / partition
  11. If you need any other info, please ask.

Azenis 2 points 2 years 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

path: 0 16086445, hotness: undefined, score: 2, children: 3
gpstarman 1 point 2 years 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).

path: 0 16086445 16102171, hotness: undefined, score: 1, children: 2
Azenis 1 point 2 years 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?

path: 0 16086445 16102171 16102887, hotness: undefined, score: 1, children: 1
gpstarman 1 point 2 years ago

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

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

path: 0 16086445 16102171 16102887 16118843, hotness: undefined, score: 1, children: 0
just_another_person 1 point 2 years ago

Okay, so you do, or DO NOT have access to btrfs-assistant right now?

path: 0 16079479, hotness: undefined, score: 1, children: 1
gpstarman 1 point 2 years ago

I do have access in my installed system.

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

path: 0 16079479 16102039, hotness: undefined, score: 1, children: 0
archlinux
archlinux

@lemmy.ml

login for more options
10009
427
77

The beloved lightweight distro

go to feed...