• 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.错误。

  • 相关阅读:
    74.QT窗口实现类的封装
    73,QT指针数组实战(指针数组与数组指针)
    72.函数模板指针与类函数模板的绑定
    71.lambda表达式的递归
    C++ new delete(一)
    ios之@class
    xcode菜单栏
    ios 自定义delegate(一)
    strong&weak
    TCP/UDP
  • 原文地址:https://www.cnblogs.com/acetaohai123/p/6505526.html
Copyright © 2020-2023  润新知