关于 WIN10 系统更新后 Homestead 无法启动的坑!

今天在 WIN10 每天的骚扰下终于点错了,,,结果自动更新了,更新完后悲剧真的来了....:cry:
file

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "152cca03-0b0a-4e57-b501-b694821a2629", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'homestead-7' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005).  More details may be available in 'C:\Users\ZhangY\VirtualBox VMs\homestead-7\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

查了好多地方才发现原来系统更新后盘符的 UUID,发生了变化.
file

最简单的做法 打开你的 VirtualBox 安装包进行修复
file

重启之后再终端进行 vagrant up 您又可以开心的使用 Homestead 了 :smile: :smile:

本作品采用《CC 协议》,转载必须注明作者和本文链接
本帖由 Summer 于 7年前 加精
hkzj0571
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
讨论数量: 16

啊哈,昨天刚遇到一个 VMWare 的,网络连接出现问题,重新安装了一下也好了,但是还没试 Vitrual Box 的。

7年前 评论
hkzj0571

@JxMarco win 下真的破事多 :cry:

7年前 评论

很久不用 vagrant 了
用 docker 一直很正常的

7年前 评论
lanatus
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "c6e9dc33-64f4-45b4-98ae-7c03f6b38094", "--type", "headless"]

Stderr: VBoxManage.EXE: error: The virtual machine 'homestead-7' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005).  More details may be available in 'C:\Users\Citrullus\VirtualBox VMs\homestead-7\Logs\VBoxHardening.log'
VBoxManage.EXE: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

修复完重启后似乎还是这样,试过好多办法都是不行:sleepy:

7年前 评论

可以尝试下 windows linux 子系统

7年前 评论

我那天也遇到这个问题了,解决办法是在设置里面把 windows 回到更新前的版本

7年前 评论
hkzj0571

@何湘辉 我更新完之后把 oldwindows 删了。。。然后现在每次打开都要修复一次,等过年换 mbp 了

7年前 评论

@lanatus @hkzj0571 大佬解决了吗 我升级 201709 之后修复了 ,还是不行。有啥好的解决办法吗,

7年前 评论
尼古丁

上周更新完 win10 也遇到这个问题了

7年前 评论
luphp_安轮粉丝

virtualbox 的坑也很多,不要强制升级 virtualbox 的版本

7年前 评论

还是不行啊,各位大佬这个问题应该怎么办啊?

7年前 评论
尼古丁

升级版本之后才解决的

7年前 评论

确实是把 VirtualBox 和 Vagrant 同时升级之后就可以了。

7年前 评论

ubuntu 啊,你值得拥有

6年前 评论

感谢分享,我也遇到了,在这里找到了解决办法

5年前 评论
hkzj0571 (楼主) 5年前