I installed CachyOS yesterday and it went extremely well. Having been a longtime openSUSE Tumbleweed user, I wanted to set it up with Snapper and bootable snapshots in Grub. The first part of that is extremely easy. From the CachyOS Hello window on the desktop, just click "Apps/Tweaks" then click "Install Snapper Support". The prerequisite is you have to be using the default Btrfs file system. Clicking that single button will add Snapper support, which means if there is ever an issue with something you install or a system upgrade, there will be a Pre snapshot created to allow you to roll back to the moment before it was broken.
There is only one slight issue though, if you chose Grub as your bootloader. It doesn't install Snapper support for Grub automatically. According to the forums, this is because it is not easily determined which bootloader you are using. I wasn't aware of this earlier today, so when I was having boot issues, I was surprised to not find the Snapper entries available to boot from. Luckily, the issue mysteriously solved itself, after a couple of tries, and I was able to boot.
To enable Snapper support in Grub, you need to install the grub-btrfs-support
package. I used Octopi to install it, but you can install from the terminal if you prefer. This package will configure everything else you need to be able to boot from Grub into Snapper snapshots, from which you can then run snapper rollback
in a terminal to restore from that snapshot.
Just for an extra sense of security, I also installed the Cachy LTS kernel and the Arch LTS kernel using the Kernel Manager. Those will also show up in the Grub bootloader, so you, potentially, have more options than just rolling back if something goes wrong.
David D.
No Comments