Rolling Back
Every update keeps the previous system image. If something broke, go back to it.
Just once, from the boot menu
The GRUB menu shows for 5 seconds at power-on. The RakuOS entries are listed newest first: (ostree:0) is the newest, (ostree:1) the one before. Pick (ostree:1) to start the previous image once, without changing anything.
For good
sudo bootc rollback
This makes the previous image the default from the next reboot. Run it again to undo. Or use RakuOS System, page Deployments, Roll Back….
The next update replaces the broken image with a newer one.
Keeping an image
On the Deployments page you can also:
- pin an image so updates never remove it (
sudo ostree admin pin <index>; undo with--unpin); - choose which image boots next.
What carries over
Your files, settings and Flatpaks always stay. Your installed packages stay too when both images are the same RakuOS release and edition. If they differ, the first boot reinstalls your packages from your list (network needed).
sudo bootc status # what's running, what's staged, and what a rollback would return to