Freeing space on your Mac OS X startup disk

This extract from a chapter of our book Troubleshooting Mac® OS X describes several ways to free-up space on your Mac OS X startup disk, also known as your Mac OS X boot volume.

While you could replace your current hard drive with a larger model, or install a second internal hard drive if your Mac will support such, the following tips will help you to free some space without changing your hardware. Additional tips are provided for saving more space if you have a second internal hard drive or an available partition.
Determining available space on your startup disk

To check how much free space is available on your startup disk:

1. In Finder™, select your startup disk’s icon. For most users, this is Macintosh HD.
2. Press the Command-I keyboard combination.
3. The Get Info window for the startup disk will open, showing the Capacity, Available (free space), and space Used.

Simple ways to free space

You can employ any of the following tips to increase the free space available on your Mac OS X startup disk without altering your hardware.
Empty the Trash

As obvious as it may sound, some folks regularly Trash files but neglect to periodically empty the Trash. In Finder, select Finder > Empty Trash or, under Mac OS X 10.3 or later, you can also select Finder > Secure Empty Trash.

Do not use the Trash as a “temporary” storage area. Only put an object in the Trash if you are sure it is no longer needed.
Archive old files

Archive — move, copy and delete, or backup and remove — files you do not use regularly to CD or another backup medium.

If you have not done so already, this is an excellent time to consider implementing a comprehensive backup and recovery solution.

Mac OS X 10.3 Panther® and later has a built-in function — Create Archive — for creating compressed archives of files or folders. These archives are generally far smaller than the original files they contain, provided the original is not already in a compressed format. To use this function, see the following AppleCare® Knowledge Base document corresponding to the version of Mac OS X you are using:

* “Mac OS X 10.4 Help: Archiving files and folders.”
* “Mac OS X 10.3 Help: Archiving files and folders.”

Clean up system logs and temporary files

Follow the advice in our “Running Mac OS X Maintenance Scripts” FAQ to regularly execute the Mac OS X maintenance routines that clean up System logs and temporary files created as part of the UNIX® underpinnings of Mac OS X.
Remove unused localization files

If you selected the Easy Install option when installing Mac OS X, localization files for over a dozen languages are installed. These files enable the Mac OS X interface to appear in a variety of languages. You can save roughly 200Mb of hard disk space by removing these localization files.

* If you only need to run your Mac in US English, download and run Bombich Software DeLocalizer.
* If you wish to retain specific localizations — such as US English and Spanish — download and run the freeware utility Monolingual to remove only selected localization files.

Note: Be sure to thoroughly read the instructions before using these utilities. Only use versions which are compatible with the version of Mac OS X you have installed.
Delete the Previous Systems folder from a prior Archive and Install

If you have performed an Archive and Install of Mac OS X, a Previous Systems folder was created containing your prior Mac OS X System folder. Once you are satisfied that your Mac is functioning properly after an Archive and Install, you can delete the Previous Systems folder as follows:

* Mac OS X 10.3 Panther® or later:

1. Using your Admin account, drag the Previous Systems folder to the Trash.
2. Type your Admin password when requested to authenticate this operation.
3. Empty the Trash.

* Mac OS X 10.2 Jaguar: See the AppleCare Knowledge Base document “Mac OS X 10.2: How to Delete a Previous Systems Folder.”

Uninstall unused applications

If your Macintosh HD > Applications folder is cluttered with:

* Applications you are no longer using.
* Trial software that shipped with your Mac, but which you do not intend to use.

Then uninstall them.
Uninstall Mac OS 9

If your Mac can only boot into Mac OS X and you have no need for Classic mode, you can uninstall Mac OS 9 using the instructions in the “Uninstalling Mac OS 9” section of the “Mac OS 9” chapter of Troubleshooting Mac OS X.
More ways to save space if you have a spare partition or second hard drive

If you have a second hard drive or an available partition, you can also save space on your Mac OS X startup disk with the following additional tips.
Move your iTunes Music folder to another disk or partition

To change the location of your iTunes® Music folder, carefully follow the instructions in the AppleCare® Knowledge Base document “iTunes Moving your iTunes Music folder.”

Laptop users may want to consider having two iTunes libraries: a small library of current favorites on their computer, while their complete library resides on an external hard drive. Utilities like iTunes Library Manager enable you to easily have multiple iTunes libraries you can use with your account.

You can investigate other solutions for managing multiple iTunes libraries by searching MacUpdate and VersionTracker.
Move your iPhoto Library folder to another disk or partition

To move the iPhoto™ Library folder to a new location, employ the instructions in the AppleCare Knowledge Base document from this list corresponding to the version of iPhoto you are using.

Laptop users may want to consider having two iPhoto libraries: a small library of current, favorite photographs on their computer, while their complete library, or archives of older photos are saved on an external hard drive. Utilities such as iPhoto Buddy and iPhoto Library Manager enable you to have multiple iPhoto libraries that you can use with your account.

You can investigate other solutions for managing multiple iPhoto libraries by searching MacUpdate and VersionTracker.
What about moving my Home or Users folder?

The UNIX underpinnings of Mac OS X make it possible to move either your Home folder or the entire Users folder to a different disk or partition. While this seemed to work well for some users in the early days of Mac OS X, it has become problematic with respect to Mac OS X Updates.

For example, we know of at least one Mac OS X Security Update that expected the Users folder on the Mac OS X startup disk. Those who had relocated Users to another partition had problems installing this update. Consequently, we do not recommend moving either your Home or Users folders to a different disk or partition.

However, if you want to throw caution to the wind, advanced or expert users will find these instructions from Bombich Software useful in relocating a Home folder to another partition.
Finding lost disk space

If you find your Mac OS X startup disk has become full unexpectedly:

1. Check Console for clues. In particular, examine the various Console logs for large blocks of identical, repeating messages. Such blocks of repeating messages often indicate a runway process is logging excessively due to either a flaw in the process itself, its logging parameters, or a problem with your Mac. Excessive logging can result in log files growing without bounds.
2. The freeware utilities OmniDiskSweeper and WhatSize are great for finding large, invisible files. Take care to be sure you understand the purpose of a large file before you delete it. In particular, Virtual Memory (VM) Swap files, located in the /private/var/vm directory, should not be deleted while your Mac is running. VM Swap files are created and released dynamically by Mac OS X.

Leave a comment

Name:

eMail:

Comment: