Upgrade ESXi 5.x to 6

How to update ESXi 5.x to the latest build of 6

Sign into VMware and start the trial for VMware vSphere:

Use VMware Software Manager to download VMware-ESXi-6.0.0-2494585-depot.zip

Using vSphere Client upload to local datastore, enable SSH, enter maintenance mode and run the following command:

esxcli software profile update -d /vmfs/volumes/datastore1/updates/VMware-ESXi-6.0.0-2494585-depot.zip -p ESXi-6.0.0-2494585-standard

Reboot and verify version 6.0.0, 2494585

vmware -vl

Download and apply latest patches:

esxcli software vib update -d /vmfs/volumes/datastore1/updates/ESXi600-201504001.zip

Reboot and verify version 6.0.0, 2615704



Cisco ASDM “Unable to launch device manager”

Seems every time theres a Java update ASDM breaks…

A simple fix is to access via Firefox https://(your IP) and run the ASDM through the browser. Once you successfully connect you will have a new shortcut on the desktop for the ASDM, fixed!

If for some reason you don’t have the shortcut, open Control Panel->Java Control Panel and under Temporary Internet Files select View, click ASDM and on the top toolbar there a button to create a shortcut on your desktop.

Note: don’t bother with IE11 as the quantity of hoops you need to jump through to get it to work will just drive you nuts.


Upgrading Ubuntu to 14.04 “not enough free disk space” on ‘/boot’

While upgrading Ubuntu to 14.04 you receive the error “not enough free disk space” on ‘/boot’ you need at least 57m free.

Check your space:

fdisk -l &&df -h

List unused images:

dpkg -l | grep linux-image

The fix, this removes all unused kernels:

dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/(.*)-([^0-9]+)/1/")"'/d;s/^[^ ]* [^ ]* ([^ ]*).*/1/;/[0-9]/!d' | xargs sudo apt-get -y purge

Check space, reboot and rerun upgrade:

fdisk -l &&df -h

Ubuntu Cleanup: How to Remove All Unused Linux Kernel Headers
Can’t upgrade due to low disk space on /boot

Enable Copy and Paste within vSphere Client

To enable the copy and paste option for all virtual machines in the ESXi host:

  1. Log in to the ESX/ESXi host as a root user.
  2. Take a backup of the /etc/vmware/config file.
  3. Open the /etc/vmware/config file using a text editor.
  4. Add these entries to the file:

    vmx.fullpath = “/bin/vmx”

  5. Save and close the file.

The Copy and Paste options are only enabled when the virtual machines restarts, and you must have vmware tools installed.

Unable to manage a VM with version 10 with the vsphere client

If your using VMware’s Hypervisor V5.5 you may come up with the error where you cannot manage your VM using the vSphere Client due to the VM version being 10 which can only be managed through the CLI or the webclient, the fix is to downgrade using the vCenter Converter Standalone, located here:
Download  VMware vCenter Converter Standalone

Now you’ll be able to convert from version 10 to 9 and manage your VM.

Install VMware Tools for Linux Distros

icon-linuxWhen you goto install VMware Tools for Linux on a vSphere Hypervisor 5.5 virtual machine you receive this error:

vix error code = 21001
Unable to install VMware Tools. An error occurred while trying to access image file “/usr/lib/vmware/isoimages/linux.iso” needed to install VMware Tools

Here’s the fix:

Download the “VMware Tools CD image for Linux Guest Oses” from:  https://my.vmware.com/group/vmware/evalcenter?lp=default&p=free-esxi5
Rename this to linux.iso
Access your local-datastore via the Datastore Browser within vSphere Client and navigate to .locker/packages
Create directories /5.5.0/vmtools
Upload linux.iso into .locker/packages/5.5.0/vmtools
Retry thats it!


symbolic link exists for /usr/lib/vmware/isoimages -> /productLocker/vmtools
symbolic link broken for /productLocker -> /locker/packages/5.5.0



Installing VMware Tools in a Kali VM


While installing VMware tools on a Kali Linux 64 Bit v1.0.5 virtual machine you’ll receive these errors:

The path “” is not a valid path to the 3.7-trunk-amd64 kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.7-trunk-amd64 kernel?

The header files are missing, here’s the fix:

Complete the install, paste the below code and rerun the installer.
echo cups enabled >> /usr/sbin/update-rc.d
echo vmware-tools enabled >> /usr/sbin/update-rc.d
apt-get install gcc make linux-headers-$(uname -r)
ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/


Use the following commands to copy/extract/install:
cp VMwareTools-*.tar.gz /tmp/
tar zxpf VMwareTools-*.tar.gz
sudo ./vmware-install.pl -d