OS X Yosemite keeps rebooting on start up
Hi everyone, I have an early 2011 mac book pro and I upgraded it to OS X Yosemite 5 days ago, first few days was problemless, but I experienced lots of problems starting from today.
Today my Mac shut down all of a sudden, and when I tried to reboot it, it displayed garbled graphics with weird colors and progress bar and apple logo was all garbled. I waited to see what was going to happen, after reaching the half of the progress bar, screen went grey and in 10 seconds, mac rebooted itself and same events took place over and over.
I tried command + option + r + p trick, it didn't help, I had bootcamp installed, I tried pressing option after chime and starting windows 7, it didn't help either. I tried to reboot in recovery mode, progress circle kept turning, then screen became blue, fans started to work really loudly. Then I had to turn off using the power button.
The only combination that allowed me to turn on my macbook pro is command + r, after progress circle turns for a bit, screen becomes blue, despite all the fans working really heavily, if I wait for a minute and turn off the machine by using power button and turn on again, mac starts without a problem, I don't see any garbled graphics whatsoever. I don't know why it works that way, But If I shut down, and power up again, same garbled graphics show up, this is really annoying, to make my laptop work, I need to turn it on and off 2 times. I verified disk with disk utility. It looks fine. Does anybody have this issue, what else can I try? I would really appreciate if you share your thoughts on the issue.
MacBook Pro, OS X Yosemite (10.10)