Kali being used today when the computer suddenly crashed. . Forced restart, found an error in entering the virtual machine:
“锁定文件失败 打不开磁盘或它所依赖的某个快照磁盘。模块启动失败。未能启动虚拟机。”
1, the cause of the problem
Search, this problem is due to the virtual machine disk protection mechanism caused by:
Virtual Disk (.vmdk) disk itself has a protective mechanism to prevent multiple virtual machines simultaneously access the same virtual disk hidden (.vmdk) caused by data loss and reduce terms of performance, every time you start the virtual machine when the virtual machine use extension .lck (disk lock) file for the virtual disk (.vmdk) lock protection. .lck (disk lock) files are automatically deleted when the virtual machine is turned off. But it may be due to abnormal shut down the virtual machine, the virtual machine at this time have not had time to delete .lck (disk lock) files on the system, so when next time you start the virtual machine appeared above error.
2. Solution
Enter the virtual machine working directory (if not found, you can 编辑虚拟机设置-->选项
find the working directory), delete or modify the virtual machine configuration files and virtual disk files to a folder of all .lck
files ending and folders.