VM虚拟机启动报错Reason Failed to lock the file怎么办

Posted gary_tao的个人博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了VM虚拟机启动报错Reason Failed to lock the file怎么办相关的知识,希望对你有一定的参考价值。

VMware启动报错Reason: Failed to lock the file的解决方法

症状:  启动VMware虚拟机的时候出现了Cannot open the disk ‘*.vmdk‘ or one of the snapshot disks it depends on.Reason: Failed to lock the file.的错误。

解决办法一
 1、在VMware该虚拟机路径下的所有.lck文件和文件夹下删除或迁移至其它目录,一般就可以解决了。
 2、如果再次启动VMware的Windows Vista系统失败,尝试右键虚拟机出错的系统->Settings->Hardware->Hard Disk->Utilities->Map->映射虚拟硬盘到Z:\
 3、断开虚拟硬盘,重新加载,启动。系统就可以正常启动了

此方法本人没用过,有网友说不能解决问题,如果有遇到Cannot open the disk ‘*.vmdk‘ or one of the snapshot disks it depends on.Reason: Failed to lock the file错误的朋友不妨也试一下。如果您成功了,请给我们留言,以便我们进行更好的技术交流。

 使用记事本打开*.VMX文件上加上一行代码disk.locking = "FALSE",重新启动该虚拟机。

使用方法二,问题得到解决,重新启动VMware正常启动,不会再出现Cannot open the disk ‘*.vmdk‘ or one of the snapshot disks it depends on.Reason: Failed to lock the file.错误。

以上是关于VM虚拟机启动报错Reason Failed to lock the file怎么办的主要内容,如果未能解决你的问题,请参考以下文章

centos7虚拟机 网卡启动失败报错 failed to start LSB Bring up/down

the vm session was closed before any attempt to po

Springboot启动报错:Failed to determine a suitable driver class

CentOS系统启动报错Failed to mount /sysroot解决方法

启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结

SpringBoot启动异常:Reason: Failed to determine a suitable driver class