this post was submitted on 29 Aug 2023
81 points (97.6% liked)

Linux

47996 readers
968 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 1 year ago (5 children)

Awesome guide but wow, that's a lot to understand and do just to roll back, easier to chroot and start blasting

[–] [email protected] 5 points 1 year ago (2 children)

Well, the simplest way to go if you want opensuse-like rollbacka would be to just run opensuse... if you need ubuntu-specific stuff (you don't) there's distrobox.

BTW I've been running tumbleweed for a few years now and didn't roll back once... IDK if the craze about rollbacks and immutable distros (arguments in favour of which often boil down to "easy rollbacks") is justfied or not.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I haven't tried SUSE but that's awesome they take care of rollback out of the box, I'll try setup snapper on my fedora when I'm bored

[–] [email protected] 2 points 1 year ago

Besides snapper itself, you'll have to setup triggers to automatically take snapshots before/after running dnf, generate the appropriate boot menu options and reorganize your btrfs subvolumes so that everything that should not be rolled back (eg /var, /root, /srv, ...) is in a different subvolume than /...

Honestly, if I were you I'd just give opensuse a try instead: I came to tumbleweed from fedora, and it's basically the same, solid thing (only, without the new version drama twice a year).

[–] [email protected] 1 points 1 year ago

I am using Tumbleweed on my home desktop for close to 10 years now and I have used the rollback on 3-4 occasions. Probably could have fixed 1-2 of those issues in another way, but I was to lazy and just wanted to get back to more "stable system" asap and wait for further updates to fix the issues.

[–] [email protected] 2 points 1 year ago

I find ZFS rollbacks to be easier but setting up ZFS can be a pain (other than in Gentoo and NixOS from my experience), so take your pick

[–] [email protected] 2 points 1 year ago

Yeah, after some feedback on the process, I could probably also provide a simple script to run during the live installation.

[–] [email protected] 1 points 1 year ago

On Crystal Linux, you do your thing, screw your OS, reboot to choose a snapshot that was made automatically without your intervention, and that's it. Nothing ever really breaks.