Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I cannot boot my system anymore and I want to disable a service from loading and the only way to do this by using the terminal window from the recovery mode.

launchctl is not available in the recovery mode.

share|improve this question

Try doing a Safe Boot by holding down the shift key on boot. This will boot, but disable all login items/services. From there, you should be able to disable the problem and boot normally.

More about a Safe Boot
How to perform a Safe Boot

share|improve this answer

Launchd controls all the services, so you can boot in single user mode and simply delete / move the files to a folder where launchd will leave them alone. (Often in single user mode you can look over /private/var/log/system.log and tell which task is hanging and be somewhat surgical about pruning launchd agents/daemons)

Here are the relevant folders from the link above:

     ~/Library/LaunchAgents         Per-user agents provided by the user.
     /Library/LaunchAgents          Per-user agents provided by the administrator.
     /Library/LaunchDaemons         System-wide daemons provided by the administrator.
     /System/Library/LaunchAgents   Per-user agents provided by Mac OS X.
     /System/Library/LaunchDaemons  System-wide daemons provided by Mac OS X.

You can also start launchd by hand (as well as load the tasks one by one manually) once you've learned how it works - I wouldn't recommend trying it for the first time on a broken mac - test and learn first on a mac that works and is fully backed up.

share|improve this answer

If you've disabled certain bits in launchd ... booting OS x in safe mode wont even work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.