Roots Discourse

Virtualbox fails on MacOS Monterey Beta

Just a heads up for anyone who’s curious to upgrade to the new MacOS. Currently VirtualBox still seems to lack support for it meaning your Trellis projects won’t work. My project which worked on Big Sur now shows this on vagrant up.

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

https://forums.virtualbox.org/viewtopic.php?f=39&t=103100

This is actually typical in MacOS upgrades. In the past, this has been the fix:

2 Likes