vagrant up 未启动code E_FAIL (0x80004005)
Vagrant up not startedcode E_FAIL (0x80004005)
我正在使用 W10,我在使用 Vagrant 时遇到了问题 - 突然我无法执行 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", "e11dfd77-f4e8-4125-8169-d81f7dc44e55", "--type", "headless"]
Stderr: VBoxManage.exe: error: Interface ('VirtualBox Host-Only Ethernet Adapter #3') is not a Host-Only Adapter interface (VERR_INTERNAL_ERROR)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole"
直到昨天之前都可以正常工作。昨天我也进行了 Windows 更新,但更新之后 vagrant 运行良好。
我尝试了什么:
- 已检查 Hyper-V 平台 - 已禁用。
- 重新安装了 VM Box,Vagrant 但无济于事。
有什么想法吗?
我知道这是一个旧的 post 但这个 link 对我有用。
以管理员身份打开CMD并运行:
bcdedit /copy "{current}" /d "Hyper-V"
bcdedit /set "{current}" hypervisorlaunchtype off
bcdedit /set "{current}" description "non Hyper-V"
只需转到 VMware 中的网络设置并取消选中适配器 3 设置中的 Enable Network Adapter
。
对于最近收到此消息的任何人,其中 stderr 未提及 VT-x
,而是如下所示:
Stderr: VBoxManage.exe: error: Call to NEMR0InitVMPart2 failed: VERR_NEM_INIT_FAILED (VERR_NEM_VM_CREATE_FAILED)
我终于发现是 virtualbox 更新让我崩溃了;我猜想在 Windows 11 中修复 NEM,但在 Windows 10 中破坏它?请参阅 virtualbox 论坛上的讨论 here。
基本上如果你有 W10 并将 VirtualBox 升级到 6.1.28,你会想要降级到 6.1.26。
我在没有降级 VirtualBox 的情况下解决了它。
相反,我使用了建议 here。简而言之,这里是:
打开“打开或关闭 Windows 功能”设置(在开始菜单中键入 optionalfeatures)
取消勾选以下所有项:
应用卫士
凭据保护
设备卫士
* 警卫
集装箱
Hyper-V
虚拟机平台
Windows 管理程序平台
Windows 沙盒
Windows Linux (WSL)
的子系统
重启两次。
几天前安装了 windows 更新,我意识到我的 VirtualBox 版本已经过时,升级对我来说已经足够了。
VirtualBox 6.1.34 修复了我的 Windows 10 Enterprise
中的问题
我正在使用 W10,我在使用 Vagrant 时遇到了问题 - 突然我无法执行 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", "e11dfd77-f4e8-4125-8169-d81f7dc44e55", "--type", "headless"]
Stderr: VBoxManage.exe: error: Interface ('VirtualBox Host-Only Ethernet Adapter #3') is not a Host-Only Adapter interface (VERR_INTERNAL_ERROR) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole"
直到昨天之前都可以正常工作。昨天我也进行了 Windows 更新,但更新之后 vagrant 运行良好。
我尝试了什么:
- 已检查 Hyper-V 平台 - 已禁用。
- 重新安装了 VM Box,Vagrant 但无济于事。
有什么想法吗?
我知道这是一个旧的 post 但这个 link 对我有用。
以管理员身份打开CMD并运行:
bcdedit /copy "{current}" /d "Hyper-V"
bcdedit /set "{current}" hypervisorlaunchtype off
bcdedit /set "{current}" description "non Hyper-V"
只需转到 VMware 中的网络设置并取消选中适配器 3 设置中的 Enable Network Adapter
。
对于最近收到此消息的任何人,其中 stderr 未提及 VT-x
,而是如下所示:
Stderr: VBoxManage.exe: error: Call to NEMR0InitVMPart2 failed: VERR_NEM_INIT_FAILED (VERR_NEM_VM_CREATE_FAILED)
我终于发现是 virtualbox 更新让我崩溃了;我猜想在 Windows 11 中修复 NEM,但在 Windows 10 中破坏它?请参阅 virtualbox 论坛上的讨论 here。
基本上如果你有 W10 并将 VirtualBox 升级到 6.1.28,你会想要降级到 6.1.26。
我在没有降级 VirtualBox 的情况下解决了它。 相反,我使用了建议 here。简而言之,这里是:
打开“打开或关闭 Windows 功能”设置(在开始菜单中键入 optionalfeatures)
取消勾选以下所有项: 应用卫士 凭据保护 设备卫士 * 警卫 集装箱 Hyper-V 虚拟机平台 Windows 管理程序平台 Windows 沙盒 Windows Linux (WSL)
的子系统重启两次。
几天前安装了 windows 更新,我意识到我的 VirtualBox 版本已经过时,升级对我来说已经足够了。
VirtualBox 6.1.34 修复了我的 Windows 10 Enterprise
中的问题