Something is wrong with the filesystem on my ubuntu installation and I'm trying to fix it. I tried to use fsck but the problem is that I don't have access to sudo, when I try to run sudo I get
-bash: /usr/bin/sudo: Input/output error
A lot of other program does work as well like df, same error.
What might be worth knowing is that I'm running the installation on raid 5 (setup from ubuntu, not hardware). It might be possible that one of the disk are broken. Again I need sudo to check the status of that. So how do I fix the filesystem without sudo (or get it back)?
Also of note, I updated over 100 packages yesterday but it seems unlikely that it caused this error, including it just in case.