MacBook Pro shuts down during startup
I have a Mid-2012 MacPro with installed yosemite a few weeks ago. I encountered the problem yesterday and tried to fix it and search through the internet for a solution with no success. I tried resetting SMC/PRAM nothing happened. Tried booting into safe mode but its as if its ignoring the fact that I'm holding the shift key. Tried booting into safe mode via terminal in DU but it says "unknown command" or something. Even tried Fsck, recovery partion(it doesn't show up, only Macintosh HD is presented). Tried reinstalling Mac OS to see if that would work "An error occurred while preparing..." even though I changed the time using terminal. The Macintosh HD is grayed out when I click on it, then I click on unlock allowing me to either verify disc, or permission, not repair them. The strange thing is that two Macintosh HD is in DU, and later another drive is there which says APPLE 500GB...can't remember. I also waited an hour to let it cooldown and when it starts up, the progress bar goes about halfway before it shuts down. I also have some valuable files on my drive and I don't want to loose it. I don't know how I can back up my stuff now. If I could do that I wouldn't mind getting a new drive or erase everything and do a clean reinstall. Anything would be helpfull, please help me! Thanks 🙂
MacBook Pro (13-inch Mid 2012)