How to reinstall/repair OS X without losing files?
You can do an Archive &amp; Install which will reinstall OS X but keep your files.
Don't forget to make a backup before you reinstall in case something goes wrong.


Boot with ⌘R to enter the Recovery HD.
Choose Reinstall OS X.
Follow the instructions.