0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MacOS MontereyにバージョンアップしてからVirtualBoxの起動できないとき

Posted at

Vagrant + VirtualBoxでHeadless起動すると

==> homestead: Clearing any previously set network interfaces...
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

使用環境

  • MacBookPro 2019
  • MacOS X Monterey
  • VirtualBox 6.1.28
  • Laravel Homestead

早速結論

調べたところ、こんなissueがありました。
https://www.virtualbox.org/ticket/20636

最下部にtest build 6.1.29r148140のテストビルドがあるじゃないですか。

インストールしましょう。
僕はこれでできました。

注意

セキュリティとプライバシーの許可を忘れずに。。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?