You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Feb 12, 2013 1:12 PM in response to rob7997

FWIW I too removed one of my two self-installed RAM modules, then switched both back to the original modules and neither allowed me to boot into safe mode.


After 20 over years and roughly 10 Macs, now sitting here staring at beach balls and system hangs while powerless to do anything about it, I'm beginning to think about switching to Linux. At least then I won't be paying a premium for my headaches.


If anyone has heard anything encouraging from Apple on this issue, please share.

Feb 15, 2013 2:54 AM in response to Peter Berglund

I was also hit by the problem where I couldn't safe boot to clear the 'mdworker: Unable to talk to lsboxd' issue. This is how I resolved it:


cd /sbin

sudo mv fsck_hfs fsck_hfs_orig

sudo cp ~/true fsck_hfs

sudo chmod ugo+rx fsck_hfs

nvram boot-args="-x -v"


reboot, log in


sudo nvram boot-args=""


reboot


cd /sbin

sudo mv fsck_hfs_orig fsck_hfs


It doesn't seem to be the fsck on safe boot that resolves this issue, so disabling fsck for the duration of the safe boot seemed to work. I compiled my own version of true, but the system one in /usr/bin/true would probably work ok too.


Feb 15, 2013 5:39 AM in response to laughing_badger

Good debugging leads but.... One of the main reasons for Joe User to boot into Safe Boot is to have it run its fsck.


Imagine you have an Administrative Assistant, a Surgeon, or an 85 yr old dad remotely with a hard disk problem. It is easy to coach them into a reboot and hold the shift key down. It is agnonizing to coach them into a reboot to a recovery disk which may not show up, to run through menus and options to get to Disk Utility to run Disk Repair, yadda yadda, 1/2 a day is shot. Add in a little ADD action at the end user side and thanks, but I would rather have someone stab me in the eye with a fork. (it's quicker).


Good start on diagnosing this but I would be careful about calling it "resolved". Def NOT the resolution we want Apple to pursue... :-)

Feb 19, 2013 12:35 PM in response to laughing_badger

Thanks for the info laughing_badger. I'm still waiting for my FileVault to decrypt (I started this for troubleshooting before I read this thread), so I have not yet confirmed this works for me. I'm not sure what "true" means here, and my /usr/bin/true is not a directory (it's a file), so I must have missed something.


I have to say that if this does work, Disk Utility seems to be the thing lacking here -- I have encountered many situations now where Disk Utility should have been able to detect a problem, and many situations where it detected problems but was unable to fix them and only suggested a restore from backup. This is unacceptable for any current disk repair tool, let alone one that ships with one of the the most expensive computer brands on the market.


It feels like this lack of open bug reporting (as described earlier by Dave) and this lack of providing the user with adequate tools to even diagnose the problem is just getting worse and worse with Apple. I get the feeling that they have pulled most of their resources away from desktop and laptop development and put them on iOS, where they make more of their money. This could precipitate a vicious cycle for the OS X devices (lower development = lower quality = fewer customers = less revenue = lower development = ...). I certainly hope to see things turn the other way, but it's not looking very good right now.

Feb 19, 2013 2:55 PM in response to Michael_505

Update: after I disabled FileVault and rebooted, I was able to safe boot, so my problem was not the same as others described here. I thought Apple fixed the FileVault safe mode boot problem, but I guess not.


Other things that are possibly useful here:


1) I recently had major file system problems (caused by a bug between MS Word 2011 and TimeMachine), and did a full system restore from TimeMachine backup last night. this may have fixed some of the file system problems others may be running into, but I'm not sure.


2) I have 16 GB of RAM (Kingston) in my late 2011 15" Macbook Pro (which is only supposed to take up to 8 GB from Apple, but I successfully ran a memory test -- Apple's, not memtest86 since I could never get memtest86+ to actually boot on my system). This may help quench some of the memory concerns(?).


3) I upgraded my system from 10.7 to 10.8 while FileVault was on, and I never safe booted since the upgrade, so my problem is possibly due to the old bug where safe booting was not possible with FileVault.


4) The safe boot seems to have fixed the sandbox issues I was having like so many others have reported. This is what led me to this thread (trying to safe boot) and this seems to be a very serious problem -- especially for those who can't safe boot. The problems are stacking up like a train wreck here, Apple: you have bugs on top of bugs on top of bugs, and all of which have to do with some very critical parts of the OS.😮

Feb 22, 2013 4:03 PM in response to rob7997

I have an iMac27 mid-2010 and a MacBookPro early-2011 both running 10.8.2 and both were unable to boot into safemode (hanging after displaying: ** Checking extended attributes file).


The only thing that allowed me to boot into safe mode was to use the RAM that originally came with the machine.

I tried many of the suggestions listed in this thread and the only one that worked for me was to remove the additional 3rd party memory and reinsert the original RAM sticks that came with my machines. After doing this I was able to boot into safe mode and fix the sandbox issues that some others have also mentioned. Hope this helps anyone who runs into a similar situation.

Feb 26, 2013 1:20 PM in response to laughing_badger

I'm eager to learn the finer details of precisely what this does if anyone has the time to break it down command-by-command for me; I would tremendously appreciate the education:



laughing_badger wrote:


I was also hit by the problem where I couldn't safe boot to clear the 'mdworker: Unable to talk to lsboxd' issue. This is how I resolved it:


cd /sbin

sudo mv fsck_hfs fsck_hfs_orig

sudo cp ~/true fsck_hfs

sudo chmod ugo+rx fsck_hfs

nvram boot-args="-x -v"


reboot, log in


sudo nvram boot-args=""


reboot


cd /sbin

sudo mv fsck_hfs_orig fsck_hfs




Feb 26, 2013 1:53 PM in response to kallisti

Sure. Someone had posted that he had done a verbose safe boot and had seen the hang happened while fsck was checking the disk. So I wanted to make safe boot skip this step to see if that allowed the safe boot to complete, and to see if that then cured the log message issue. I did this by replacing the fsck binary that is called as part of a safe boot with something else.


cd /sbin


Go to where the fsck_hfs binary is. I found this by doing 'which fsck' and then by knowing that fsck calls another binary specific to the type of filesystem that is being checked. OSX uses HFS, so I needed to disable fsck_hfs.


sudo mv fsck_hfs fsck_hfs_orig


Move it to a new filename so that we keep a copy.


sudo cp ~/true fsck_hfs


Put a new binary in it's place. This is a simple bit of code that just returns the value zero. This is what fsck does if the disk was OK. So here we are setting up a trick that makes the safe boot process think that the disk has been checked and it was OK.


For reference, the program was:


#include <stdlib.h>


int main( int argc, char* argv[] ) { return 0; }


Standard C code, compiled with gcc.


sudo chmod ugo+rx fsck_hfs


This changes the file permissions to match what they were set to for the real binary.


nvram boot-args="-x -v"


This sets some flags in non-volatile RAM that will cause the machine to always boot with a verbose safe boot until told to do otherwise.


reboot, log in


Reboot the machine to let the safe boot proceed with our trick binary and wait until everything has completed and we can log into the machine.


sudo nvram boot-args=""


Clear the flags that we set earlier so that we get a normal boot next time.


reboot


Get the machine back into the state that we normally have it in.


cd /sbin

sudo mv fsck_hfs_orig fsck_hfs


Clean up after ourselves by putting the original (working) binary for fsck into place.

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 Account.