In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to solve the compatibility problem of VMware workstation virtual machine?
I basically installed VMware Workstation 10 in my own book, ready to build a virtual machine environment. A virtual machine also created with VMware workstation 10 has been copied from somewhere else. There is no problem and it can be opened and used directly.
However, the other two copied virtual machines encountered several problems when they were in use. after processing, the two virtual machines can also be used normally, so the processing process of the problem is recorded.
Problem 1: the problem of "taking ownership" when turning on the virtual machine
When I open enmoedu2.vmx in the virtual machine, a prompt appears like this:
This is because when the virtual machine is running, it will produce some * .lck folders and files as information to record the running time of the virtual machine and virtual disk, similar to the temporary tmp file on Windows, or the pid file deleted by the Linux system.
Normally, such files do not appear until the virtual machine is turned on and running normally, and these files no longer exist after the virtual machine is shut down.
However, if for some reason a forced shutdown of a virtual machine in use or a problem with a computer that is slow to respond will cause a process of the virtual machine to be enabled in the background, it will cause the VMware Workstation virtual machine to appear: the virtual machine seems to be in use, unable to start the virtual machine, and choose the "take ownership" or "cancel" option.
I open the directory where the virtual machine files are located and see that there is indeed a *. Lck folder in the compressed files. Delete this folder, release the background processes that were not released before, and then open the virtual machine again and return to normal.
If it really doesn't work, restart the computer and it will return to normal.
Question 2: compatibility
After solving the above problem, the virtual machine can be loaded into the software normally, but another problem occurs when you click the power button:
The configuration file .vmx was created by the VMware product, but it is not compatible with this version of VMware workstation and cannot be used.
According to this hint, the initial suspicion is that the version of the virtual machine created is not compatible with the version of workstation I installed, and because the software is generally backward compatible, the version of the virtual machine may be higher than my workstation version.
The version of workstation I installed is VMware Workstation 10; the version of querying VMware virtual machine files through vmx files is 11:
From the vmx file, both enmoedu virtual machine files were created using the workstation 11 version. If you want to open the virtual machine with VMware workstation, it is the lower version of workstation 10 software and the higher version 11 virtual machine.
In general, in the series of VMware products, the high version of the virtual machine hardware version number cannot run on the low version of the virtualization platform, and the workstation 11 version of the virtual machine cannot run on the virtual machine software under this version. If you really want to run it, there are two solutions:
Case 1: if there is still a VMware Workstation 11.0 environment, you can directly change it to a hardware version number compatible with VMware Workstation 10.0 through the virtual machine right-click menu Manage- > Change Hardware Compatibility menu.
Case 2: if the existing environment does not have VMware Workstation 11.0, you can quickly complete the compatible conversion of hardware numbers through the following steps
1. Find and open the .vmx file of the virtual machine through the notepad program
two。 Locate the virtualHW.version = "11" field in the file and change it to virtualHW.version = "10"
3. Save the .vmx file and turn on the virtual machine. The virtual machine of VMware Workstation 11.0 can run in the environment of VMware Workstation 11.0.
Note: the operation of modifying the vmx file only passed the non-process and environmental test of this post, and did not pass a large number of confirmatory tests. if you encounter problems in the course of operation, please reply and explain the problem and report the error. Or it is recommended that we adopt the first method (compatible hardware version conversion through compatible version)
Since I only installed the VMware Workstation 10 version of the virtual machine software, I used method 2 to change the virtualHW.version field in the .vmx file of the virtual machine from 11 to "10"; then save, turn on the power button again, and start the virtual machine normally.
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.