Just re-install the OS. Sounds like your Hard disk data was corrupted. A re-install will write over the current system files that are necessary to get you up and running again.
Don't format the drive if you need files that were on there. You can just re-install over the top and should not lose much data (depends what was being accessed/written when power cut.)