关于 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 于 6年前 加精
hkzj0571
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
讨论数量: 16

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

6年前 评论
hkzj0571

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

6年前 评论

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

6年前 评论
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:

6年前 评论

可以尝试下windows linux子系统

6年前 评论

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

6年前 评论
hkzj0571

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

6年前 评论

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

6年前 评论
尼古丁

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

6年前 评论
luphp_安轮粉丝

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

6年前 评论

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

6年前 评论
尼古丁

升级版本之后才解决的

6年前 评论

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

6年前 评论

ubuntu啊,你值得拥有

5年前 评论

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

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

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!