this post was submitted on 11 Nov 2023
310 points (97.0% liked)

Linux

47237 readers
3343 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
 

Follow-up from "Dumbest Thing you have done distro-hopping?".

Here's mine - the laptop from which I'm typing right now has a broken touchpad that keeps jumping and clicking randomly, and does not work. Well, I can't afford to fix it, but at the moment, I was so pissed off I punched the touchpad really hard, and the machine panicked with all the lights blinking. A few more revival abuses, and the machine was back to life, but since I was running a nixos-rebuild switch --upgrade in the background, I blew off my boot partition. I think I just broke the unbreakable distro.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 10 months ago

Immutable distros solve the "distro broke and now its not booting" as in that case you wont get an update.

Maybe if their testing is good other bugs are detected too. Also, everyone has the same OS. So the community can quickly report breakages and the update can be reverted.

For easy rollbacks, regular BTRFS snapshots work too. But not sure if these boot options are just the kernel, Fedora has this by default. I guess immutable OSses are better here too.

So having some way to detect nvidia updates (this is an open field but could be great, like a popup "nvidia drivers updated!", as updates are done automatically in the background) could help. Always if you get this popup, reboot and check the OS veeery thoroughly.

You could also increase the number of backup deployments to keep, like 3-4 or so. Takes up some extra GB of space but not really a problem.

Or, you could do an ostree admin pin 0 whenever an update with nvidia finished. Then reboot and check it out. If it breaks, you have that working version pinned, just reboot and you have your working system back.

So... yes immutable distros fix this XD