Not enough storage for El Capitan; no way to free up space

Solution 1:

Boot to Recovery Mode (hold cmdR while booting). In the menubar open Utilities -> Terminal.

Now change your working directory and go to /Volumes:

cd /Volumes

List all volumes:

ls -l

Move to your main volume

cd name_of_main_volume

Now you can move forward to a directory to remove files and folders with cd folder_name.

Appropriate paths to remove files or folders without touching your own data are:

/Volumes/name_of_main_volume/cores
/Volumes/name_of_main_volume/var/vm

Then remove files with rm file_name or rm *.* after making sure you are in the proper directory with pwd and checking all files with ls -l.

The folder cores may be empty, vm usually contains a sleep image and/or swap files which are all disposable.

If this doesn't suffice go to your applications or your user folder and remove files/folders.

To remove a folder use rm -R folder_name. In this case application files (e.g. Maps.app) are also folders!

Solution 2:

So the same thing happened to me , and here is how I solved it. Go in the Recovery menu (hold cmd+r), in the top left corner, you should see the Apple logo.Click on it and select the boot disk, which should appear as your internal hard disk, you will be prompted to enter your password to decrypt it and you should be good to boot into your old system.

Solution 3:

I found a solution for me (El Capitan MacBook Air), as the above did not work in my situation because all that I could acces through Terminal in recovery mode (what it brings you to as described above) are the Sierra installers (could not eject them, no Macintosh HD). So there was no way I could delete files to free up more space. I spent a lot of time trying to get the Terminal solution to work.

Finally I called Apple and asked to be transferred to a higher tier supervisor. She knew exactly where I was and suggested a simple fix:

  1. Open Disk Utility from that main menu.
  2. Select your hard drive. Not the name below, but the parent "Apple SSD ****" or whatever it's real name is.
  3. Select "First Aid".
  4. Once done, reboot.

In my situation my reboot brought me right back, as if I just hit "cancel" on the update. It was a super simple fix!

Solution 4:

I was installing El Capitan from Snow Leopard. After taking a few hours to start installing, it popped up and said the installation failed, and to click restart to try again. I clicked restart, and it restarted, then asked me what disk I wanted to install El Capitan on, and I picked Macintosh HD and it said not enough space - which surprised me, because I had checked before downloading El Capitan and starting the install that I definitely had enough space. I think the partial install had taken up a lot of space. I couldn't get back to my normal functioning Snow Leopard, every time I turned on the computer it would take me to the El Capitan install screen.

After getting no help from Apple Support, who told me I was going to need to erase my hard drive, I started Googling and found this. Thanks to @klanomath for getting me started with a solution that worked.

  1. Turn off computer using the power button.
  2. Hold down command+R, click the power button, keep holding down command+R until the Apple logo appears, let go. This starts recovery mode.
  3. On the very top of the screen, went to Utilities>Terminal.

The goal was to find big files I could delete.

To get to your main disk, if it's called Macintosh HD. The back slash you have to put before any spaces:

cd /Volumes/Macintosh\ HD/

To get list of everything in the folder you are in: ls -1
To get to my documents, use: cd /Volumes/Macintosh\ HD/Users/username/Documents
If you need to, you can navigate around by doing: cd /Volumes/Macintosh\ HD/ ls -1
it shows you a list of folders, then get to the subfolder by either cd /Volumes/Macintosh\ HD/Subfolder/ (typing full path)
or cd ./Subfolder/ (shortcut where the . is wherever you are now).
To go up a folder use cd ...

Then once you're in a subfolder with some files you're considering deleting, you can use the following to get a list with file sizes, so you can identify the big ones:

ls -lh

After I navigated around a while and couldn't find many big files, I googled and found I could do the following to get a list of paths of all files bigger than 500 MB:

find / -size +500000 -print`

Then I could re-navigate to them so that I could delete them. To delete a file use:

rm filetodelete.ext

(be careful you type the file name right, you don't want to accidentally delete other stuff, this can't be undone)

To check the directory you are currently in use pwd.

I deleted some big video files I had and freed up several GB of space. Check the space with

df -h

Look for Macintosh HD in the list (if that's the name of yours) and there should be some stats about % of space full, GB used vs. free, etc.

Then, in the very top left of the screen, the picture of an Apple, I clicked that and clicked "restart," my computer restarted, started the El Capitan install again, took forever, but actually finished! And now I am happily running El Capitan and did not need to erase my hard drive. I will be backing up some of my stuff now, lesson learned :)