MacBook can not boot OS X Yosemite as it hangs

6,902

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, especially system.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 (like vboxdrv), 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:

    For more options, check: Boot argument options in OS X. When it work, don't forget to disable it.

  • consider using 3rd party recovery tools (e.g. recovery DVD from DiskWarrior),

  • consider reinstalling your OS X.
Share:
6,902

Related videos on Youtube

Denis Leonov
Author by

Denis Leonov

Updated on September 18, 2022

Comments

  • Denis Leonov
    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.

    OS X boot - en0: channel changed to 1

    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
      kenorb about 9 years
      Run system in verbose mode and check on what part it's freezes and type the error you've got.
    • Denis Leonov
      Denis Leonov about 9 years
      last string in Verbose Mobe is: "en0: channel changed to 1"
    • Denis Leonov
      Denis Leonov about 9 years
      and then boot stops for unknown time
    • kenorb
      kenorb about 9 years
      Can 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
      Denis Leonov about 9 years
      I try but this can not help, system still can not boot OS
    • kenorb
      kenorb about 9 years
      You 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
      Denis Leonov about 9 years
      recovery didn't help me(( I'am so sad. Please, is there any another way to repair my breakdown?
    • kenorb
      kenorb about 9 years
      Do 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
      Denis Leonov about 9 years
      I ran Disk Utility but still doesn't work
    • kenorb
      kenorb about 9 years
      You 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
      Denis Leonov about 9 years
      but 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
      Denis Leonov about 9 years
      This is the log in Single-Mode after I write 'exit': link
    • Denis Leonov
      Denis Leonov about 9 years
      This is my root directory link
    • kenorb
      kenorb about 9 years
      I'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.