我昨天把我的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 8.1, VirtualBox 5.0.16.105871有这个问题。我尝试了我在这里找到的所有建议,虚拟盒子网站和其他论坛。没有一个对我有效。当我试图启动一个只使用主机接口的虚拟机时,出现了这个错误:

Failed to open a session for the virtual machine LinuxVMDev0.

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).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

最后,唯一适合我的解决方案是:

卸载5.0.16 安装版本4.3.36没有这个问题(至少在我的PC上) 在不卸载4.3.36的情况下,按照默认方式安装5.0.16版本

(始终以管理员身份安装,即以管理员身份运行安装程序)。

在尝试了几天不同的解决方案后,这对我来说很有效。

其他回答

这两个答案并没有解决我的问题,但把它们结合起来,我就能解决问题。 我的情况是,我试图在Windows 7 pc上安装和运行Docker,并不断得到一个错误: “看起来好像出了什么问题……按任意键继续…”

经过深入研究,我发现这个问题与Docker创建的主机网络适配器有关。 我安装了NDIS6驱动程序,但它是启用的。我试着取消检查,禁用,重新检查,启用等,但它没有帮助。

然后我卸载VB并按照第一个答案重新安装以获得NDIS5驱动程序。 这是未经检查的,所以检查它,我能够过去这个问题。

卸载Virtualbox并安装最新版本,在回答这个问题时,它是5.12。我安装了Vagrant,它会自动安装Virtualbox 5.10。我在安装Windows 1511更新后遇到了这个问题,卸载Vagrant提供的Virtualbox并安装最新版本解决了这个问题。

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

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

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

点击它,然后编辑。

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

这是我的网络设置;

重启电脑


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

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

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

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

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

它成功了!