我昨天把我的Windows 10升级到最后一次更新,现在,当我启动vagrant up命令时,我得到了这个错误:

==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.

当我尝试与GUI我有这个错误:

Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter' (VERR_INTNET_FLT_IF_NOT_FOUND).
Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND).

我重新安装了VirtualBox 5.0.10和扩展包, 重新配置主机以太网适配器,但总是相同的错误…

什么好主意吗?


当前回答

更新Windows时出现了同样的错误。 尝试一切。毫无效果。

最后,进入设备管理器->网络适配器 禁用并启用Virtualbox主机专用适配器

它成功了!

其他回答

如果接受的https://stackoverflow.com/a/33733454/8520387不适合你,那么禁用其他启用的以太网卡。 在此之后,尝试再次运行您的流浪脚本,它将为您创建一个新的网卡。对我来说是第三

在Windows 10更新后,我的VirtualBox主机专用以太网适配器实际上从操作系统的网络适配器中消失了(在控制面板->网络和共享中心->更改适配器设置下查看这些)。必须重新安装VirtualBox才能将其带回操作系统。

然后在VirtualBox的新版本中,仅主机适配器位于全局工具(右上)->主机网络管理器之下。确保已为适配器启用DHCP服务器。

示例配置:

我尝试了上面的方法,但是没有用。最后,我卸载了docker-toolbox (1.11.x)和virtualbox(5.16.x),并在docker-toolbox安装程序GUI中检查了以下选项(默认情况下NDIS5选项未选中)

此外,网络连接中的虚拟适配器有“桥接网络驱动程序”选项未选中,这对我来说很好

对我来说,我不得不删除我的用户目录中的。virtualbox和。docker文件夹…结果很好

我从Windows 7升级到Windows 10后也遇到了同样的问题。试了所有流行的答案,但都没用。最后,我知道Windows更改了适配器的名称。虚拟盒配置为使用Realtek PCIe GBE系列控制器,而设备管理器将此作为Realtek PCIe GBE系列控制器#2。选择合适的控制器解决了这个问题。