Tips and Tricks on

"Safe Mode" via a "Safe Boot".
also
"Safe Login" and "Verbose Mode".


"Safe Booting" is the best way to fix a mac that is behaving "funny"...
It is so good, I suggest you do it a few times a year to keep you mac "healthy".


To help solve just a user login problem, try a safe login first:
To start up into Safe Mode (or to do a "Safe Boot"), do the following:

Power up your Mac and immediately after you hear the startup tone,
press and hold the Shift key.
Your boot up time will take MUCH longer, so please be patient.

You will know when you are in "Safe Mode"
because your login splash screen will have the words "Safe Boot" on it, as seen in the pic below.

Nice way to boot your mac
(To see how I made the above capture of the login pane, see my ScreenDump page.)

  • At this point, the system is usable, but I recommend you do a normal re-boot.
    1. Safe Mode is unbelievably powerful,
      - Besides doing an enormous amount of housekeeping,
      it will temporarily stop all non-Apple kernel extensions (and many other items) from loading !

    2. This will stop potentially problematic programs from running, some of which include,
      - Symantec AntiVirus, Little Snitch, OpenAFS and Cisco VPN clients.
      - And if combined with the ">console" trick, will give you the best debugging enviroment you could ask for !

    3. If your Mac will ONLY work in safe mode,
      you may have a bad kernel extension or the permissions are set wrong.

      • Make sure they are all OWNED by root and the GROUP is set to wheel,
        especialy items NOT made by Apple !!!!!!
        ls -asl /System/Library/Extensions | more
      • To rebuild the kernel extensions, do:
      sudo rm /System/Library/Extensions.mkext
      sudo kextcache -k /System/Library/Extensions
      sudo reboot
      

      or try sudo touch /System/Library/Extensions, which should work too.
      But removing the /System/Library/Extensions.mkext file is better.

    4. The WiFi on your laptop (not desktop) is ACTIVE in Leopard (10.5).
      - To enable it on Tiger (10.4) do,
      sudo kextload /system/library/extensions/appleairport.kext
      then do
      sudo kextload /system/library/extensions/appleairport2.kext

    Verbose and Safe Mode Tips.

    1. To do a Safe Boot, you can save a lot of finger holding by temporarily adding -x to your NVRAM setting.
      Reboot and come back later when done and remove the -x and reboot one more time normally.

    2. While you are here, please consider putting your Mac in VERBOSE MODE, via the "-v" switch.

    3. Verbose mode is way cool, you will see text messages at start up and shut down instead of the static Apple logo.

    4. If you want to try VERBOSE MODE just once, just hold down the Command (Apple) and V keys right after the boot chime.

    5. Verbose mode is one of the best tricks to see what your Mac is waiting for at boot time and when you logout, shutdown, or re-start !
      See CURRENT settings nvram -p
      Set Verbose Mode = ON sudo nvram boot-args="-v"
      Set Safe Boot = ON sudo nvram boot-args="-x"
      Set Both = ON sudo nvram boot-args="-x -v"
      Set Both = OFF (factory default) sudo nvram boot-args=""

    6. The above will work for Panther, Leopard and even Snow Leopard.
      - Please be VERY careful adjusting any other NVRAM items.




    back

    © Gary Sullivan Maintainer of this page.
    The URL of this page is:
    http://www.hackerskitchen.com/mac-old/safe-mode.html
    Constructive Comments and Suggestions are welcome.

    Hello

    Go Home