AppleJack Step-By-Step

AppleJack Step-By-Step

SUMMARY

Take care of your Macintosh, and it will take care of you. This blog outlines how to run your own diagnostics and repairs on your Macintosh using Mac AppleJack.

BACKGROUND


The data stored on your hard drive is vulnerable to magnetic fields, power fluctuations, oxidation, solar flares, cosmic rays, static electrical charge on your own body, and probably karma. It is not a matter of if your drive will become corrupted, but when and how often.

Minor problems can become major disasters given enough time - often measured in seconds, but more typically in days. So it is wise to perform regular maintenance on your Macintosh. Fortunately, there are several free tools that can help with this - AppleJack and Mac HelpMate.


INSTALLING APPLEJACK

AppleJack is a script (as opposed to an application) that can automate the running of complex command-line tools necessary for standard maintenance of your Mac OS X operating system.

To install AppleJack:
1. Download AppleJack from our website.
2. Double-click the AppleJack installer.

3. Click the Continue button. This opens the Important Information window.

4. Click the Continue button. This opens the Software License Agreement window.

5. Gather your team of attorneys to attempt making sense of the SLA. Click the Continue button. This opens the Standard install window.
6. Click the Customize button. This opens the Custom Install window.

7. Enable the Memtest OS X check box. This option installs a RAM diagnostic utility. Then click the Install or the Upgrade button.

8. When prompted to authenticate, enter an administrator user name and password, then click the OK button.
AppleJack will install.
9. Once installation completes, click the Close button.
NOTE: As AppleJack is a low-level UNIX script, you will not find an AppleJack application in the Application or Utilities folder.


RUNNING APPLEJACK

Now that AppleJack is installed, you may run it:
1. Start or Restart your Mac.
2. At the startup tone, hold down the Apple (cmd) and the S keys. Keep these held down until you see a black screen with white text. This is a mode of UNIX called Single User Mode.
3. When the white text stops scrolling, press the Return or Enter key to get a new command line.
4. Enter a command exactly as: applejack auto reboot
5. Press the Return or Enter key.
6. AppleJack will run in fully automatic mode, repairing any problems, then rebooting your Mac.
7. Once rebooted, you may use your Macintosh as normal.

AppleJack also has a hidden advanced menu. The primary use of the advanced menu is to run a comprehensive memory integrity check. Though RAM doesn’t often become defective, it does happen. If you followed the steps above to install Applejack - specifically steps 8 and 9 - then the “memtest” module was installed.

Accessing the AppleJack Advanced menu:
1. Start or Restart your Mac.
2. At the startup tone, hold down the Apple (cmd) and the S keys. Keep these held down until you see a black screen with white text.
3. When the white text stops scrolling, press the Return or Enter key to get a new command line.
4. Enter a command exactly as: applejack
5. Press the Return or Enter key. The AppleJack menu will appear.
6. Press the x key. The AppleJack Advanced menu will appear.
7. Note the menu item you wish to run and press its associated key.
8. Press the Return or Enter key. The AppleJack Advanced menu item will run.
9. When complete, you may select the key to restart your Mac, shutdown your Mac, or run another AppleJack Advanced menu item.

When should your run AppleJack?
  • Before any system or application installation or update.
  • After any system or application installation or update.
  • At least once a month.
  • As a first response to most computer problems.