Solve the problem that Vmware virtual machine cannot open Ubuntu

1. Question

        Many students will use Vmware virtual machines on Windows PCs to build Linux development environments (such as Ubuntu). During use, Ubuntu will inevitably crash and shut down abnormally. At this time, if you open the Ubuntu system just now, you will find something like The following tips:

                                     

        Then I went to Du Niang, and the recommended solution was: Since the locked files generated the last time I opened it were not cleared properly, I needed to delete all the files ending with .lck in the Ubuntu installation directory, but it prompted "Running and cannot be deleted."

        At this time, you may think of killing this process in the resource manager. After actual testing, it was found that the vmware-vmx.exe process is like a nail in the door and cannot be closed no matter what, prompting "Access Denied". The vmware-vmx.exe process will still exist after restarting the computer. It still prompts "Already running, the virtual machine cannot be opened." Dizzy . . . .

2.Solution

          Step 1: Enter "msconfig" on the Windows command line, select [Services] in the pop-up window, find all service programs starting with VMware, remove the "√" in front, and apply "Confirm" to restart the computer.

Step 2: After restarting the computer, you can directly delete the locked file in the ubuntu directory, as shown below:

Delete all .lck files and .vmem files selected above.

Step 3: Add the “√” in front of all the service programs starting with VMware that were removed in step 1 again, as shown below:

Step 4: Restart the computer and you can open the ubuntu system normally in the VMware virtual machine.

Guess you like

Origin blog.csdn.net/yufeng1108/article/details/102953208