This is the second time this has happened. I have disabled mouse acceleration on Ubuntu by following these instructions.
Immediately after that I tried to log out but the system got hung at the fsck screen, so after about 5 mins I force-shutdown the system and when turning it on again Ubuntu got stuck on the fsck screen and won't get past that!
I have tried using a live USB to both delete the file that I created and also run fsck on the sda6 partition and it says everything is OK. Don't really know what to do now. This is what it looks like: