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

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

其他回答

我找到了解决办法

打开Windows网络连接 右键单击已创建的VirtualBox主机专用适配器 选择属性 检查“VirtualBox NDIS6桥接网络驱动程序” 禁用和启用适配器

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

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

我找到了解决问题的办法, 在我的网络适配器中有一个冲突,我只是禁用了错误消息中出现的那个,然后再次启动运行命令,在从窗口获得许多批准消息后,已经创建了一个新的适配器。

我希望这个解决方案能在某些情况下有所帮助。

重启电脑


遗憾的是,在Windows 10 x64和VirtualBox 5.2.6中,https://stackoverflow.com/a/33733454/2191572不能为我工作

这个框已经被选中,一个简单的重新启动就解决了它。

在告诉人们重新开始尝试多年之后,我没能遵循自己的黄金建议;面相,相约掌心。

我已经工作了一段时间,所有你需要做的是打开VirtualBox,

文件>首选项/网络>主机专用网络

您将看到VirtualBox主机专用以太网适配器

点击它,然后编辑。

我对流浪虚拟机的IP设置为192.168.10.10,您应该修改到您的虚拟机IP

这是我的网络设置;