Saturday, September 13, 2008

OS X major version updates - my approach

I prefer an OS update to petting a rabid wolf or getting a kidney transplant. Even so, they're not my favorite things.

It was clear early on that Apple had botched 10.5 - a prelude to the MobileMe fiasco and the iPhone OS 2.0 fender bender. So I waited to 10.5.3 before updating our non-critical MacBook. That didn't go all that well; I'm still having problems.

On the other hand there's a lot to like about 10.5, and I imagine I know what to watch for.

After lots of experience with 10.5.4, I was read to risk an update to very important machine -- our trouble free PPC iMac G5 running10.4.11.

It's the procedure I follow with all major OS updates. I do all the work through my admin account.
  1. Check the backups are working so I know I have a current backup of data. I like to do a test restore of randomly selected file.
  2. Have another machine available in case the update runs into problems -- you may need Google.
  3. Don't do the OS update on a desktop machine during bad weather. This is a bad time to have a power failure. Make sure you can't accidentally pull a plug or turn off the power. (I once bricked a peripheral by hitting a power switch with my foot.)
  4. Do a safe boot to clean up the system and verify the drive.
  5. Disconnect all USB hubs and all firewire devices. Attach only an Apple keyboard and an Apple mouse.
  6. Pull the network cable (see below). You can plug it in when you need to get software updates. Nowadays there are all sorts of things a partly updated machine can destroy if it can get a the net.
  7. Restart then remove Preference Panes from admin account (ctrl-click then delete in preference view). Review and remove suspicious login items. Use Spotlight to find all apps or utilities with a date prior to 2004 - remove any that aren't needed.
  8. Uninstall known bad actors. I know, for example, that my copy of Missing Sync for Palm OS won't work with 10.5. I don't need it any more, so time to use the uninstaller. Remove Retrospect's client if present, that will need to be reinstalled.
  9. Turn off sync services, such as Spanning Sync. Don't turn them on again until you've run iCal, Address Book, mail, etc for the first time. I recommend turning off everything related to synchronization, including .Mac/MobileMe, anything in iTunes, any add-on services. To be extra sure, pull the network cable durign the update. Don't allow the machine to access the net without your control.
  10. I've already removed the evil Adobe Acrobat Reader and RealAudio.
  11. Copy the 10.5.4 Combo Updater to the desktop. I don't want to run 10.5.2 a moment longer than necessary. Confirm I have plenty of free drive space left.
  12. Review Mac OS X 10.4, 10.5: About installation options so I don't miss the 'Archive and Install' option [1] . (Made that mistake before!)
  13. Insert DVD and click the install button.
  14. Go walk the dogs, do the dishes, etc. Just the DVD verification takes an age and a half. (Yes, you can skip the verification. I prefer to let it run.) The update should proceed without any questions, so you can let it go.
  15. After the upgrade and reboot it can take a long time for the admin account to come up. Be patient.
  16. Restart again (to let caches be build properly) then apply the 10.5.4 compo updater. The machine will restart.
  17. Check all login items for all users. There's a bug in the 10.5.2 Archive and Install procedure that can cause login items to be applied across user accounts.
  18. Check for other updates. I was surprised I had to install iTunes 8 again -- it had been installed earlier. I imagine if I hadn't done this, and I'd tried to sync to my iPhone, the heavens would have fallen. You have to keep checking until no new updates are found.
  19. Run iCal and Address Book. Anyone else notice that 10.5 Address Book backup is under the export/archive menu now? Back 'em both up before any iPhones sync.
  20. Enable Spanning Sync and do an iCal sync with gCal.
  21. Run Keychain Access and Keychain First Aid.
  22. Run any app that iTunes works with or that intersects with the iPhone.
  23. Cycle through all accounts, looking for obvious trouble.
  24. Hook up the peripherals, download drivers for the MacAlly keyboard, etc etc.
  25. Expect Spotlight to suck CPU and drive the fan until the search indices are rebuilt. Let it run overnight.
  26. The long recovery begins.
There were a few curious things about this update:
  1. MobileMe didn't appear in software update, so it was only when I went to the old .Mac preference panel that I was asked to update to MobileMe. This might have caused some problems if I'd installed MobileMe.
  2. iTunes regressed to an earlier version. I had to update to iTunes 8 again. This would have caused serious problems if I'd missed this.
  3. Spanning Sync keeps telling me its deleting appointments from Google Calendar, but it doesn't say what it's deleting. I don't know why this is happening.
  4. The update resurrected a number of old apps and login items that I thought were long gone. They're reaking havoc on my syncs.
[1] Select this option if you want to install a "fresh" system on your computer. This type of installation moves existing System files to a folder named Previous System, then installs a new copy of Mac OS X. You cannot start up your computer using the Previous System folder.

Archive and Install installations require the largest amount of available disk space because you need to have room to preserve your existing System and the new one you are installing. This is a good choice if you've already backed up your important files and are trying to resolve an existing issue. Mac OS X-installed applications, such as Address Book and Safari, are archived, and new versions are installed in the Applications folder.

Some applications, plug-ins, and other software may have to be reinstalled after an “Archive and Install.” Fonts that were installed in the Fonts folder in the top-level Library folder can be installed in your new system by copying them from the Previous System folder.

No comments: