Pages

2009-02-10

Mac OS X Geek-Out: Text-mode boot



I know plenty of us come from a command-line background and like to see what's happening during the boot-up. By simply running this command inside Terminal on OS X, you get to see the boot messages (appropriately called "verbose mode") instead of a dull, blue screen while your Mac starts up.

sudo nvram boot=args="-v"

There are actually a few other interesting things you can do with the nvram command, but among them are some things that can cause your Mac to not boot. I do know that if you boot with the -s argument, it will go into single-user mode without getting prompted for the root password, but that's typical BSD stuff.

3 comments:

  1. There is a typo in the line:
    sudo nvram boot=args="-v"
    It should be
    sudo nvram boot-args="-v"
    i.e.: replace '=' by '-' between "boot" and "args"

    I'll try this immediatly.

    ReplyDelete
  2. It does work, but it seems to slow down the booting process considerably on my Macbook. I didn't time this though, so my impression might be misleading.

    Also, to revert back to original boot screen, the following works perfectly:

    sudo nvram boot-args=""

    ReplyDelete
  3. Thanks for the updates. I completely missed that!

    I didn't time my MacBook's boot-up but it didn't seem to take any longer. I rarely reboot, though. I just close it and let it sleep. I usually go 3-4 days without rebooting.

    ReplyDelete