Switch the PS3 off (Red Light). Hold your finger on the power button
until the PS3 switches on and off. Take your finger off and hold it in
again. It will come on. Hold it until you hear a double beep and take
it off immediately. You will then be taken into a recovery menu. It
will ask you to connect your controller via USB. Choose option 3 -
Restore File System (Do not try any other option as it will erase some
or all data on your HDD). It should work after this.