Modifying nvram boot-args

DerikR

Bit poster
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?
 
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?
Hello,
did you check this?
Please let us know if it's not that case.
 
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
 
Back
Top