Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Accidentally deleted /var folder, now recovery utilities not responding to trackpad/keyboard!

So I did something completed stupid, and now have a big problem.


I accidentally deleted /var folder and emptied the trash!!😢

Now my MBP is stuck at the grey start up screen with the apple & spinng wheel and won't start up..


The weird thing is, now when I enter recovery utilities, everything displays fine except I cannot click anything! The mouse pointer moves but won't respond to clicks! Same with the return on keyboard. Arrow keys work to move among 4 options on os x utilities (time machine/ reinstall/ online help/ disk utility) but when I hit enter, no response! The trackpad & return key works fine up until the point where the mbp asks which language to run the recovery utilities.


All my data is backed up online, and now I just want to reinstall os x and start using my mbp again!

I tried reinstall with an installation disc by holding down 'c' on start, then I hear the installation dvd spinning for 3 seconds, then it would start ticking and won't do anything else for a few minutes until I force shutdown.


Please!!! Can anyone help me?? How can I reinstall os x?? I would really appreciate!!


Thank you Thank you Thank you in advance.



-Michelle

MacBook Pro, OS X Mountain Lion (10.8.3)

Posted on Apr 10, 2013 1:48 PM

Reply
4 replies

Dec 30, 2014 9:32 AM in response to hyonhyon85

I know it's late but maybe it will help other people.

I ran into the same issue and none of the solutions listed by apple helped.


I booted into single-user mode and I read the log in /Volumes/Macintosh\ HD/private/var/log/system.log, it was full of errors like theses


Dec 30 18:03:28 MacBook-Air locationd[352]: libcoreservices: _dirhelper: 454: mkdir: path=/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C/ modes[2]=0700: No such file or directory

Dec 30 18:03:28 MacBook-Air.local locationd[352]: could not create persistent store directory (Input/output error)

Dec 30 18:03:28 MacBook-Air locationd[352]: libcoreservices: _dirhelper: 454: mkdir: path=/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C/ modes[2]=0700: No such file or directory


The system actually tried to create directories in /var/folders but the directory /var/folders did not exists, so I created it:


Under single-user mode:

mount -o update /

cd /Volumes/Macintosh\ HD/

mkdir var/folders

mkdir var/folders/zz

reboot


And it booted just fine !


Accidentally deleted /var folder, now recovery utilities not responding to trackpad/keyboard!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.