19
submitted 2 days ago by gpstarman@lemmy.today to c/linux@lemmy.ml

What I want:

To boot into a BTRFS snapshots from rEFind boot manager. But rEFInd doesn't show the snapshots.


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.

I know this is a general community, but this is the 7th community that I'm asking this 🥲

Some people suggested Limine bootloader, but I like rEFInd for its versatile theme support.

top 2 comments
sorted by: hot top controversial new old
[-] eugenia@lemmy.ml 3 points 1 day ago

From arch's site:

Tip: make sure btrfs_x64.efi driver is installed, it can be installed manually by copying from /usr/share/refind/drivers_x64/btrfs_x64.efi to esp/EFI/refind/drivers_x64/btrfs_x64.efi, or you can install all drivers with the refind-install /dev/sdx --alldrivers option.

Warning: btrfs_x64.efi does not support raid1c3/4.

[-] gpstarman@lemmy.today 3 points 1 day ago* (last edited 1 day ago)

Thank you.

But, its already there. Also, I don't do any raid.

this post was submitted on 03 Apr 2025
19 points (95.2% liked)

Linux

52815 readers
593 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS