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.6
has 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?
fsck
or file system check your partitions... I would boot a live system and do that before using your system after any crash, as if it detects & fixes any flaws, you'll likely find a normal boot after it.