this post was submitted on 03 Jan 2024
209 points (95.6% liked)

Linux

48328 readers
507 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
209
submitted 10 months ago* (last edited 10 months ago) by neidu2@feddit.nl to c/linux@lemmy.ml
 

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
[–] lal309@lemmy.world 6 points 10 months ago (4 children)

How are you taking the snapshot automatically?

[–] GenderNeutralBro@lemmy.sdf.org 13 points 10 months ago (3 children)

Honestly, I'm not 100% sure how to set it up, because I let Spiral Linux handle this for me. Spiral Linux is basically a Debian spin, not a full distro. It installs Debian and preconfigures some reasonable defaults, like BTRFS, backported kernels, virtualization support, and some other niceties. The end result is a pure Debian system, operating solely on Debian repos.

If you're already running Debian, or want to install from stock Debian media, there are instructions from various places. The gist is that the snapper package automatically sets this up, though you might need to manually configure some subvolumes. Here is a very detailed guide that starts from zero. It is mildly opinionated so it's a little hard to tell what the minimal config would be: https://medium.com/@inatagan/installing-debian-with-btrfs-snapper-backups-and-grub-btrfs-27212644175f

Search for the part where they mention apt.conf.d.

[–] lal309@lemmy.world 5 points 10 months ago (2 children)

Ah okay well I appreciate the response anyways. I’m also struggling to figure how to snapshot my /home since I put it in a different partition during install. Timeshift is “unable to see it”.

[–] reallyzen@lemmy.ml 1 points 10 months ago* (last edited 10 months ago) (1 children)

Tumbleweed does it, comes preconfigured out of the box. TBH I'm trying to get the same on Arch & fail. The snapshot-before-change are easy enough, but reverting is where I fail.

[–] lal309@lemmy.world 2 points 10 months ago

Have you tried to manually specify the subvolume id (sudo btrfs subvolume list /) of the snapshot you want to restore to in /etc/fstab?

When I was distro hopping I believe Garuda Linux took snapshots and was easily able to restore a few times. Maybe you can reverse engineer what they’ve done???

I’m running Nobara right now for my gaming setup but I’m half tempted to try TW.