Safe Boot?

Discussion in 'macOS Virtual Machine' started by gwschreyer, Nov 29, 2012.

  1. gwschreyer

    gwschreyer Bit poster

    Messages:
    4
    I need to do a safe boot in a ML guest on a ML host. It doesn't seem to work by booting the VM with the shift key held down. Anybody know how to trigger a safe boot otherwise?

    FYI, in a regular ML computer, sandboxd and mdworker produce tons of Console messages complaining about lsboxd. Doing a safe boot stops those messages cold.
     
  2. Specimen

    Specimen Product Expert

    Messages:
    3,236
    You might not be getting the focus on the VM window soon enough?

    Anyway, there is another way to make OS X boot into safe mode, look at the second part of this article:
    http://support.apple.com/kb/HT1455

    It talks about doing it via remote access, but you don't need to do that if you can boot into normal mode and set the boot arguments from there.
    Don't forget to reset the boot args after you are done.

    From the article, basically, what you have to do on the Guest machine is:
    1. Execute the following command in Terminal or on the command line:

    sudo nvram boot-args="-x"

    (If you want to start in Verbose mode as well, use sudo nvram boot-args="-x -v" instead )

    2. After using Safe Boot, to return to a normal startup, execute this command in Terminal or the command line:

    sudo nvram boot-args=""


    More about boot args:
    http://reviews.cnet.com/8301-13727_7-57372761-263/boot-argument-options-in-os-x/
     
  3. gwschreyer

    gwschreyer Bit poster

    Messages:
    4
    thanks

    Thank you. I suppose I should have looked there first.

    It worked as expected. All the spurious messages from sandboxd are gone. The ones that are left have meaningful content but it was hard to find them through all the chatter.
     

Share This Page