Showing posts with label VMware. Show all posts
Showing posts with label VMware. Show all posts

Friday, July 13, 2012

Configuration file was created by a VMware product with more features than this version

1.      Take backup copy of virtual machine.

2.      Locate file with extension .vmx and open it in a text editor:

Change from:

virtualHW.version = "8"

to

virtualHW.version = "7"

3.      Locate file with extension .vmdk and open it in a text editor:

Change from:

ddb.virtualHWVersion = "8"

to

ddb.virtualHWVersion = "7"

Now you can successfully boot the Virtual Machine.

Device eth0 has different MAC address than expected

1.                  Check virtual machine MAC address and change accordingly in Linux box

Or,

2.         Edit /etc/sysconfig/network-script/ifcfg-eth0 in Linux box

3.         Remove all except DEVICE, ONBOOT, BOOTPROTO parametes.

4.         Change BOOTPROTO=dhcp:

            # cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

5.         Restart network service

6.         Check MAC address by “ifconfig” command:

            # ifconfig eth0 | grep HWaddr
eth0      Link encap:Ethernet  HWaddr 00:0C:29:48:DB:9A

7.         Add HWADDR, IPADDR, NETMASK, GATEWAY in “ifcfg-eth0”  file:

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0C:29:48:DB:9A
IPADDR=192.168.100.231
NETMASK=255.255.254.0
GATEWAY=192.168.100.1

8.         Restart network service

RHEL 6.x VMware Workstation 7.1 installation issue


1.      Check for  dmesg output:


vmmon: disagrees about version of symbol smp_ops

vmmon: Unknown symbol smp_ops


2.      Check vmware status


# /etc/init.d/vmware status

Module vmmon not loaded

Module vmnet loaded


3.      Restart vmware service

# /etc/init.d/vmware stop

Stopping VMware services:

   VMware USB Arbitrator                                   [  OK  ]

   VM communication interface socket family                [  OK  ]

   Virtual machine communication interface                 [  OK  ]

   Virtual machine monitor                                 [  OK  ]

   Blocking file system                                    [  OK  ]


# /etc/init.d/vmware start

Starting VMware services:

   VMware USB Arbitrator                                   [  OK  ]

   Virtual machine monitor                                 [FAILED]

   Virtual machine communication interface                 [  OK  ]

   VM communication interface socket family                [  OK  ]

   Blocking file system                                    [  OK  ]

   Virtual ethernet                                        [  OK  ]


4.      Check for basic prerequisites

gcc

gcc-c++

kernel-headers

kernel-devel


5.      Create temporary folder and move files as below:


# mkdir ~/temp

# mv /usr/lib/vmware/modules/binary/bld-2.6.32-* ~/temp/

6.      Finaly run below command:


# vmware-modconfig --console --install-all

7.      Check vmware status


# service vmware status

Module vmmon loaded

Module vmnet loaded


8.      Check for  lsmod output:

# lsmod | grep vm

vmnet                  39825  13

vmblock                10290  1

vmci                   52074  1 vsock

vmmon                  68307  0


9.      Restart vmware service

# service vmware restart

Stopping VMware services:

   VMware USB Arbitrator                                   [  OK  ]

   VM communication interface socket family                [  OK  ]

   Virtual machine communication interface                 [  OK  ]

   Virtual machine monitor                                 [  OK  ]

   Blocking file system                                    [  OK  ]

Starting VMware services:

   VMware USB Arbitrator                                   [  OK  ]

   Virtual machine monitor                                 [  OK  ]

   Virtual machine communication interface                 [  OK  ]

   VM communication interface socket family                [  OK  ]

   Blocking file system                                    [  OK  ]

   Virtual ethernet                                        [  OK  ]

   Shared Memory Available                                 [  OK  ]

How to install WMware on Linux machine?

1.      Download WMware software.


2.      Change executable permission.

# chmod u+x VMware-Workstation-xxxx-x.x.x-xxxxx.bundle


3.      Run as normal script file.

# ./VMware-Workstation-xxxx-x.x.x-xxxxx.bundle


Graphical VMware installation will start, just follow the steps.