3

My friend deleted some hidden files on his Mac (OS X 10.9.4) laptop.

After restarting his laptop the Mac just shows loading progress bar and nothing else.

How can we restore the hidden files and get the computer working again?

  • Which files in particular. – bmargulies Oct 26 '14 at 19:41
  • I don't know which files. – support_ms Oct 27 '14 at 1:38
9

They're hidden for a reason, & that reason is because you shouldn't go anywhere near them if you don't know what you're doing.

To repair the installation…
At Boot, hold Cmd ⌘ R & go to Recovery, or Internet Recovery if that doesn't work.

See About OS X Recovery
Extract:
OS X Recovery includes a built in set of utilities as part of the Recovery System.
You can use OS X Recovery to do the following:

  • Restore your Mac from a Time Machine backup.
  • Verify and repair connected drives using Disk Utility.
  • Check your Internet connection or get help online using Safari.
  • Install or reinstall OS X.

I would suggest you should attempt in that order, probably ignoring 'verify & repair' as you know exactly why the files are no longer there.

To recover invisible files from Time Machine, you would first need to set the Finder to 'show invisibles' which can be done from Terminal or by Applescript - though I'm not certain how you would do that from the recovery startup.

Failing that, the only option would be to reinstall OS X, either from the Recovery partition or via Internet Recovery - this will replace only the System files, your data will not be affected.

|improve this answer|||||
  • 4
    This answer could be improved by providing some steps to follow once in Recovery Mode. Should they restore from a Time Machine backup? Verify the disk? Reinstall OS X? – Ian C. Oct 26 '14 at 15:52
  • Touché ;-) More info added. – Tetsujin Oct 26 '14 at 16:16
0

I did the same while trying to back up my files. I accidentally erased all files as I thought I was only deleting "my files" after copying them on my external drive. I tried the Cmd+R but it didn't work.

I tried restarting with the OS X installation CD, then it booted normally. I never had to do a reinstall.

|improve this answer|||||

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .