I messed up.
Today, I was trying to remove some software that I had built from source, but for whatever reason sudo rm -rf *
wasn’t working, so without thinking, I executed the forbidden command, sudo rm -rf /*
. Once I saw that were errors that I couldn’t delete some files in /dev/, I immediately Ctrl-C’ed the command, and did SysRq R+E+S+I+U+O.
I’ve gone through some issues where the update got interrupted and the kernel wouldn’t work before, so I booted from a live USB and attempted to chroot into my root drive, but it couldn’t find /etc/resolv.conf
, so I used dolphin to look into the drive, and to my horror, the entire /etc/
folder is GONE.
Then, I installed ext4magic to try and recover the deleted files whilst refering to https://wiki.archlinux.org/title/File_recovery#Ext4Magic, but zsh is giving me a segfault in the middle of the command.
Yes, I know I’m stupid. I have no backups. Thank you in advance for having to deal with my foolishness.