Install VMWare Player on Ubuntu 12.04

As I expected a new system means a new set of problems. The first application that encounter problem with Pangolin is VMWare Player 4.0.3. The installation of VMWare Player was smooth though, there was no problem occurred. For a while I felt relief, “yes, I can use VMWare Player tomorrow”. The problem showed when I tested to open one of the VMWare image. The VMWare was trying to install additional functions, and it failed.

After searching on the Internet, I found this reply from a thread from VMWare forum. Basically, he recommended to apply a patch in 5 steps. (Get the patch file here)

  1. Un-tar /usr/lib/vmware/modules/source/vmnet.tar to a directory you can write to (eg /tmp, /var/tmp or your desktop or home directory) – this creates a directory vmnet-only
  2. Apply the attached patch to the un-tarred source (run patch in the directory from step 1 – the patch file was created from the parent directory of vmnet-only)
  3. Save the original source tar file as /usr/lib/vmware/modules/source/vmnet.tar.orig
  4. create a new /usr/lib/vmware/modules/source/vmnet.tar from the patched source (with ‘sudo tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only’ in the directory from step 1)
  5. Start the vmware player/workstation/….

So, these were what I did.

I extracted the “/usr/lib/vmware/modules/source/vmnet.tar” to “/tmp” folder.

tar xvf /usr/lib/vmware/modules/source/vmnet.tar -C /tmp

Copy the patch file (vmnet.diffs) to “/tmp” folder and then apply the patch.

patch -p0 < vmnet.diffs

Back up the original “vmnet.tar” as “vmnet.tar.orig”.

sudo cp vmnet.tar vmnet.tar.orig

Create a new “vmnet.tar” from “/tmp” folder.

sudo tar cvf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only

Trigger the kernel update by trying to open a VMWare image again. At this time the update went smoothly, and the image was opened.

Internet Connection Problem in VMWare and VirtualBox

I was trying to compare VMWare and VirtualBox. I ran Ubuntu 10.04 Server Edition on both virtualization program, and both had the same problem with the Internet connection. When I tried to run “sudo ifup eth0”, system showed something like “eth0: ERROR while getting interface flags: no such device”.

Once again I found the solution in the It suggestes me to delete these lines below from “/etc/udev/rules.d/70-persistent-net.rules”

PCI device xxxxxxxxxxx (module)
SUBSYSTEM==”net”, DRIVERS==”?*”, ATTRS{address}==”xxxxxxx”, NAME=”eth0″

But, I deleted the file instead, I restarted the system, and then the Internet connection was fixed. This solution is applied to both virtualization program.


Entering VMWare BIOS

This morning I was trying to install Ubuntu Server on my VMWare using VMWare player. The installation is on an ISO file. So, I mount the ISO file to a VMWare’s CD-ROM device setting. But, after I booted the VMWare I barely can see the BIOS information, and I can’t enter the BIOS in order to change the booting sequence.

I found a useful information from VMWare forum:

It suggest to delay the boot to 5 seconds by adding the following line into the vmx file.

bios.bootDelay = “5000”

Mmmm… Now I can see the boot information and am able to enter the VMWare BIOS by pressing F2 button.

Edit: There is another way to enter VMWare BIOS, it’s also by editing the vmx file:

bios.forceSetupOnce = “TRUE”

When the virtual machine runs, it will directly enter the BIOS, but only one time, because “bios.forceSetupOnce” option will set to “FALSE” automatically. Read this article for more detail.

Thanks, guys.

Keyboard Problem in VMWare

This is a continue from my 19 Feb 2009 blog.

A day after I installed VMWare on my newly installed Felicia, I found out that there is a problem with the keyboard, especially almost all of the buttons on the right side of the keyboard, such as arrow buttons, PgUp, PgDn, Home, End, etc.

After googling a while in the Linux Mint forum I found the same question from another user. The answer in the forum refers to another page. This is the answer:

echo ‘xkeymap.nokeycodeMap = true’ > ~/.vmware/config

After I followed the instruction, my keyboard problem in VMWare are gone. Yes! 🙂 According to the referred page, this problem happened because of Ubuntu 8.10, which Felicia derivatives from.

Anyway my problem has been solved. Thanks to VictorWarner (LinuxMint forum) and Nalin ( for sharing the information.

My Linux Love Story in Early 2009

Last week I dismissed my Daryna… She has done a very good job for me. She has accompanied me for a year. I like her, but on the last of her days, she lost capability to produce sound. So, she muted. In addition, Daryna is based on Ubuntu 7.10, which is going to lost her support soon. There will be no more doctor who can examine and provide medicine for her…. 😦

And then… openSuse 11.1 came. She looked very pretty and elegant and about 2 years ago I played with her siblings, 10.0 and 10.1. So, I sadly replaced my poor Daryna with openSuse 11.1. The replacement was quite nice and quick. But, when I tried to update her belongings, she started nagging me, uhk. She asked me to give her a lot of attention.



From the message we could tell the problem is with her home. Either her housemaids worked very slow or too many people asked for update on that time. Anyway, it took about 6 hours, just to update my new openSuse 11.1 belongings. So waste of time. I was quite upset with her, because she could not ignore some of her belongings that could not be updated. But, I tried to brace myself with those annoying prompted from her. I guessed the problem was with the house.

After the updating was finished, I tried to give openSuse 11.1 a movie player, VLC, this time I got it directly from VLC store. The store started sending her things, a lot of things. I already worried the previous experience will come again. But, my worried was not happening. So, my theory was right, the problem was openSuse house.

One belonging that openSuse 11.1 must have is VMWare Player, because I need it to talk with my Windows neighbour. So, I got the VMWare Player package from VMWare store, and then I tried to put it on her. Then, another annoying problem with her come up. I couldn’t find the kernel source on her! Oh no…


The problem is it’s an urgent thing and I could not find any help in openSuse information center. Or, maybe I tried to find in the wrong section or what. But, anyway, I could not stand anymore. I needed VMWare Player so much, so urgent.

In the end I decided to ask openSuse 11.1 to leave, and called Felicia (Daryna’s younger sister) to join with me. I also asked Felicia to update her belongings from her home. She is not as pretty as openSuse 11.1 and her look is almost similar to her sister, Daryna. But, she has more up-to-date things than Daryna. The replacement was quick as usual, but the updating was much faster than openSuse 11.1. Felicia only took about 1 hour to update all her belongings. The most important thing is I could put VMWAre on Felicia with little effort. Huff! At last I can talk to my Windows again.

So, in the end of my love story I ended up with LinuxMint family again. Thanks to Clem and gangs that could provide such a good breed.