CachyOS Recovery: Broke Your System? Roll It Back (Patreon)
Content
Hi everyone,
We all know the feeling: you update, reboot, and something is broken. Maybe the desktop won't start, a driver acts up, or the system won't boot at all. Until now, fixing that usually meant a live USB, a chroot and a lot of reading.
So we built CachyOS Recovery, a small recovery system that lives right in your boot menu.
What it does
- Boot any Btrfs snapshot. Pick "CachyOS Recovery" in the boot menu, choose a snapshot and a kernel, and boot into it. Changes stay in a temporary layer, so you can test the snapshot without touching your actual system.
- Roll back in one click. If the snapshot works, a notification on the desktop offers to make it permanent. You can also roll back straight from the recovery menu if the system no longer boots at all.
- It takes care of `/boot` too. Kernels, initramfs and bootloader config are regenerated to match the snapshot, and leftover kernels are cleaned up.
- Secure Boot support. If you use sbctl, the recovery image and any regenerated boot files are signed automatically, so the system stays bootable with Secure Boot on.
- Encrypted disks. The recovery menu can unlock LUKS-encrypted systems.
- Works on UEFI and BIOS. It adds an entry to Limine or GRUB, plus a "CachyOS Recovery" entry in your UEFI boot menu for when the bootloader itself is broken.
How to get it
Install the `cachyos-recovery` package (`cachyos-recovery-legacy` on BIOS systems). It sets itself up automatically. Your system needs to be on Btrfs with snapshots, which CachyOS sets up by default with snapper.
A big thank you to Vasiliy Stelmachenok (Ventureo), who built most of this and spent the last weeks polishing the rollback and Secure Boot handling.
And thank you to all of you here. Your support gives us the time to work on tools like this, which most people never notice until the day they really need them. 💚
If you try it, let us know how it goes on Discord, the forum or GitHub: github.com/CachyOS/cachyos-recovery
The CachyOS team