Modifying nvram boot-args

Discussion in 'Installation and Configuration of Parallels Desktop' started by DerikR, Oct 21, 2020.

Tags:
  1. DerikR

    DerikR Bit poster

    Messages:
    2
    I've been searching for a way to change the nvram boot-args variable but no luck. It doesn't matter if I try to modify it in recovery mode or on the guest macOS terminal:

    nvram boot-args="amfi_get_out_of_my_way=0x1"​


    I get an error:
    nvram: Error setting variable - 'boot-args': (iokit/common) general error​

    What is the correct way to modify the nvram boot-args?
     
  2. Maria@Parallels

    Maria@Parallels Problem solver

    Messages:
    8,122
    Hello,
    did you check this?
    Please let us know if it's not that case.
     
  3. DerikR

    DerikR Bit poster

    Messages:
    2
    Hi Maria,

    That didn't work, I couldn't change the nvram even in single user mode. But to get to user mode I had to change the boot args:

    devices.mac.boot_args="-s"​

    And that was what I needed. so I just checked what was the default args were, copied them, and added the boot-arg that I needed.

    devices.mac.boot_args="keepsyms=1 -serial=0x2 amfi_get_out_of_my_way=0x1"​

    Thanks for your help
     

Share This Page