However, it can be challenging to select the VM and hold down Command+R in time to boot to the Recovery environment. When testing various security functions, like System Integrity Protection or High Sierra’s new kernel extension functionality, it’s often useful to be able to boot a macOS virtual machine (VM) into the Recovery environment.