this post was submitted on 03 Jan 2024
211 points (95.7% liked)

Linux

48214 readers
704 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
211
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

This is your annual reminder to do a snapshot (timeshift or whatever you prefer) before doing relatively minor changes to your system.

I was supposed to be in bed now, but instead I am stuck troubleshooting xorg refusing to start after an apt-get dist-upgrade.

And as far as friendly reminders go, I should've given myself an unfriendly reminder beforehand, as it's not the first time....

UPDATE: Fuck nvidia 545. All my homies hate nvidia 545. 535 4 lyf!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 10 months ago* (last edited 10 months ago) (3 children)

Timeshift. It has an easy to understand GUI that doesn't really need much of an intro: You create snapshots of your system files and configs that can be restored if/when you bungle it up.

[–] [email protected] 2 points 10 months ago (1 children)

Never used it myself and i am still a linix noob but what is the restore process if your OS isnt bootable?

If their like a rescue environment you boot into or something?

[–] [email protected] 3 points 10 months ago

There are many approaches, depending on what broke. In my case the system was fine, just xorg being completely borked. So I logged into the console and fixed it.

If regular console doesn't work, something really went bad during boot, for which there's single-user mode which is kind of similar to safe mode from Windows 98 (I'm sure there's something similar in newer windows versions).

And of that doesn't work, there's the minimalistic rescue shell.

And if that doesn't work, you can boot from a USB or some other external media and try to fix your system from that, maybe even using chroot to use the system somewhat normally.

[–] [email protected] 2 points 10 months ago

Thanks, all setup!

[–] [email protected] 2 points 10 months ago

Timeshift works best if you use BTRFS for your root partition because snapshots can be taken instantly. I have mine setup to automatically take a snapshot every day.