this post was submitted on 17 Mar 2025
2 points (66.7% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1186 readers
2 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 2 years ago
MODERATORS
 

I'm using CachyOS (Arch) with BTRFS. And tried to restore snap of root subvolume and it didn't work ( see previous post ).

If I remember correctly, i successfully restored root subvolume before. Take it with a grain of salt.

Some people on my previos posts said that I shouldn't have tried restore root subvol while system is actively running through the subvol.

Now my question is,

How to restore a snap of root subvolume ?

Edit: I know how to restore a snapshot. Just need help with root subvol snapshot.

I use BTRFS Assistant with snapper. And rEFInd doens't have boot to snapshot option. (I installed and it didn't work )

top 4 comments
sorted by: hot top controversial new old
[–] tychosmoose@lemm.ee 1 points 1 week ago (1 children)

On openSUSE with the default partitioning and Snapper you rollback this way:

  1. Boot to the snapshot from the grub menu.
  2. Test to make sure it's working.
  3. Run sudo snapper rollback and reboot.

It may differ for Arch depending on how you have it set up. If you don't have grub entries for the snapshots, you could install and configure grub-btrfs. It's easy, but there could be gotchas depending on how you are set up currently. Maybe give this a read and see if it's helpful: https://www.lorenzobettini.it/2023/03/snapper-and-grub-btrfs-in-arch-linux/

(Not my blog, it just looked useful)

[–] gpstarman 1 points 1 week ago* (last edited 1 week ago) (1 children)

I use rEFInd. And installed refind-btrfs and it didn't do anything.

Also I use BTRFS assistant with snapper.

[–] tychosmoose@lemm.ee 1 points 1 week ago (1 children)

If I was in your shoes I would probably figure that out first. It could be related to why the snapshot restore failed.

[–] gpstarman 1 points 1 week ago

But restoring home subvol worked just fine though.

Anyways I should look what's up with refind-btrfs. Probably just gonna switch to grub.