A fix for OS X hanging at startup, even in Safe Mode



When you start up your Mac, OS X will display a progress indicator on a background with an Apple symbol, right before loading the OS X interface. In versions of OS X prior to Yosemite this was a spinning wheel, and in Yosemite it is an iOS-like progress bar. This indicator should only display for a few moments before you see your login screen; however, if something goes wrong during startup then you might see your Mac pause either for a long time or indefinitely at this loading point.

If this happens, then the first step is to try rebooting with the Shift key held down at the startup chimes, to load your Mac in Safe Mode. If this works, then you need to test your Mac’s software setup by updating third-party drivers, checking any attached hardware devices, or even reinstalling OS X (see below, or see this article).

If your Mac does not start up, even in Safe Mode, then it indicates a problem with your Mac’s hard drive formatting. Since the file system’s integrity is crucial for the stability of your Mac and any data on it, if you are experiencing this problem, your best bet is to try fixing your hard drive’s formatting.

Unfortunately, in some instances this issue will require you format your drive, so hopefully you have a recent and full backup of your data that you can restore. To check your drive’s formatting when your Mac cannot boot fully, you have two approaches: use another Mac, or use your Mac’s built-in recovery options.

Using Built-In Recovery Options

Since it is the most convenient, using built-in options for recovery are the first to try; however, there may be times when OS X will not boot to the recovery partition, in which case alternative approaches will need to be used:

  1. Reboot your Mac and hold Command-R at startup to enter Recovery Mode.
  2. Open Disk Utility at the OS X Tools window.
  3. Select your boot drive and boot disk on the sidebar.
  4. Click Disk Utility’s “Repair Disk” button in the First Aid tab.

After performing these routines to fix your drive’s partition scheme and formatting, use Disk Utility to perform a permissions fix on your boot volume (this is in the same First Aid tab). Then shut down your Mac (do not reboot it), and perform an SMC reset (see here) and PRAM reset (see here) for good measure.

Using Another Mac

This approach is likely more thorough, since you can use any disk management tools on another Mac (third-party ones included) to help address the problem at hand:

  1. Reboot your Mac and hold the T key down when you hear the boot chimes to get to Target Disk mode.
  2. Attach your Mac to another one using a FireWire or Thunderbolt cable.
  3. Open Disk Utility on your second Mac.
  4. Hold the Command key and click both the boot volume and drive device on your first Mac to select them.
  5. Click Disk Utility’s “Repair Disk” button in the First Aid tab.

If you have third-party utilities like DiskWarrior or DriveGenius, then you can use these to check your drive’s partition health and volume formatting, and similarly repair any problems you find.

Using Another Hard Drive

If you have a spare USB, Firewire, or Thunderbolt hard drive available, then you can also use this to hopefully fix the problem at hand, by first installing a fresh copy of OS X to the drive, and then booting off of it to perform the repair on your Mac’s internal drive:

  1. Boot your Mac into Recovery Mode by holding Command-R at the boot chimes (hold Option-Command-R to load Internet Recovery, if needed).
  2. Open Disk Utility at the OS X Tools menu, and select your external drive device (not the drive itself).
  3. Use the Partition tab that appears, and choose “1 Partition” from the drop-down menu, followed by selecting GUID as the partition scheme from the Options button, and then clicking Apply to format the drive.
  4. Quit Disk Utility and then select the option to install OS X.
  5. Follow the on-screen instructions to install OS X, and be sure you select your external drive as the destination.

With this done, your Mac will now boot to this external drive, where you will see your internal one appear as a secondary volume. You can now install third-party disk utilities, and/or use Apple’s Disk Utility program to attempt a repair on your drive.

What Next? Reinstallation!

Following this, try booting your Mac normally, and your OS X should now load properly; however, if not, then your next step is to attempt an OS X reinstallation. There are a couple of approaches here: reinstalling OS X over your current OS installation, and performing a clean OS installation.

For the first option, you simply need to reboot your Mac into Recovery Mode, and then run the OS X installation tool. This routine will not touch your personal data and account settings, and will simply replace all of your operating system files to ensure they are set up properly. If this does not work, or cannot be done, then your next option is to perform a clean install. Hopefully you have a full and recent backup of your files at this point, because doing this will erase all files on your hard drive. If you do not have a backup, you can at least try using Target Disk mode to copy your user account folder from your old hard drive to another computer:

  1. Boot to Target Disk mode and attach your Mac to another one.
  2. Go to the Users folder on the Target Disk drive.
  3. Copy all folders from this location to another backup drive (note this may take some time to complete).

Note that this same routine for backing up your data can be done if you install OS X to an external drive. Once you have booted off of it, you can then copy the contents of the Users directory to the external boot drive (or to another USB or Firewire drive of your choosing) before restarting and performing the reinstallation of OS X.

Once your data is secured, perform the following steps to erase your Mac’s boot drive and reinstall OS X:

  1. Restart your Mac in Internet Recovery Mode by holding Option-Command-R at startup.
  2. Open Disk Utility at the OS X Tools panel.
  3. Select your boot drive device in the sidebar.
  4. Go to the Partition tab that appears, and then choose “1 Partition” from the drop-down menu.
  5. Name the drive, and then click Apply to format it.
  6. Quit Disk Utility when formatting is complete.

At this point, you can choose the option to restore from a Time Machine backup, if you have one, or if not, then use the Install OS X option to install a fresh copy of OS X from scratch.

Source

Leave a Reply

Your email address will not be published. Required fields are marked *