Hi, I'mCustomer Welcome to JustAnswer. I'm reviewing your question now, and will post back with your reply ASAP.
Please Turn off your Macbook by holding down Power button for 5 seconds. Then turn it back on and immediately hold down Command and R keys at same time for 10 seconds, this will boot your Macbook to the Mac OS X Utilities screen. Now click Disk Utility. Select your hard disk at left column and click Verify Disk (First Aid). If asked to repair, click Repair Disk and click Repair Permission. Restart from Apple menu and check.
Do you have the backup of your files ?
If Disk Utility is unable to repair the problem with the partition map then you may have to reformat the disk. but before this, let's try creating a new user account and see if you are able to boot your Mac into it :
Reboot your Macbook and immediately hold down the Command (Apple) and S keys together for 10 seconds to boot into Single User Mode, When you see the text prompt, type in the following terminal commands to create a new Admininstrator account (hit return after each line).
mount -uw /
shutdown -h now
After reboot, you should be able to create a new Administrator account. Create an account and login to it.
Let me know the results.
Is it still stuck on the login page, can you type your password ***** login?
In the "black screen" after the # sign , type this commands please :
mount -uw / (hit enter)
rm /var/db/.AppleSetupDone (hit enter)
shutdown -h now (hit enter)
let me know the results
any errors? can you restart it again and check again please
Ok, try this last fix :
are you able to run the two commands please?
Let me open your question to other experts.
Yes you can try this, i hope it works out.
Please Make sure you typed the name correctly.
sudo find /private/var/folders/ | grep com.apple.LaunchServices | grep csstore
sudo rm /private/var/folders/cd/someLongRandomNameHere/someFolderNumberHere
You can replace someLongRandomNameHere/someFolderNumberHere
I'm sorry but We may need to erase the hard drive and install a fresh OS X.
Yes you can, give me a moment
First you will need an external Hard drive then you can follow the steps below :
Do you have iCloud account, if yes can you check if your data has been synchronized and saved in your icloud account
Are you there please? did you check your icloud account ?
If you still in the recovery mode you can the commands again, this time type :
find /Volumes/YourDrivename/private/var/folders/ | grep com.apple.LaunchServices | grep csstore
This command will have long and random looking names that end in csstor. Make a note of every file shown, then delete them
For example type the command (make sure you replace the someLongRandomNameHere/someFolderNumberHere with the names and folder numbers you find using the first command) :
rm /private/var/folders/cd/someLongRandomNameHere/someFolderNumberHere/com.apple.L aunchService-whatever.csstore
I would suggest to backup your files using recoverymode or iCloud then to do a clean installation, this is the only solution i can give you.
let me know if you need further assistance