VMWare Server on Ubuntu Linux Kernel 2.6.31-10-generic

I’ve spent a lot of time to make it work finally.

What do I have?

VMWare Server 2.0.1 built 156745

Ubuntu Desktop x64 Version 9.10 (just upgraded from 9.04) Karmic Koala

Now what happened?

You cannot install the VMWare Server. Even with the right kernel source, the installation script fails. It seems there was a major change at kernel 2.6.29 at which all after kernels were unstable to run the VMWare server.

Searching the net, found a patch (http://communities.vmware.com/thread/215985). However, although the forum clearly mentioned it should work, however, it didn’t.

when running the command:

sudo ./vmware-server.2.0.1_x64-modules-

I got the error:

./vmware-server.2.0.1_x64-modules- command not found

 so I tried:

sudo bash ./vmware-server.2.0.1_x64-modules-

hoping it will till the shell how to execute the script, but again failed with the following error:

./vmware-server.2.0.1_x64-modules- line 30: syntax error near unexpected token  `do

‘/vmware-server.2.0.1_x64-modules- line 30: `do

SO!! What’s wrong?

Okay this script is NOT executable! Is that so? Fine then, I’ve made it so:

sudo chmod 755 vmware-server.2.0.1_x64-modules-

But again the same error of line 30!!!!!!!!!!!!!

Dam it, there is nothing wrong with the code, it looks just fine. Finally, after long search away form the VMWare issues I got the following tip (thanks for the nice guys in here: http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2007-04/msg00386.html ) and that fixed my problem.

sudo dos2unix vmware-server.2.0.1_x64-modules-

then :

sudo ./vmware-server.2.0.1_x64-modules-

just went fine. Finally running the main command:

sudo ./vmware-config.pl

Although I got a hell of warnings and errors, but non of it was a major and things went fine finally. Yes, yes, yes and VMWare server running just fine on my Ubuntu Linux Kernel 2.6.31-10-generic

I hope someone would save some days (or even hours) and not waste as much time as I did.

 Good luck everyone, and big thanks for VMWare for their support for the open community.

7 thoughts on “VMWare Server on Ubuntu Linux Kernel 2.6.31-10-generic

  1. مالك يا كنان اميرزاوغلو انا مختار من مصر انت مومثل رائع انت الاكبر وانت وا نرمين

  2. انا من مصر احلا ممثل هو عمار الكوسوفى او كنان اميرزاوغلو

  3. يقول buy deca durabolin:

    نحن مجموعة من المتطوعين وبدء مبادرة جديدة العلامة التجارية في المجتمع. زودت مدونتك الإلكترونية لنا معلومات قيمة للعمل بها. لقد قمتم بعمل رائع!

  4. يقول Amir Mahouk:

    Thanks Kinan, you save my time

  5. يقول كنان:

    Good to hear from you Amir
    And you’re always welcome :)

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

هذا الموقع يستخدم Akismet للحدّ من التعليقات المزعجة والغير مرغوبة. تعرّف على كيفية معالجة بيانات تعليقك.