Startup Problems

Not every problem you encounter is related to running applications. Sometimes trouble strikes before you even get that far. The following are examples.

When you see the cheerful, multilingual dialog box shown in Figure B-2 you’ve got yourself a kernel panic—a Unix nervous breakdown.

(In such situations, user panic might be the more applicable term, but that’s programmers for you.)

If you experience a kernel panic, it’s almost always the result of a hardware glitch—most often a bad memory (RAM) board, but possibly an accelerator card, graphics card, or USB hub that OS X doesn’t like. A poorly seated AirPort card can bring on a kernel panic, too, and so can a bad USB or FireWire cable.

If simply restarting the machine doesn’t help, detach every shred of gear that didn’t come from Apple. Restore these components to the Mac one at a time until you find out which one was causing OS X’s bad hair day. If you’re able to pinpoint the culprit, seek its manufacturer (or its website) on a quest for updated drivers, or at least try to find out for sure whether the add-on is compatible with OS X.

There’s one other cause for kernel panics, by the way, and that’s moving, renaming, or changing the access permissions for OS X’s essential system files and folders—the Applications or System folder, for example. (See The Get Info Method for more on permissions.) This cause isn’t even worth mentioning, of course, because nobody would be that foolish.

In times of troubleshooting, Windows fans press an F-key to start up in Safe Mode. That’s how you turn off all nonessential system-software nubbins in an effort to get a sick machine at least powered up.

Although not one person in a hundred knows it, OS X offers the same kind of emergency keystroke. It can come in handy when you’ve just installed some new piece of software and find that you can’t even start up the machine, or when one of your fonts is corrupted, or when something you’ve designated as a login item turns out to be gumming up the works. With this trick, you can at least turn on the computer so that you can uninstall the cranky program.

The trick is to press the Shift key as the machine is starting up. Hold it down from the startup chime until you see the words “Safe Boot,” in red lettering, on the login screen.

Welcome to Safe Mode.

What have you accomplished?

Once you reach the desktop, you’ll find a long list of standard features inoperable. You can’t use DVD Player, capture video in iMovie, use a wireless network, or use certain microphones and speakers. (The next time you restart, all this goodness will be restored, assuming you’re no longer clutching the Shift key in a sweaty panic.)

In any case, the beauty of Safe Mode is that it lets you get your Mac going. You have access to your files, so at least the emergency of crashing-on-startup is over. And you can start picking through your fonts and login items to see if you can spot the problem.

Confirm that your Mac has the latest firmware, as described earlier. Detach and test all your non-Apple add-ons. Finally, perform a disk check (see below).

Most of the troubleshooting steps for this problem (which is usually accompanied by the Spinning Beachball of Death cursor) are the same as those described under Kernel Panic.

If you or one of the other people who use your Mac have forgotten the corresponding account password, no worries: Just read the box on The Forgotten-Password Survival Guide.