27

This happens after updating into the MacOS Bug sur. And then trying to start the VirtualBox VMs, Tried so far and no luck with below options,

  1. Un-installed and re-installed the VirtualBox
  2. Created completely new VM and tried
  3. Re-installed Oracle_VM_VirtualBox_Extension_Pack-6.1.16

Anyone else came a cross with the same issue? any clue to resolve this would really appreciated.

This the the complete Error message


Failed to open a session for the virtual machine New Ubuntu.

The virtual machine 'New Ubuntu' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005) Component: MachineWrap

Screenshot

3 Answers3

28

This worked for me

sudo su
csrutil clear
reboot
  • Then uninstall (from the official uninstaller) and re-install VirtualBox
  • If prompted, go to System Preferences - Privacy - General and accept the extensions
  • Reboot
nohillside
  • 100,768
2

I was reluctant to install using Homebrew rather than an official package, but it did resolve the problem for me. This command:

brew install --cask virtualbox

Installed a later version of Virtualbox (7.0.6) than any available on the Virtualbox website (6.1.40), and the new version worked on Mac OSX Ventura, while 6.1.40 did not (even after reinstalling and Allowing the kernel extension).

See also: https://stackoverflow.com/questions/13670176/virtualbox-error-kernel-driver-not-installedrc-1908#comment119766775_56758118 and https://www.virtualbox.org/ticket/19795.

qris
  • 181
0

I received an error like this when trying to open a VM from the VirtualBox UI. (This was my first time installing VirtualBox or any VM.) I was able to run the VM from the commandline using:

VirtualBoxVM --startvm <VM ID or unique name>

Carl G
  • 133