10

man i wish i had brain cells.

i was trying to free some storage by deleting some btrfs snapshots, so i mounted the directory and started rm -rfing, as you do. a couple minutes in, i decide to reboot and make sure i didn't accidentally start deleting my root partition.

spoiler alert: i accidentally started deleting my root partition.

it only got up to deleting /data (where i keep my multimedia), but my whole /boot directory is gone. now I'm gonna have to spend a couple hours redoing stuff like fstab and grub to make things work again 😃

Comments
  • 4
    Not a slam on you, but in concept I am starting to realize why Java and OS VMs exist. To try and isolate dangerous devs from the hardware. I have done my fair share of stuff. Having some kind of stop gap using a vm for the OS and a vm for the programming environment is not a bad idea.
  • 0
    Since you have to do it over anyway, ditch GRUB and setup rEFInd instead. It's so much nicer, and there's even a driver available to take screenshots in the event you have a kernel panic or other critical failure on boot to help you debug it.
Add Comment