Command: safeboot
Manage the Safe Boot (-x
) NVRAM boot argument.
Usage
Usage: m safeboot [ --status | --enable | --disable | --help ]
Description: Enable or disable safe boot on macOS
Options:
--help Show this help message
--status Get the current boot arguments
--enable Enable safe boot-args
--disable Disable safe boot-args
Note: All of these commands require sudo
privileges to modify NVRAM variables.
Description
Enabling safeboot
sets the boot argument to -x
, which causes the Mac to start in Safe Mode on its next restart. This mode loads only essential kernel extensions and can be used for troubleshooting. You must disable it to return to a normal boot.
Options
--status
Displays the current value of the boot-args
NVRAM variable.
Example:
sudo m safeboot --status
--enable
Sets the boot-args
to -x
, enabling Safe Mode for the next boot.
Example:
sudo m safeboot --enable
--disable
Clears the boot-args
variable, disabling Safe Mode for the next boot.
Example:
sudo m safeboot --disable