Failed to create the host-only adapter on Monterey

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
kirikogallo
Posts: 1
Joined: 28. Oct 2021, 15:52

Failed to create the host-only adapter on Monterey

Post by kirikogallo »

Hi there!

I've been trying several things / installations but my VirtualBox keeps not starting since updated to Monterey.

Did downgraded to 6.26 --> failed
Did upgraded to 6.29 --> failed
Did reinstalled 6.28 --> failed
Did checked permissions each time --> failed
Did tried w GUI mode --> failed
Did restarted VirtualBoxStartup.sh --> failed
Did added `* 10.0.0.0/8` to /etc/vbox/networks.conf --> failed

But I keep having this error:

Code: Select all

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
Any other ideas?

Thx!
JULIANO ANTONY
Posts: 1
Joined: 21. Nov 2021, 02:39

Re: Failed to create the host-only adapter on Monterey

Post by JULIANO ANTONY »

I got the same problem, try running these commands:

sudo kextload -b org.virtualbox.kext.VBoxDrv
sudo kextload -b org.virtualbox.kext.VBoxNetFlt
sudo kextload -b org.virtualbox.kext.VBoxNetAdp
sudo kextload -b org.virtualbox.kext.VBoxUSB

It worked for me :D
Post Reply