windows-10 - Virtual-box 无法启动 VM VERR_INTNET_FLT_IF_NOT_FOUND

标签 windows-10 vagrant virtualbox remote-desktop

当我跑 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: ["startvm", "3ae7b70c-8ea1-417a-ab67-99aef96624f8", "--type", "headless"]

Stderr: VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2' (VERR_INTNET_FLT_IF_NOT_FOUND).
VBoxManage.exe: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

我在这里找到了解决方案:https://www.howtoforge.com/setup-a-local-wordpress-development-environment-with-vagrant/也就是更新VirtualBox Host-Only Ethernet Adapter的驱动

但问题是我远程连接到机器。所以我担心网络设置可能会丢失我的远程连接。另外,我无法重新启动机器。

按照上面链接中提到的不会断开连接的步骤操作是否安全?如果没有,有什么替代方法吗?

最佳答案

最近我一直在努力解决这个问题。我尝试了很多次来解决这个问题。有时我能够成功运行我的 Vagrant 机器,但我不确定我是怎么做的,因为我尝试了很多选择。但最后,我找到了解决它的方法。这非常简单和棘手。
解决方案:
一旦您的终端出现此错误,只需从控制面板打开您的计算机网络适配器。选择为该虚拟框创建的适配器。只需禁用一次并再次启用。然后运行 ​​vagrant up 命令。就是这样。问题消失了。

- Start --> Network status --> Change adaptor options --> (select the Ethernet adaptor - In my case it is Ethernet4) 
- Right click --> Disable and right click --> Enable
- vagrant up
enter image description here

关于windows-10 - Virtual-box 无法启动 VM VERR_INTNET_FLT_IF_NOT_FOUND,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61213871/

相关文章:

ubuntu - 如何制作 "Hello world"内核

powershell - Windows的Docker无法启动

windows - Spectre 性能打击在 2018 年 4 月更新后消失了吗?

linux - 从不同域访问多个网站

docker - 我应该创建一个 VM,然后在 VM 中使用 docker 机器进行开发吗

virtual-machine - Virtualbox 和 VMWare Workstation 中相同的客户操作系统,不同的内存使用情况

powershell - 如何在 Windows 上将 "new pnp devices"事件记录到控制台?

bash - 带有 Bash 的 Windows 10 上的 Jenkins

php - 使用 guzzle 在 vagrant 上 curl 错误 7

vagrant - 是否可以在 Vagrantfile 中使用多个 config.vm.box?