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

Linux

48683 readers
360 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
all 11 comments
sorted by: hot top controversial new old
[–] regulatorg@discuss.online 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

[–] gomp@lemmy.ml 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.

[–] regulatorg@discuss.online 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

[–] gomp@lemmy.ml 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).

[–] dino@discuss.tchncs.de 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.

[–] somedaysoon@lemmy.world 4 points 1 year ago (1 children)

Have you tried timeshift? It's pretty easy, and I really like it. I use timeshift to make restore points for my OS and borg for doing data backups.

[–] regulatorg@discuss.online 1 points 1 year ago* (last edited 1 year ago)

Yeah I actually use time shift on my main system but my boot/efi is fat32 so it doesn't get restored during snapshot rollback resulting in failed boot if kernel was changed .I guess there is a few complicated solutions to that. Also on fedora time shift is not supported anymore (?)

[–] ruination@discuss.tchncs.de 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

[–] arashsm79@lemm.ee 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.

[–] warmaster@lemmy.world 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.