It sounds like you don't have the GD extension installed. I don't use Ubuntu any longer, but I think it may be named php5-gd,...
So to reset the root password, you still start mySQL with --skip-grant-tables options and update the user table, but how you do it has...
Finding all files containing a text string on Linux
How to disable SSH timeout
I've observed that running a filesystem check (fsck) on the disk doesn't permanently resolve issues, as they tend to recur within a few days. Interestingly,...