What is the use of a clean OS (Lion) install?

My machine is a iMac8,1 (24", early 2008) that I bought with Mac OS 10.5 Leopard installed. My question is: what are all the benefits and drawbacks of performing a clean operation system (OS) install? Specifically a clean Lion install in contrast to an incremental upgrade plan.

What I already know:

  • Upgrading to Snow Leopard and subsequently to Lion was easy and without loss of any data. I am aware of obsolete clutter being automatically removed in the processes (mostly PowerPC support), however, I can imagine that some is still present, e.g. Leopard and Snow Leopard system files that are now obsolete. They unnecessarily occupy space.
  • Another arbitrary advantage of a clean install has more to do with ‘personal hygene’: old (third party) programs that I haven't used (and associated files) won't be re-installed.
  • A third and last benefit of a clean install has to do with the physical space the OS occupies on the hard disk drive (HDD). Since the OS is practically the first thing on the disk it occupies the (faster) outer ‘rings’ of the HDD. That makes the OS faster than if it would occupy the inner rings. I presume that happens in the incremental upgrade as I did.

What are other advantages and disadvantages of a clean install? And are there any gaps or inconsistencies in what I already know?


Solution 1:

There are no disadvantages to a clean installation. But the return on Lion has been severely culled due to Apple's decision to prevent any kind of modification to the OS. With previous OS X builds, users were able to select (and deselect) packages (such as printer drivers, extended languages, etc.) during the installation process. Lion brings everything and the kitchen sink.

The ability to trim away parts of OS X was probably the most compelling reason to perform a clean install (saving GB of space).

Your notion of how hard drives work isn't accurate. There's no "prime" location for data, outer ring or inner ring. So long as the files are contiguous, your data will be delivered optimally. Access times depend on rotation latency (speed at which the disks spin, calculated in RPM) and seek times (the time it takes the head to reach the desired location to reach the file), although density plays a role too, by packing more bits of data per region (thus increasing throughput).

Moreover, OS X handles the defragementation of small files on a regular basis, ensuring continued performance over time. It's also of note that such things are gone by way of using SSDs.

Lastly, clean installations may also reduce bugs introduced by updates. While OS X is quite resilient, updates can introduce new bugs into the system. Often times, Apple technicians will request a clean installation and applying only the latest subsequent update in an attempt to isolate bugs (rather than upgrade from a previous version of the OS and then applying a slew of incremental updates). These problems are however quite rare.

Solution 2:

The benefits of a clean install are that you are left with a system disk whose contents are known, and of 'factory' condition. This will remove any third-party software (which may be interfering with good operation); it will free up space by the removal of 'cruft' - vestigial data files no longer wanted or in use. It will return all settings to their defaults and empty caches and temp files. It will also remove all your user data, so don't forge to backup!

A clean install is therefore a useful step if you are experiencing some major issues that cannot be resolved by other steps: it is certainly worthwhile if you suspect that your security has been compromised in some way.

However, after a clean install, most people will want to restore all their user data and settings, and their third-part applications and installations, in order to get their system back to a useful state. The usual process is to use Apple's Migration Assistant. The more data that is restored, the less useful the clean install becomes.

If you delete 100% of your files, and then restore 97% of them, wouldn't it be better/quicker to identify and remove the 3% instead? Caches and temporary files can be purged easily; software that requires complex installation usually comes with an uninstaller or instructions. Third-party additions tend to live within the subfolders of the root level /Library (or for unixy stuff under /usr/local or /opt). The contents of the User Library can be trawled and deleted largely without consequence.

Old, forgotten preference files of deleted apps may not be tidy, but the space they occupy is usually trivial. Beware of 'cleaning' applications, which can delete the wrong file just as easily as you. The OS itself contains thousands of files that you will probably never use, but deleting them would be foolish.

In short: a clean install has a purpose, but the reasons for needing to do it are few and far between.