Installing the patch when running VMware on Ubuntu 12.04 and other distributions
Today I encountered the following problem: when installing VMware Workstation 8 on Linux Mint 13 (kernel 3.2, as in ubuntu 12.04 LTS or other new distributions) and the subsequent launch, there is a requirement to patch the system kernel. As I learned from the Internet, the situation is quite common, however, I did not find any detailed instructions “from beginning to end”. The problem was solved by me, in connection with which I decided to write a small guide. So, the sequence of actions is as follows:
Download and install VMware Workstation 8 (I used Workstation 8.0.4, but it should work with others too)
Download kernel patch. I have seen both for kernel 3.2 and 3.4. I downloaded it with the VMware installer, but I can do it differently: (cm *)
Install VMware
$ sudo sh VMware-Workstation-Full-8.0.4-744019.i386.bundle
Run the program. The program will ask to install add-ons. Further, there are two possible scenarios: a) when installing the first component will display a message that you need to patch the kernel. Then skip point 5 b) after installing the add-ons, it will generate an error that one of the components is not installed. Then we carry out point 5
You must open the file patch-modules_3.2.0.sh (or similar **) in a text editor and replace the lines
In some cases, when installing a patch, an error of the following type occurs:
/ home / the23 / Downloads / VMware Workstation 8.0.4 build 744019 for Linux / patch_for_kernel_3.2.0 / patch-modules_3.2.0.sh: 27: [: workstation8.0.4: unexpected: / home / the23 / Downloads / VMware Workstation 8.0.4 build 744019 for Linux / patch_for_kernel_3.2.0 / patch-modules_3.2.0.sh: 28: [: workstation8.0.4: unexpected: Sorry, this script is only for VMWare WorkStation 8.0.4 or VMWare Player 4.0.4. Exiting
To prevent this from happening, you also need to go to point 5 and perform all the actions in a new way.
After the patch is installed, run the program.
* you can download and install the patch as follows
$ sudo apt-get install patch $ cd $ wget http://webupd8.googlecode.com/files/vmware802fixlinux320.tar.gz $ tar -xvf vmware802fixlinux320.tar.gz $ sudo ~/vmware802fixlinux320/patch-modules_3.2.0.sh
** if the system is on the Linux 3.4 kernel, then specify patch-modules_3.4.0.sh respectively
PS I'm still new to Linux, so I assume there are errors and inaccuracies in the text. I would be happy to correct and supplement the article. I hope the information will be useful.