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

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

示例配置:

其他回答

Windows 10操作系统 在花了3个小时卸载和重新安装minikube, virtualbox后,没有解决问题,我看到我的网络适配器 控制面板->网络和Internet->网络连接窗口。 有3个启用的“VirtualBox主机专用以太网适配器”。 我把它们都禁用了。 然后在服务屏幕上(运行->services.msc)找到Tcp/Ip NetBIOS帮助程序 然后重新启动。

将创建一个具有正确名称的新网络适配器,如“VirtualBox Host-Only network #3”。 现在类型: minikube删除 mnikube开始 这对我很管用。 希望它能帮助到某人! 我讨厌这个:)

对我来说,将VirtualBox更新到5.1.23解决了这个问题。Windows版本可从官方网站下载。

在尝试再次创建VirtualBox主机专用适配器之前,您可以尝试在除实际物理网络适配器之外的所有网络适配器上禁用“VirtualBox NDIS6桥接网络驱动程序”。

请看这个答案。

我刚刚在Windows 8上使用VirtualBox 5.1时遇到了这个问题。原来问题出在我安装的卡巴斯基病毒防护软件上。它在windows侧的主机专用适配器上添加了“卡巴斯基反病毒NDIS 6过滤器”。当我禁用该过滤器时,虚拟机正常启动:

我尝试了这个页面上的每一种方法(谢谢大家!)。毫无效果。几个小时后,我终于让它工作了。

我的问题是,我没有在“步骤出错'检查默认状态'”之前出现错误。

start.sh脚本中的这一行失败了。

VM_STATUS="$( set +e ; "${DOCKER_MACHINE}" status "${VM}" )"

在命令提示符中运行下面的行,并返回“Running”。

D:\Dev\DockerToolbox\docker-machine.exe status default

所以我开始跟踪Github链接中的所有修复程序,并找到了修复程序。

在start.sh脚本中,我更改了这一行

VM_STATUS="$( set +e ; "${DOCKER_MACHINE}" status "${VM}" )"

to

VM_STATUS="$(${DOCKER_MACHINE} status ${VM})"