Hi,
Try this steps;
1. Shut the computer down by holding the power button for 10 seconds
2. Restart the computer and press shift at the same time until you see the progress bar start moving
3. Once you reach the point where your screen goes dark and you see the cursor, type the first letter of the username for your computer, then hit Tab, then type your password, then hit Enter.
4. After a moment, you should see the spinning beach ball
5. Your screen should then move on to something along the lines of "Completing OSX Installation" (I can't remember the exact wording). Let it finish. After that it should go to your normal desktop and the issue should be fixed. (If your screen goes pitch black during this process, hit the space bar. I thought it wasn't working, but the screen was just sleeping).
Apparently it's an issue with an automatic update that never quite got past the login screen.
Also, go through the below article , it will be useful;
http://support.apple.com/en-us/TS2570
Hope this helps!!
My late 2009 iMac goes to grey about 40% into the boot process. Will load in safe mode. Zapped the pram. Eliminated the two logons. Even re-installed Yosemite. No change. Need HELP!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic