Following nvram boot args are generally helpful with diagnostics/investigations:
nvram boot-args="-v"
–> verbose mode, ample of text as MBP bootsnvram boot-args="-x"
–> will always boot in safe modenvram boot-args="-s"
–> will always boot in single user mode
A few of the other ones:
nvram boot-args="iog=0x0"
–> This reverses the “Clamshell” mode for Apple’s laptop systems, where when you close the display but connect the system to an external monitor and keyboard the system will stay awake. Well I couldn’t make use of it due to a defective discrete GPU.nvram boot-args="cpus=2"
–> Limits the number of active processors in the system to the set level.
To clear all nvram boot-args one can either reset nvram
or just clear boot-args
:
|
|
This link at superuser has a pretty good list of such args and how to use them.
Browsing thru bsd_init.c
file at https://opensource.apple.com/source/xnu/, provides a bit more information, keep looking for function PE_parse_boot_argn
:
|
|
Searching for function PE_parse_boot_argn
on github, leads to some very interesting results:
- https://github.com/XLNCs/HighSierraXNU-AMD
- https://github.com/nanoant/DisableTurboBoost.kext
- https://github.com/aerror2/NGFixLG5K
- https://github.com/Negative-Hallucination/ubik_asus_rog_z370i/tree/master/kexts
- https://github.com/acidanthera/Lilu
- https://www.insanelymac.com/forum/topic/321371-lilu-%E2%80%94-kext-and-process-patcher/