Start by booting to macOS Big Sur and opening a Terminal application window. You could try enteringNext, enter the command given below. If the command was accepted, then SIP would be disabled onThis will create a NVRAM variable with the next boot.
sudo nvram csr-active-config=%7f%00%00%00
Howeverdesired value, the command will not be acceptedbut misspelled variable name. Certain misspellingsThis misspelling will be accepted, such ascorrected in the command given belowa later step.
sudo nvram Asr-active-config=%7f%00%00%00
Enter the above command, then proceed to the next step.
Shutdown macOS. In the Setting
window for the virtual machine, select
Startup Disk
. Hold down the option key and select the Restart to Firmware…
button, as shown below.
Select the EFI Internal Shell
, as shown below.
If desired, enter the command below to get full use of the window.
mode 128 40
Set the current filesystem to the EFI volume. This should be the mapped fs0
filesystem, so you would enter the following
fs0:
Next, verify the label is EFI
by entering the command below.
vol
If wrong, then try fs1:
, fs2:
, fs3:
, ....
Enter the command below to save the Asr-active-config
variable to the file csr.bin
.
dmpstore Asr-active-config -s csr.bin
Note: For more information on this command enter help -b dmpstore
.
Next, enter the command below to edit the csr.bin
file. You will need to correct the spelling by replacing the letter A
with the letter c
. The can be done by typing a 63
over the 41
on the first line.
hexedit csr.bin
The corrected file will appear as shown below. When finished save the changes and exit.
Note: The value of the variable is stored in the last 4 bytes of this file.
Enter the command below to create the csr-active-config
variable in NVRAM.
dmpstore -l csr.bin
SIP will now be disabled on the next boot of Big Sur. If desired, enter the command below to remove the Asr-active-config
variable from NVRAM.
dmpstore -d Asr-active-config
Enter the command below to leave the command shell.
exit
From the Boot Manager
, select Mac OS X
to boot Big Sur.