MacBook can not boot OS X Yosemite as it hangs
I've set rights to all data on mac HD for user 'system' to read-only. Also I do it for the groups 'wheel' and 'stuff'. Only one user account with name 'mac01' has all rights to data on my mac HD.
If you messed up with OS X permissions, normally you should run Disk Utility in recovery mode and run Repair Disk Permissions and Repair Disk or First Aid (in El Capitan) to correct errors on HDD and eventually fix the boot loader. In most cases it should work.
To fix it manually, you should run in single mode and try to fix it the permissions on system folders manually, for example:
chown -R root /System /Library
chmod -R u+rwX,go+rX,go-w /System /Library
and then type exit
to continue the startup process and note any meaningful errors.
If this won't help, here are the things to consider:
- disconnect any external devices that are connected (if any),
- try to run your Mac in Safe mode,
- check for fresh core dumps
/cores
(this could indicate some problem with specific component), - check for anything suspicious in logs (
tail /var/log/*.log
, especiallysystem.log
), - reset your SMC, NVRAM & PRAM,
-
unload 3rd party kernel extensions (in single mode, probably you need to relocate them from
/System/Library/Extensions
, but if you didn't install any (likevboxdrv
), better leave it, as it may get worse), -
in single mode, verify your NVRAM variables
sudo nvram -p
and consider to run your kernel in different mode, for example:- debugging mode:
sudo nvram boot-args="debug=0x144"
For more options, check: Boot argument options in OS X. When it work, don't forget to disable it.
- debugging mode:
consider using 3rd party recovery tools (e.g. recovery DVD from DiskWarrior),
- consider reinstalling your OS X.
Related videos on Youtube
Denis Leonov
Updated on September 18, 2022Comments
-
Denis Leonov over 1 year
I have unsolved problem with my macbook. Once when my mac was alive, I've set rights to all data on mac HD for user 'system' to read-only. Also I do it for the groups 'wheel' and 'stuff'. Only one user account with name 'mac01' has all rights to data on my mac HD. After this (why I made it, I can not explain, it's my fault) my mac goes down and can not boot the system. As decision, I run system in Single-User Mode and type:
fsck -f mount -uw / chmod -R ugo+rwx /
But it still not help me. System still can not boot, and stops above 55% loading apple logo screen.
In Verbose Mode the last string is:
en0: channel changed to 1
then boot stops for unknown time.
Please, help me if you can. I would be appreciate for your help! Thanks.
The last lines in the verbose mode are:
IO80211AWDLPeerManager::setAwdlOperatingMode Setting the AWDL operation mode from SUSPENDED to AUTO IO80211AWDLPeerManager::setAwdlAutoMode Resuming AWDL en0: BSSID changed to 28:28:xx:xx:xx:xx en0: channel changed to 1
and it hangs/freezes.
I did run in recovery mode, run Disk Utility, fsck and verified/fixed the permissions, but it didn't help.
-
kenorb about 9 yearsRun system in verbose mode and check on what part it's freezes and type the error you've got.
-
Denis Leonov about 9 yearslast string in Verbose Mobe is: "en0: channel changed to 1"
-
Denis Leonov about 9 yearsand then boot stops for unknown time
-
kenorb about 9 yearsCan you try to run in recovery mode? Then run Disk Utility and 1. Fix the errors on your HDD (it could also fix common boot problems), 2. Verify and fix the permissions. Because
chmod -R ugo+rwx /
wasn't a good idea to do. -
Denis Leonov about 9 yearsI try but this can not help, system still can not boot OS
-
kenorb about 9 yearsYou can still run recovery, because recovery should be there on another hidden partition so usually you can run it without any problems, unless you broke your OS X completely.
-
Denis Leonov about 9 yearsrecovery didn't help me(( I'am so sad. Please, is there any another way to repair my breakdown?
-
kenorb about 9 yearsDo you mean recovery partition works, you ran Disk Utility repair and permission fixes, but still doesn't work? Or recovery boot doesn't work at all?
-
Denis Leonov about 9 yearsI ran Disk Utility but still doesn't work
-
kenorb about 9 yearsYou may copy your data and re-install OS X. Alternatively try DiskWarrior Repair tool (and its recovery DVD), but it's not free, so it's just suggestion. Another thing is to log-in into single mode and type
exit
to boot into GUI mode (maybe it would help to find the reason of freeze). Check also in single mode the logs, maybe you'll find something useful, e.g.sudo tail /var/log/*.log
. -
Denis Leonov about 9 yearsbut anyway i did not understand OS X structure. I mean that mac os admin user can set new permissions under the shell and the root user can not resolve his mistakes under single-user mode. It's amazing
-
Denis Leonov about 9 yearsThis is the log in Single-Mode after I write 'exit': link
-
Denis Leonov about 9 yearsThis is my root directory link
-
kenorb about 9 yearsI'm out of ideas for today, I've updated your question for new info if that's ok. Maybe somebody else would have some other ideas. Check
/cores
if you've any fresh core dumps which could indicate what crashed. Try also restart your SMC & PRAM.
-