Skip to content Skip to site navigation

macOS Kernel Panic Recovery

A kernel panic is a computer error that the operating system cannot easily recover from and your computer restarts unexpectedly.

If you are using OpenAFS, you MUST uninstall it prior to upgrading to a new macOS version. If you do not, your computer will end up in a kernel panic loop. If your Mac does end up in a kernel panic, here are the steps you can take to recover from it.

  1. Shut down your computer.
  2. On startup, enter single-user mode (Command + S).
  3. From the command line, type /sbin/mount -uw /
  4. Type rm -f -R /var/db/openafs
  5. Type exit
  6. The macOS High Sierra installation will continue. After the upgrade is complete download and run the Stanford Software Removal Tool for Mac.
  7. Remove OpenAFS.
  8. Reboot your computer.
Last modified October 4, 2018