Can not set nvram boot-args neither in recovery mode nor normal boot with sip closed

Discussion in 'macOS Virtual Machine' started by HuangS, Nov 20, 2020.

  1. HuangS

    HuangS Bit poster

    Messages:
    3
    I want to modify the boot-args to develop kernel , But I can't set boot-args neither in recovery mode nor normal boot with sip closed.
    Code:
    test@macos ~ % csrutil status
    System Integrity Protection status: disabled.
    test@macos ~ % sudo nvram boot-args=""
    Password:
    nvram: Error setting variable - 'boot-args': (iokit/common) general error
    test@macos ~ %
    
     

Share This Page