VMWare

VMWare

From GarrettHoneycutt

Jump to: navigation, search

Contents

Training Notes

Arrow / Function keys are broken

create / edit ~/.vmware/config

xkeymap.nokeycodeMap = true

VMWare will not load after a kernel update

make_vmware_for_new_kernel.sh

#!/bin/bash
#
# this rebuilds the vmware modules after a kernel upgrade breaks vmware
#
# garrett honeycutt - 20090526 - licensed under GPL
 
MOD_LIB="/lib/modules/`/bin/uname -r`/misc"
SRC_DIR='/usr/lib/vmware/modules/source'
 
if [ ! -d $MOD_LIB ]; then
    /bin/mkdir $MOD_LIB
fi
 
cd $SRC_DIR
 
for tarball in $(ls *.tar)
do
        /bin/tar -xvf $tarball
done
 
for module in vmblock-only vmci-only vmmon-only vmnet-only vmppuser-only vsock-only
do
        cd $module
        /usr/bin/make
        /bin/cp *.ko $MOD_LIB
        /bin/cp *.o $MOD_LIB
        cd -
done
 
/sbin/depmod -a
 
/etc/init.d/vmware restart

VMWare Fusion

If your guest OS can't get an IP, run this from your OSX shell:

sudo "/Library/Application Support/VMware Fusion/boot.sh" --restart

You can verify that the vmnet8 virtual adapter was restored.

ifconfig -a