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)
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.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
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)
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.
Just an update. It has now been roughly two weeks since I solved my console log issue by Safe Boot. So far the original issue has not come back and the console is still very "empty". For me, the DiskWarrior repair worked to get to Safe Boot. I will let you know if the log problem comes back.
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.
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... :-)
I salute you: this is the perfect workaround for the stalling file system check issue (until a real solution comes around)!
Maybe I'm doing something wrong, but I get an error on the third step:
eyelessmacbook:sbin Eyeless$ sudo cp ~/true fsck_hfs
cp: /Users/Eyeless/true: No such file or directory
laughing_badger wrote that he compiled the "true" command locally. The following might work for you:
sudo cp -p /usr/bin/true fsck_hfs
Bonus: "cp -p" preserves the file access rights, which means that you do not need to enter the "chmod ugo+rx fsck_hfs" command (the rights are all set by the time the copy is made).
The latest Mac OS X beta seems to fix this problem...
Thank you and laughing_badger, that worked for me!
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.
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.😮
Michael_505 wrote:
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.😮
Likely one reason they have had eleven beta builds of 10.8.3 since November.
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.
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
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