Turns out my root was on a separate disk with only a few gigs available. I accidentally made the swap fill nearly all of it by following this: https://bogdancornianu.com/change-swap-size-in-ubuntu/
Then it crashed. Now my Linux system is broken. Couldn't even log in at first, but then I set the swap back to default and now it automatically logs in. However, everything is still soundly broken:
- All letters are boxes.
- Can't open Settings.
- Can't open a normal terminal (Ctrl+Alt+F1 still works).
- Internet doesn't work because
libnettle.so.6has invalid ELF header (whatever that means).
- Can't open folders.
- Can't open most programs.
I've made a huge mistake. Is it possible to revive my install or do I need to reinstall?