recently I installed Ubuntu 16.04 on my Raspberry 2 Model B. Everything went well and I had no errors. Then I tried to install owncloud, but i hung forever. Then even Ubuntu was freezing and so I had to pull the power plug. After Ubuntu was starting next time, some applications wouldn't start at all and then no application started anymore. I shutdown Ubuntu and I got some I/O errors.
[32121.459344] Ext4-fs error (device mcblk0p2): ext4_find_entry:1457: inode #130051: comm dbus-deamon: reading directory lblock 0
[32121.459344] Ext4-fs (mcblk0p2): previous I/O error to superblock detected
The same error for comm (sessions) , comm avahl-deamon and comm (dom-seed) actually the first time I shutdown Ubuntu, the whole screen was full of these errors.
I can't even open a terminal properly, also not with ctrl + Alt + F2. It seems that some debugs are running through and its also throwing I/O errors in an (e.g. mmcblk0: error -110 transferring data, sector 8151061)
The 32GB microsd card on which I have installed Ubuntu is about 1 Year old and I had Raspian installed previously. Unfortunately I didn't fully format the Card before I installed Ubuntu, maybe that was the mistake.
Do you think I can rescue the Ubuntu installation somehow? If not, what can I do so that this doesn't happen again? Formating the SD-card before re-installing Ubuntu? Or better using a new SD-card altogether? Thanks in advance for your help.
UPDATE
apparently the SD-Card was faulty. I formatted the SD-card (slow format) but the error kept coming back even then. With a new SD-card I've not seen this error anymore