

Inside, launch EFI Internal Shell to enter EFI commandline mode.Īfter getting the command prompt, switch to the FS2: drive: 2.0 Shell> FS2: You will be greeted with an old school text mode BIOS interface, in which you should choose the Boot Manager option. In order to access Installation environment under VirtualBox, you will need to enter the VirtualBox EFI BIOS by pressing F12 few times, at very early stage of guest VM boot up. You can do soft restarts, but if you'll shut down the VM and boot it up again, you will need to disable SIP again. Please be advised that while this method works, it will work until the shutdown of your VM. SIP's configuration is stored inside NVRAM, so it actually doesn't matter what approach we will take, as long as we will put some magic values into magic variables inside NVRAM.

We can use the Installer environment to run csrutil tool.

In fact after reading some bug reports on VirtualBox bugtracker it seems that it's not possible to enter Recovery OS at all.įortunately, we don't even need Recovery OS to disable System Integrity Protection. One well known issue of running a guest MacOS X under VirtualBox is that it's not possible to enter Recovery OS by pressing the Command+R key combination on VM startup.
