How to Reinstall the System (Mac OS X)
Users sometimes scoff or cringe at the notion of reinstalling the system. But consider this: on the one hand, system software is complicated, and the source of problematic system behavior can be difficult to track down; on the other hand, software arises in files, so the mystery is merely which files are causing the problem. Reinstalling the system is thus a guaranteed, straightforward solution, because it removes all files that can affect system behavior, starting you afresh with a completely clean, vanilla system. Users whose computers are misbehaving should not be reluctant to reinstall the system. It is perfectly safe, fairly easy, and not particularly time-consuming. No data is lost in the process.
(Of course, if your trouble is caused by hardware, reinstalling the system probably won't help. But this very fact can be a useful diagnostic, helping to prove that the trouble is hardware, not software.)
Record user data Start by noting the names and (if known) passwords of your computer's user accounts, so that you can restore them later. Also, note any network configuration information needed for connectivity.
Assess free space Make sure your hard disk has lots of free space (more than 10GB). If there isn't room on your hard disk for a new clean system in addition to everything that's there now, along with plenty of scratch space, Archive and Install isn't even an option.
Locate and start up from your system installer disk You may be able to reinstall using an Install or Software Restore disk that came with your computer. The description that follows, though, assumes you're using a stand-alone system installer disk (for Tiger, it's a DVD). Insert the disk and start up from it. Begin performing the installation.
Specify a clean Archive and Install When you get to the "Select a Destination" screen, after specifying the volume containing the system you want to replace, press the Options button. In the resulting dialog:
Choose "Archive and Install". This means that your entire existing system, including applications, and all users and their home directories, will be moved off into a secondary folder, and a new, completely clean system will be created without deleting anything.
Uncheck "Preserve Users and Network Settings". This is important! The checkbox is offering to automatically meld some of your existing preferences and other settings files into the new system. But such a meld risks incorporating into the new system the very files that may be corrupted and causing the trouble. You want the installation to be truly clean.
Recreate users After the installation is complete and you've rebooted into the newly installed system, you're asked to enter your user information. Do so, recreating the first admin user from before. When you reach the Finder, use the Accounts pane of System Preferences to recreate any other previously existing users.
Prepare to migrate your stuff You are now in a completely vanilla Mac OS X world. All old stuff appears to be missing, but it isn't; it is all in a top level directory called Previous Systems, probably in a subdirectory called Previous System 1. Here you'll find your old Applications folder, for example, and in the Users directory you'll find the home directories of all previous users, complete with all their data.
The idea now is to copy those applications and that data from their place in the Previous Systems directory into the corresponding place in the newly installed, clean system. You may encounter permissions restrictions that prevent you from doing this easily in the Finder. If so, there are two simple solutions:
Restart the computer in FireWire target disk mode and connect it to another computer. Using the Finder's Get Info dialog on the target volume, set it to ignore permissions there.
Alternatively, create the root user on your computer; then log out and log back in as the root user.
Either way, you now have an unrestricted ability to move files from one place to another on the target volume.
(If you're a power user with material that may need restoring from some invisible location, such as the old /usr directory, you may also need the unrestricted ability to see files and folders, even normally invisible ones. An easy approach is to use TinkerTool, which has an option to make the Finder show invisibles. Or you can use the command line in Terminal to view and copy material of this sort.)
Migrate your stuff The idea now is to move or copy your old stuff into the corresponding place within the new, clean Applications directory, User home directories, and so forth. Here are some tips:
Be careful not to overwrite any existing system-created folders! For example, do not copy your entire old Preferences folder into your new Library folder; rather, copy individual files from within your old Preferences folder into your new Preferences folder.
Be careful not to overwrite any existing system-created files. For example, don't copy Safari from your old Applications folder into the new Applications folder, because there is already a clean Safari in the new Applications folder. In a few cases, if you really know what you're doing, you might break this rule; for example, you might copy Library/Safari/Bookmarks.plist from its old location into the new one, even if a Bookmarks.plist is already there, because your old bookmarks count as a piece of your old data that you don't want to lose.
Be thorough, but don't overdo it. Files can lurk in unexpected places, so you should be fairly systematic in your exploration of the old system. But don't feel that you have to copy absolutely everything. Preference files, for example, will be recreated anyway when you start up the corresponding application. You might later have to re-enter a serial number when you start up an application for the first time; you might even have to reinstall an application from scratch, so that it places its pieces in the right places. But this is not difficult and can be dealt with as the need arises.
Remember, the goal here is to keep the new system lean and mean, and not to accidentally migrate any of the files that might be causing the trouble in the first place. So confine your migration to the essentials. From time to time during the migration process you might like to pause, log out, and log in as an ordinary user, just to make sure the new system is still working correctly.
Clean up After migration, you should probably remove the Previous Systems directory, so that applications within it won't accidentally start up. If you think that the Previous Systems directory may still hold neglected data you might wish to retrieve later, use Disk Utility to copy it into a disk image; then unmount the disk image and delete the Previous Systems directory. This ensures that the whole previous system is retained, yet not directly accessible.
Start up as a normal user and make sure that all is well. If you enabled the root user, you might want to disable it again, to prevent its misuse.
In a few cases, it may be that permissions resulting from moving files have not resolved themselves properly. So some permissions may have to be manually readjusted. This problem, however, should not normally present itself, and explaining how to fix it is outside the scope of this discussion.
As mentioned earlier, you may discover over time that some third-party applications may not work properly after migration; serial numbers may have to be re-entered, or the application may have to be reinstalled from scratch. Such discoveries are easily dealt with on a case by case basis.
Finally, you'll want to update the system. Once again, the goal is not to reintroduce whatever caused the trouble in the first place, which in some cases means avoiding the update(s) that were applied directly prior to the problematic behavior. For instance, if you started experiencing issues after updating to Mac OS X 10.4.9, you may want to use the Mac OS X 10.4.8 combination updater available from Apple's download page and avoid Mac OS X 10.4.9 altogether.
In addition, you might like to reread our suggestions for how to perform a system update.
Resources
If the UID doesn't match, when the users' prior home directories are copied, file ownership will be wrong.
That said, I have always been successful with Archive and Install, preserving Users and network settings. After doing this for several clients with system trouble, I have never had to resort to <i>not</i> preserving Users.
The outlined technique is useful in more extreme cases, which are in the minority.
I just reinstalled the Mac OS X. When asked for my real name, I gave it, which is Muriel Mae Day. Somehow the system put two spaces between Mae and Day. I gave my name a new password. Now I'm attempting to to recreate the user information. My first admin user name before was miss.moo, so I created that again in Accounts pane of System Preference. I think I'm now having a conflict with my newly created admin name Muriel Mae Day with new password and my first admin user name with password I've always used with miss.moo. I'm encountering permission restrictions in getting applications from Previous Systems into the corresponding place in the newly installed clean system. Also, I'm having problems with ownership of applications. When asked for my real name, a pop up stated that would be my new keychain login.
---
I don't know what my Signature is. Maybe I didn't enter one.
If the UID (and groups) don't match, you can always use Netinfo Manager.app (in /Applications/Utilities) to reset them. It is a bit tedious if you have many users, and you have to be careful to avoid duplications, but it can be done.
Correct me if I'm wrong, but an admin user correct the ownership themselves from within their own account. They would:
* Open Applications/Utilities/Terminal.
At the prompt, copy and paste in this text:
sudo chown -R `id -u`:`id -g` /Users/`id -un`
then press <RETURN>. They will be asked for their admin password. They should enter it (it will not be echoed) and again press <RETURN>. When they return to the UNIX prompt, they can quit Terminal.
Only admin users can use the above command for correcting the ownership (and group) of everything in their HOME folder. If the user has a "standard" account, another admin user can correct the ownership of their HOME folder by using this command:
sudo chown -R username:username /Users/username
and pressing <RETURN>. In the above command, all instances of "username" must be replaced by the short name of the user needing "correction." So, if that user's short name is "fred," for example, the command would be:
sudo chown -R fred:fred /Users/fred
When the admin user presses <RETURN>, they will be asked for their admin password. They should enter it (it will not be echoed) and again press <RETURN>.
Dave
I installed the new OS into a clean partition on an external Firewire drive. I reinstalled all software that uses an installer. The only things that I brought over from the old installation were stand alone applications (no installer, just drag to the appropriate folder) and my data files. I then started up from the new installation and moved everything to my internal hard drive. SuperDuper or Carbon Copy Cloner can be used to do this.
I had to reset all preferences and other settings, and reenter all serial numbers. I came away with a pristine OS that works without problems.
That way you can figure out where the problem exists - in your user account, or in the system. Reinstalling the system will not do anything if the problem exists in your home folder.
If you have bought iTunes music, movies, shows, etc. Remember to DE-AUTHORIZE your computer.
I have forgot to do this every single time I do a clean install, and every time I have to re-authorize my computer to listen to songs and watch movies and show.
Just FYI.
ALSO, deauthorize Adobe applications, such as Photoshop, Creative Suite, etc. before doing a system clean install.
If you are just going to reinstall any Adobe software on the very same Mac, then it is unnecessary to de-activate. That is necessary only if you intend to move the software to a different machine. Activation activates to a specific machine, not a specific OS install. I've done dozens of reinstalls without first de-activating Adobe software.
MacFixIt poetic license(tm). 8-)
I then reinstal X (10.4.0) after an FSCK, and permission repair.
I then do a combo update (10.4.9) in safe mode, after FSCK and PR again.
Next I re-install apps and secondary system "i" items, with an eye for "have I used this in the past 6 months or year?" if not, I dont re-install-but keep it handy. Then I go through only the neccessary settings and prefs from the saved disc -usually cookies, bookmarks, docs and iTunes settings and put them back into the Users folder. Things always seem more solid and a bit speedier after this.
If you are really into it, you can let the cookies, bookmarks and Office settings rebuild themselves.
Plus-who know what malware/corruption could be on your computer?
If you use software that uses complicated ID schemes based on both OS and Hardware ID codes such as Nativ Instruments music software, a clean install will disable the authorization to use the software. However if you try to reauthorize it will warn you that you are on the same hardware. If you disable the authorization, You lose one of only two authorizations It is very easy to lose all authorizations to use their software on your machine. And you get caught in this loop, it can only be fixed by calling this german company and talking to a real person who will then reset your authorization. Hopefully!
Sound complicated? It is. If developers used dongles such as iLok for their authorizations, users could actually easily upgrade, down grade etc their systems, but some developers are so paranoid they create a very hobbled situation for the end user.
It's quite likely that the OSX media you are using are DVDs. The old clamshell iBooks only had a CD-R drive, and the Apple media back in those days (OS 8, OS 9, early OSX releases) came out on CD. But recent distros are on DVDs. If you pop a DVD in the clamshell's CD drive, it won't mount, won't spin up. Will just sit there as if there is no media in the drive.
- by sluggo042 June 1, 2007 12:19 AM PDT
- Question #1: Is there some easier way to move information about Mail accounts from the old system to the newly installed system? I'm using the instructions from this article to upgrade from 10.3.9 to 10.4, and moving my dozen or so email addresses is quite the headache. Mailboxes are a bit easier, though still require a lot of repetitive manual operationis.
- Like this Reply to this comment
-
Showing 1 of 2 pages (23 Comments)Question #2: I used the Archive and Install option on my Tiger upgrade disk, and unlike these instructions, it seems to have moved all of my older applications into the newly created Application folder, substituting a few updated apps like Safari and Mail as it did so. Doesn't this rather contradict the idea of only manually moving things from an old, suspect system? Or is it fairly safe since it appears not to have moved Preferences at the same time?