my MBP can not startup after remove subdirectories under /var/folders/, found error in system.log: could not create persistent store directory (Input/output error)
my problem:
my MBP(15.4 with retina, Mac OS X 10.10) is stuck at the grey start up screen with the apple & spinng wheel and won't start up..
my actions(try to resolve the problem)
1, try to startup my MBP in safe-boot(hold on Thift button during startup)
result: failed to startup my MBP
2, try to restart my MBP after verify and repair my disk(hold on Option+Commond+R during startup, then select disk utility)
result: failed, and my disk is OK
3, try to see system.log
1), make a bootable MAC OS X USB disk(hold on Option+Commond+R during startup, get into Internet Recovery, then select install MAC OS X to my USB disk)
2), boot from my USB disk
3), found error message in /var/log/system.log
Mar 1 10:12:10 myMBP xpcproxy[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: could not create persistent store directory (Input/output error)
Mar 1 10:12:10 myMBP locationd[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: could not create persistent store directory (Input/output error)
Mar 1 10:12:10 myMBP locationd[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: could not create persistent store directory (Input/output error)
Mar 1 10:12:10 myMBP locationd[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: could not create persistent store directory (Input/output error)
Mar 1 10:12:10 myMBP locationd[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: could not create persistent store directory (Input/output error)
Mar 1 10:12:10 myMBP locationd[389]: Logging binary sensor data to locationdSensors.bin
Mar 1 10:12:10 myMBP locationd[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: could not create persistent store directory (Input/output error)
Mar 1 10:12:10 myMBP locationd[389]: Incorrect NSStringEncoding value 0x8000100 detected. Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future.
Mar 1 10:12:10 myMBP locationd[389]: libcoreservices: _dirhelper_userdir: 316: stat: /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/: Permission denied
Mar 1 10:12:10 myMBP locationd[389]: could not create persistent store directory (Input/output error)
Mar 1 10:12:10 myMBP locationd[389]: NBB-Could not get UDID for stable refill timing, falling back on random
Mar 1 10:12:10 myMBP locationd[389]: Could not open database consolidated.db, error code = 14
Mar 1 10:12:10 myMBP com.apple.xpc.launchd[1] (com.apple.locationd[389]): Service exited due to signal: Segmentation fault: 11
Mar 1 10:12:10 myMBP com.apple.xpc.launchd[1] (com.apple.locationd): Service only ran for 0 seconds. Pushing respawn out by 3 seconds.
Mar 1 10:12:10 myMBP ReportCrash[367]: Saved crash report for locationd[389] version 1615.21 to /Library/Logs/DiagnosticReports/locationd_2015-03-01-101210_tsingfudeMacBook-Pr o.crash
Mar 1 10:12:10 myMBP ReportCrash[367]: Removing excessive log: file:///Library/Logs/DiagnosticReports/locationd_2015-03-01-101106_tsingfudeMac Book-Pro.crash
4, search topic about "could not create persistent store directory (Input/output error)"
found a similar problem:
Accidentally deleted /var folder, now recovery utilities not responding to trackpad/keyboard!
Accidentally deleted /var folder, now recovery utilities not responding to trackpad/keyboard!
I remember that I have remove some subdirectories under /var/folders/. So I think I get into the same problem.
I try the method mentioned in single user mode(hold on Commond + S during startup) with following operations:
mount -o update /
cd /Volumes/Macintosh\ HD/
mkdir var/folders
mkdir var/folders/zz
mkdir var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d
reboot
result: still failed to startup my MBP with similar messages in system.log
want Help:
I know that reinstall my MAC OS X may resolve the problem.
I want to know is there any solution to recover my MBP without reinstallation.
Any help is appreciate.
MacBook Pro with Retina display, Mac OS X (10.7.5)