I鈥檓 using CachyOS (Arch) with BTRFS. And tried to restore snap of root subvolume and it didn鈥檛 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鈥檛 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鈥檛 have boot to snapshot option. (I installed and it didn鈥檛 work )
On openSUSE with the default partitioning and Snapper you rollback this way:
- Boot to the snapshot from the grub menu.
- Test to make sure it鈥檚 working.
- Run
sudo snapper rollbackand reboot.
It may differ for Arch depending on how you have it set up. If you don鈥檛 have grub entries for the snapshots, you could install and configure grub-btrfs. It鈥檚 easy, but there could be gotchas depending on how you are set up currently. Maybe give this a read and see if it鈥檚 helpful: https://www.lorenzobettini.it/2023/03/snapper-and-grub-btrfs-in-arch-linux/
(Not my blog, it just looked useful)
I use rEFInd. And installed
refind-btrfsand it didn鈥檛 do anything.Also I use BTRFS assistant with snapper.
If I was in your shoes I would probably figure that out first. It could be related to why the snapshot restore failed.
But restoring home subvol worked just fine though.
Anyways I should look what鈥檚 up with
refind-btrfs. Probably just gonna switch to grub.