Skip navigation

Oh No! Deleted private folder.

422 Views 6 Replies Latest reply: Dec 9, 2012 3:16 AM by Kurtelborg RSS
Petstopmike Calculating status...
Currently Being Moderated
Dec 8, 2012 5:39 PM

Oh no! I deleted the private folder. Now my disk is locked.

I cannot reinstall Mountain Lion because I don't have enough disk space. How can I clear disk space to reinstall Mountain Lion, and will this fix my problem?

MacBook Pro (13-inch Mid 2009), OS X Mountain Lion (10.8.2)
  • babowa Level 7 Level 7 (22,060 points)
    Currently Being Moderated
    Dec 8, 2012 5:47 PM (in response to Petstopmike)

    So you can't even use recovery (reboot/restart with Command + R) since you do not have enough space? If you have a backup, you could try that and first erase your disk (that means you'd lose everything on it). Or, if you have a bootable clone, you can boot into it and try to access your internal hard drive from there to delete some stuff.

     

    FWIW, Mac OS requires an absolute minimum of 10 - 15 GB of empty and available hard drive space at all times - more is better.

     

    Having said all that - not sure what you mean with "locked" - what exactly did you change to get the entire disk locked? What's the file path to the folder you deleted?

  • babowa Level 7 Level 7 (22,060 points)
    Currently Being Moderated
    Dec 8, 2012 6:39 PM (in response to Petstopmike)

    Well, I'd suggest a full backup, either with Time Machine or a bootable clone (both on an external drive). You are using your Mac with how little empty space? If you install ML, you still need an absolute minimum of 10 - 15 GB free space after that install.

     

    So, if it's no longer locked and you are using it, I would first get rid of some files I do not need or just move some space hogging files (videos, music, pics) to an external drive. After you've made sure they're there and are working, throw them in the trash a few at a time on your internal and empty the trash often. Do this until you have 15 GB free space plus 5 GB for the Mountain lion install (total of 20 GB free and available).

     

    After that, backup your entire system as suggested above.

     

    Only after you've done all of the above, go ahead and download/install Mountain lion. Upgrades do not fix problems - they actually usually become exaggerated from the upgrade, so make sure your OS is in good condition before proceeding.

  • babowa Level 7 Level 7 (22,060 points)
    Currently Being Moderated
    Dec 8, 2012 6:56 PM (in response to Petstopmike)

    So you're saying you can boot into recovery? You don't have a lot of choice here: you need to erase something in order to do an install; if you can boot into Disk Utility, you can wipe the drive but that means you lose everything on it. The only other way I know is booting from another drive (bootable clone) or Mac to get access to your hard drive. If you have none of those, before wiping the drive, you might want to consider booking an appointment at your nearest Genius Bar to see if there is any other way to do this. I don't think so, but it may be worth a shot.

  • Kurtelborg Calculating status...
    Currently Being Moderated
    Dec 9, 2012 3:16 AM (in response to Petstopmike)

    If you have access to a terminal, and have a USB key with you, you can do the following (just tried it on my Mac, and it worked):

    - open a terminal, enter: cd /Volumes/your_disk_name/

    - then, explore your disk to find every file you need to get back

    - once you find a file, you can copy it to your USB key using:  cp  your_file_name  /Volumes/your_usb_key_name/ (if it's a folder:  cp  -r  your_folder_name/  /Volumes/your_usb_key_name/)

     

    This is a little bit tedious, but you'll have all your files back, and can then erase your disk.

     

    Nb:

    - use tab key for auto-completion;

    - cd path_to_where_you_want_to_go  (change current place to path_to_where_you_want_to_go);

    - ls  (shows all non-hidden files in the current folder; to see hidden files as well:  ls -a).

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.