Archive for category Vmware

How to setup vmware server 1.0.5 in fedora 9

Setting up vmware server is bit different in fedora. Here there is no need for vmware any any update. What you have to do is

step1: Download vmware server 1.0.5 from here and install vmware-server. you can see my earlier post for step by step installation instructions here
During installation, if it’s failed to find the proper location of c header file, that means you dont have kernel-devel installed in your OS. If so then follow step 2 otherwise skip step 2.

Step2: Download devel-kernel (must have to match with your running kernel). Right now i’m using fedora 9.
To view the kernel that is running type uname -r in the terminal. Mine one is 2.6.25-14.fc9.i686
you can download your desired kernel-devel from this link. click here to download kernel-devel

Step3: Download 2 patches (vmnet &vmmon) for the kernel 2.6.25 (or whatever your kernel is)
I’ve downloaded those patch from jon.limedaley.com. Click on those link to dl those patch.
vmnet here and vmmon here

Step4: Now apply those patches. What you have to do is…

Copy vmnet.tar and vmmon.tar from /usr/lib/vmware/modules/source directory to other directory.

Untar both these files by running tar xvf vmnet.tar and tar xvf vmmon.tar.

You will see two new directories named vmnet-only and vmmon-only in this directory

Now, copy both of the downloaded patch files into this directory as well.

Now go to your terminal and do..

cd vmnet-only

patch -p1 < ../vmnet-2.6.25.patch

cd ../vmmon-only

patch -p1 < ../vmmon-2.6.25.patch

Set read write execute permission to source, vmmon-only and vmnet-only folder.

Now in your terminal go to source directory and create the tar files again

tar cvf vmnet.tar vmnet-only/

tar cvf vmmon.tar vmmon-only/

Finally run vmware-config.pl file again.

Thats it.

, , ,

3 Comments

USB support for vmware server 1.0.5

After installing vmware server 1.0.5 in my ubuntu hardy heron i was excited to test it. then i’ve created a VM of windows xp (I love to play games a lot) :-s

But problem occured when i was trying to connect my usb device. I found it in ubuntu but not in xp. Now, to recognise usb device in your virtual mechine what you have to do is

Step 1: Edit mountdevsubfs.sh file which is located in ‘ /etc/init.d/ ‘ directory.

sudo gedit /etc/init.d/mountdevsubfs.sh

and uncomment these four lines

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb

Also add the following line

usbfs /proc/bus/usb usbfs auto 0 0

to /etc/fstab file.

sudo gedit /etc/fstab

[This is not preffered way. The preferred method is not to use /proc/bus/usb and should be used when supported by the VM software.]

After that, do

sudo /etc/init.d/mountdevsubfs.sh start

and

sudo mount -a

Now reboot your system, start vmware server then play the vm and select the usb from VM->Removable Devices->Usb->your device

Hope you will get your usb device working in vm.

Enjoy!!

, ,

2 Comments

How to Install vmware server in ubuntu hardy heron.

I had vmware installed in my pc (with the operating system ubuntu (gutsy gibon)) . I used xp on my ubuntu as vm. But after upgrading to hardy heron i found some of my favourite softwares stop working in this new version. I was worried and tried to find the solution in several forum and after surfing lots of forum i was able to run my vmware server. :)
Here is the process to follow ( Here i’ve given detailed steps to follow for new installatioin, you may have linux-headers, build-essential, xinetd installed in your pc, if so, then ignore those step). Hope this will help.

step 1: Install linux-headers build-essential

sudo apt-get install linux-headers-`uname -r` build-essential

Step 2: The vmtools rely on the config.h header file, which does not exist in recent kernels. So, you’ll have to create a dummy file:

sudo touch /usr/src/linux-headers-`uname -r`/include/linux/config.h

step 3: Install xinetd

sudo apt-get install xinetd

Step 4: then install vmware server. (you have to download it) You can download vmware server 1.0.5 from here

sudo ./vmware-install.pl

Step 5: Now apply the patch. Download any any update 116 and run the runme.pl file (you may need to set 777 permission to vmware-any-any-update folder).

sudo ./runme.pl

Step 6: Now run vmware server from Applications -> System.

When you launch the application it might generate an error message saying that it can’t find the cairo version. just copy the files over.

sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/
sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/

Now run vmware from Application->System/Other->Vmware Server Console.

That’s it.
Enjoy

, , ,

5 Comments