this post was submitted on 07 Feb 2024
498 points (95.1% liked)
linuxmemes
20943 readers
233 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
See, this is why BTRFS is a good idea.
I borked one of my installs today by accident. I'm not even sure what happened... I upgraded the kernel, then weird things started happening, then X just froze, I restarted, runit would't even go to phase 3 of the boot process, X couldn't load, just gave a bunch of errors. Oh well, BTRFS to the rescue ๐. This is where things get interesting ๐.
I was on the phone with my wife while I was trying to bring back a snapshot of the volume... have no idea what I did, but I managed to wipe the root subvolume ๐. Not like just empty, but completely gone ๐คฃ. OK ๐ฌ. Let's see if the snapshots are still there. Yep, still there. OK, recreated the subvolume and tried to load a snapshot of it, this time, wuthout talking on my phone ๐. Worked like a charm ๐. Restart, sure enough, it loads grub and the OS, everything's back to normal ๐.
Start using filesystems that can make snapshots, like BTRFS or ZFS. Sure, they have a bit of a learning curve, but trust me, it's worth it.