Update3: Get the new tutorial: VMware 6.0.3 in Ubuntu Hardy 8.04 kernel 2.6.24
I finally manage to install VMware(server, player or workstation) on my Gutsy(well I was trying since Friday).
1. Download the vmware-* from the vmware site(or another site that provide you vmware).
2. Download this patch script: http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update112.tar.gzhttp://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update113.tar.gzhttp://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update114.tar.gz
http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update115.tar.gz
3. Extract all those tar files.
4. Run the vmware installer:
sudo vmware-install.plDo all the default chooses, but not the compile modules option.
5. Run the patches scripts:
sudo ./runme.pl
6. Run the configuration script: sudo vmware-config.pl that should compile all the modules then select your preferred options.
And that's it, run vmware wherever ;)
Other problems:
If you are running the VM from a NTFS partition you need to hack the vm config file(*.vmx) and add this line:
mainmem.UseNamedFile = "FALSE"
Screenshot:

Update:
Update2: A new version of the patches has been released so the patch is needed for newer kernels.


34 comments:
Dude, I have one doubt... Does Gutsy support Feisty repositories?
I haven't checked it yet myself, but if It works, planning to move to Gutsy from Feisty.
No, Gutsy doesn't support Feisty repos.
That's why the installation of VMware is harder, because in Feisty will be only a selection from the Canonical commercial repo.
VMware(that's what I learn) highly depends on your kernel version, in this case Feisty have 2.6.20-16.29 and Gutsy 2.6.22.8.8, so for VMware(seriously) that's a big difference.
But there's some problems with Gutsy:
- Video doesn't work with compiz(unless you change the output to noXv)
- GnoChm doesn't open *.chm files
- Some games doesn't work(like chess)
- It have some ugly fails on the X server
- Compiz crash randomly
- Beagle crash randomly
- NetworkManager doesn't work currently with my wireless(I'm using wireless radar at this moment)
If you want to help Ubuntu reporting bugs(like me) you are always welcome.
Thank you for the patch ;)
Hi!
Thanks for the information. There are two changes I would suggest based on my experience with Tribe 4.
1) There is an updated patch http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update113.tar.gz
2) My default install of Gutsy lacked the build-essential package. That was easy enough to get, but the first time I ran through the patch it failed because of this.
Cheers!
Thanks ed, I just updated the post.
Thanks for this guide! By far the easiest method of installing vmware-player in Gutsy.
Thank you! Now I can use VMWare on my Frugalware system again.
Thanks for the post. The method worked perfectly once I installed build-essential package.
Thanks for taking the time to post this - it worked perfectly :)
The newest version of VMware-player (2.0.1-55017 i386) worked without any patch. I did:
sudo aptitude install build-essential
and then installed vmware player with default options.
I use the beta version of gutsy.
Many thanks for the instructions though!
Hi,
I tried to install vmware on 7.10 Beta and once I invoke it from terminal with "vmware" I get a message "vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl."
When I invoke Vmware from Applications then the application dies. Can you please help?
I already have a registration key. My build-essential is the newest version and so is my gcc. I get the same result with and without the vmware 113 patch.
Did you run:
/usr/bin/vmware-config.pl
what it the output?
Ive been trying to install Vmplayer for days now. Ive Followed all the above advise.
Vmplayer seems to install ok, but when I go to power on a Vm machine, I get this error 'Error while powering on: Failed to connect to peer process.
I dont understand this problem. Please help!!
Just to confirm, the latest vmware package from the vmware website does not require the patch (the patch doesn't work anyway). Thanks for the info.
Fixed my problem all I needed to do was to run 'apt-get install ia32-libs' and now Vmplayer runs for me in 64bit Gutsy.
Thanks!
Thanks verymuch for the patch. Great Job
Having problem with install of VMPlayer 2.0.1 on Gutsy. Config trying to build vmmodule and it says that my kernel is built with gcc 4.1.2 but I am trying to use 4.1.3 gcc. I have updated the ia32 libs.
Any Advice...Thanks.
Why you just download the x86_64 version of VMware?
1. Download the tar files for server & console (V1.0.4)
2. sudo apt-get install build-essential linux-headers-`uname -r` xinetd
3. sudo ./vmware-install.pl for both server & console
I am running VMWare Server 1.0.3 build 44356.
I upgraded to gusty 2.6.22 and now vmware won't run my previously running sessions. Specifically when I attempt to run them I get "Unable to change virtual machine power state: The process exited with an error:
End of error message."
I attempted the patch - no go. I don't have a vmware-config.pl file anyware on my system other than in the new vmware distribution.
BTW: I can't install the new distribution either because it says I it can't find the uninstall to remove the previous version ! (Which I installed with the Applications\Add Remove menu item (and is no longer there after the upgrade to Gutsy).
Hey thanks alot, the patch worked great, I thought I was going to have to give up on the latest kernel & vmware. You've saved me a lot of time!
"VMware Server 1.0.4 tarball installs properly on Ubuntu Gutsy"
Download VMware-server-1.0.4-56528.tar.gz from www.vmware.com/download/server/
Then issue these commands:
aptitude install linux-headers-`uname -r` build-essential
aptitude install xinetd
cd /home/YOU/MyDownloads
tar -vxzf VMware-server-1.0.4-56528.tar.gz
cd /home/YOU/MyDownloads/vmware-server-distrib
sudo ./vmware-install.pl
defaults are ok.
Yes, because that's a new version of VMware... check the date of the article ;)
Thanks for this helpful post!
two minor tweaks: Please add "./" after sudo and update the patch to the latest version 114 (http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update114.tar.gz)
Your link for the posted patch script:
http://knihovny.cvut.cz/ftp/pub/
vmware/vmware-any-any-update114.tar.gz
goes to: http://knihovny.cvut.cz/ftp/pub/
vmware/vmware-any-any-update113.tar.gz
that's a bit confusing...
Maybe you should update your link to the actual 114 link:
http://knihovny.cvut.cz/ftp/pub/
vmware/vmware-any-any-update114.tar.gz :-)
Kurt
Fixed!
Thank you :)
Quick reaction - fine!
Kurt
Hi, a got a problem I'm able to install vmware in ubuntu 7.10, I follow the instructions but when I open vmware and I try to run a virtual machine, It don't start, and I know those virtual machines are working, one is Win2K and the Other is WinXPp, Help!!
THANKS, THANKS AND THANKS Again.
Lost a few neurons trying and almost quiting Ubuntu until I read your post and the life saving mem hack to run under an ntfs disk.
Many thanks again
Found your blog,
solved the problem in 5 minutes!!!
THANKS
Hi, a got a problem :
I am running Vmware Server 1.04
Ubuntu 7.10 is my host
Windows XP Spk2 is a guest
When one device is conected to usb port, Ubuntu read this device, but guest not read.
. Virtual Machine Settings
USB Controller Present
. Windows Hardware Settings
. Intel 82371ab/eb PCI to USB Universal Host COntroller
. USB Root HUB
Milton
I just tried this, got the following error running the "runme.pl":
Unknown VMware Workstation 6.0.2 build 59824 detected. Building for Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config0/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
I just tried to install build-essential, and got some weird error:
Media Change: Please insert the disc labeled 'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)' in the drive '/cdrom/' and press [Enter].
uname output: Linux avanpelt-server 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux
Any ideas?
-- Andyvan
@Andyvan: You must remove your cd from the sources list to do that operation, you can do that from System->Administration->Software Sources
Just a note that applies to Workstation 5.5 on Gutsy 7.10 and probably others.
You need to have g++ installed for vmware-config.pl to work. It's not installed by default. Without it you get an error about not being able to execute cc1plus.
Post a Comment