Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address

The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Will not boot into Safe Mode

MacBook will not boot into Safe Mode, only fills bar to about one third and hangs up.

MacBook Pro, Mac OS X (10.7.3)

Posted on Feb 19, 2012 10:36 PM

Reply
199 replies

Apr 12, 2013 11:57 AM in response to PhotoMau

PhotoMau wrote:


From the discussions, what I gather are some of the problems people encounter:

  1. There is an issue with the disk and fsck_hfs hangs during the safe boot.
    1. Resolve this by: Disk Warrior, or by running fsck_hfs -fy from the terminal in a recovery mode boot. Occasionally the diskutility can also fix this issue.
    2. Usually after that the safe boot works.

I tried to run fsck_hfs but it says something about a special device not being specified. I tried /sbin/fsck_hfs but that did'nt work either. Anyone have a path to root or a way to force it? fsck -fy works as usual....

Apr 12, 2013 12:20 PM in response to Jefferis Peterson

If you see this –


fsck_hfs: missing special-device


– then you need general help with interpreting the manual page for fsck_hfs, and with working at the command line in Terminal. With respect, those things are beyond the scope of this topic; such help could be unexpectedly convoluted in a topic that's already long.


For the questions about usage of fsck_hfs, maybe aim for

OS X Mountain Lion

May 9, 2013 6:45 AM in response to matt.79

Unfortunately SSD is not common.


13" 2011 Early Macbook Pro with 500GB HDD has the same problem.

8GB out of factory RAM with 10.8 clean installed a while ago. Updated to 10.8.3.


I tried

sudo nvram boot-args="-x -v maxmem=4"

to see whether RAM size matters. Failed.


I also checked that my Open Firmware Password is disabled.


Now I wonder what may change when a RAM is removed.

May 9, 2013 9:09 AM in response to Graham Perrin

Well, I don't think the content on startup disk really matters.


I don't know whether maxmem=4 actually affected memory, but I just removed one of my two original Apple RAM and successfully booted into Safe Mode. I then added it back and tried again, which was a fail.


So I think if it's not the size, it may be the motherboard or that specific RAM socket.

May 17, 2013 2:53 PM in response to rob7997

On a Mac mini 2012 with 16 GByte RAM running 10.8.2 and 10.8.3, safe mode was always stuck during file system checking at "Checking extended attributes file". As fsck_hfs -fy /dev/rdiskX in Terminal.app of rescue mode (CMD R) always completed successfully, I searched for the differences between rescue mode and safe mode.


The difference is, that rescue mode somehow starts with a 32bit kernel or is limiting itself to 4 GByte RAM. When starting fsck_hfs in rescue mode it reports "Using ... cacheSize=2097152K" while fsck_hfs in safe mode shows "Using ... cacheSize=3145728K".


That means, fsck_hfs in Mac OS X 10.8.2 and 10.8.3 is somehow broken when using more than 2 GByte RAM as cache. Fortunately, you can limit the cache size with the parameter -c, i.e. /sbin/fsck_hfs -c2g for 2 GByte cache size.


You can enable the verbose messages in safe mode with sudo nvram boot-args="-x -v". Take care, that this setting is permanent! If you are always stuck in safe mode you need to press ALT CMD P R to reset the PRAM and NVRAM during power on. Otherwise, if all went well, just remove the parameters with sudo nvram boot-args="".


To finally get successful through the safe mode, you need to add the -c2g parameter to the fsck call the safe mode is using automatically during boot.


Open Terminal.app and enter:


nano /tmp/fsck_hfs


In text editor "nano" enter the following 3 lines:


#!/bin/sh

echo /sbin/fsck_hfs -c2g $*

/sbin/fsck_hfs_orig -c2g $*


and save the file with ctrl x.


sudo mv -n /sbin/fsck_hfs /sbin/fsck_hfs_orig

sudo mv -n /tmp/fsck_hfs /sbin/fsck_hfs

sudo chown root:wheel /sbin/fsck_hfs

sudo chmod 555 /sbin/fsck_hfs


Verify with:

ls -l /sbin/fsck_hfs*


This should report, with different file dates than mine:

-r-xr-xr-x 1 root wheel 67 May 17 23:00 /sbin/fsck_hfs

-r-xr-xr-x 1 root wheel 529472 Oct 19 2012 /sbin/fsck_hfs_orig


To reset to the original state later after safe mode or if there are problems with fsck:


sudo mv -n /sbin/fsck_hfs_workaround

sudo mv -n /sbin/fsck_hfs_orig /sbin/fsck_hfs


Hope that helps,

Holger


(filed as bug id 13928006)

Will not boot into Safe Mode

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.