解决VMware虚拟机报错“指定的虚拟磁盘需要进行修复”

由于强制关机,导致VMWare虚拟机启动时报错“指定的虚拟磁盘需要进行修复 Debian 12-000004.vmdk”。

打开命令提示符,切换到VMware.exe所在目录,然后执行修复命令vmware-vdiskmanager.exe -R “虚拟磁盘路径“,例如:

vmware-vdiskmanager.exe -R "D:\VirtualMachines\Debian12\Debian 12-000004.vmdk"

如果显示“The virtual disk, ‘D:\VirtualMachines\Debian12\Debian 12-000003.vmdk’, was corrupted and has been successfully repaired.”则说明修复成功,否则可能错误的不是这个文件。

查看错误信息命令vmware-vdiskmanager.exe -e “虚拟磁盘路径“,例如:

vmware-vdiskmanager.exe -e "D:\VirtualMachines\Debian12\Debian 12-000004.vmdk"

我这里显示:

Failed to open the disk 'D:\VirtualMachines\Debian12\Debian 12-000004.vmdk' : The parent of this virtual disk could not be opened (0x3e8c).
Disk link D:\VirtualMachines\Debian12\Debian 12-000004.vmdk successfully opened.
Failed to open the disk 'D:\VirtualMachines\Debian12\Debian 12-000003.vmdk' : The specified virtual disk needs repair (0x3e86).
Disk chain is not consistent: The parent of this virtual disk could not be opened (0x3e8c).

看来是文件Debian 12-000003.vmdk也需要修复,那么执行刚才的修复命令即可。

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注