you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 2 years ago* (last edited 2 years ago)

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.

  • source
  • parent