虚拟机突然报错了

合上电脑, 然后打开 虚拟机突然报错:

There was an error while executing VBoxManage, a CLI used by Vagrant

for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "44521381-56d5-4265-a73f-df4f1ddf2c97", "--type", "headless"]
Stderr: VBoxManage: error: Could not open the medium '/Users/username/VirtualBox VMs/homestead-7/box-disk001.vmdk'.
VBoxManage: error: VMDK: descriptor does not start as expected in '/Users/username/VirtualBox VMs/homestead-7/box-disk001.vmdk' (VERR_VD_VMDK_INVALID_HEADER).

VBoxManage: error: VD: error VERR_VD_VMDK_INVALID_HEADER opening image file '/Users/usename/VirtualBox VMs/homestead-7/box-disk001.vmdk' (VERR_VD_VMDK_INVALID_HEADER)

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MediumWrap, interface IMedium

有人遇到这个问题么? 在网上找了好久, 也没解决...

打开VirtualBox, 弹出界面:

Could not open the medium '/Users/username/VirtualBox VMs/homestead-7/box-disk001.vmdk'.

VMDK: descriptor does not start as expected in '/Users/username/VirtualBox VMs/homestead-7/box-disk001.vmdk' (VERR_VD_VMDK_INVALID_HEADER).

VD: error VERR_VD_VMDK_INVALID_HEADER opening image file '/Users/username/VirtualBox VMs/homestead-7/box-disk001.vmdk' (VERR_VD_VMDK_INVALID_HEADER).

返回 代码: NS_ERROR_FAILURE (0x80004005)
组件: MediumWrap
界面: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}

royxu
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 3

重新安装box即可:
vagrant destroy
vagrant up

4年前 评论
royxu

之前的数据那不是 丢了?

4年前 评论
JerryBool 4年前

请问你解决了吗?

3年前 评论

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