Installing ESXi to a USB key using VMware Workstation 11

24th January 2015 0 By Simon

This is an updated post covering VMware Workstation 11 instead of Workstation 9, it’s been updated to cover installing using the formatwithmbr switch during the initial boot process as well as highlighting an issue with creating multiple USB keys from the same VM template.

This is still the the quickest and easiest method for me to install ESXi on to a host with no local CD\DVD drive.

Continue to read after the break for the updated build \ preparation process.

2015-01-24_16-02-03_thumb[1]

2015-01-24_13-26-38_thumb[3]

Type Ctrl+N to open up the New Virtual Machine Wizard

2015-01-24_13-26-47_thumb[2]

Browse to your ISO file.

2015-01-24_13-27-09_thumb[7]

Define the name and location where you’re going to store the files.

2015-01-24_13-27-38_thumb[1]

2015-01-24_13-27-53_thumb[1]

Un-tick the Power on VM box because we are going to edit the VM settings after we finish, it’s no good clicking customize hardware at this point because the HDD hasn’t been created yet.

2015-01-24_16-12-42_thumb[2]

Here we can see the VM hardware settings, we are going to delete the HDD to reduce overhead.

2015-01-24_16-12-57_thumb[1]

Click OK.

Next we need to power on the VM and then attach the USB device to it. Browse to the Home on Workstation or Player

2015-01-24_16-21-33_thumb[1]

2015-01-24_16-22-31_thumb[9]

Right click on your VM and choose Power and the Power On.

2015-01-24_13-29-50_thumb[4]

Now we need to attach the USB to the VM.

ESXi Install 02_thumb[17]

To ensure that we can use the SanDisk Cruzer Fit USB devices we need to ensure that ESXi is installed with the MBR partitioning format.

During the boot process hit Shift+O to interrupt the boot process and bring up the following screen.

ESXi Install 03_thumb[29]

Add a space after runweasel to add formatwithmbr, this ensures that the USB drive is formatted with mbr rather than gpt during the installation.

Time to go through the installation.

2015-01-24_17-02-45_thumb[15]

2015-01-24_17-02-56_thumb[9]

2015-01-24_17-03-07_thumb[7]

2015-01-24_17-03-12_thumb[10]

2015-01-24_17-03-28_thumb[8]

2015-01-24_17-04-05_thumb[10]

2015-01-24_18-07-51_thumb[10]

2015-01-24_19-50-20_thumb[9]

The installation completes in a couple of minutes and then you’re good to go :). Let the system reboot and during the POST power off the VM and remove the USB drive.

Now take the USB key and plug it in to your Host and boot away.

**** Important Note ****

If you need to build multiple USB keys you MUST create new VM’s for every USB device, failure to do so will lead to various issues with each host built using the same VM template (dropped ICMP packets, unreliable communications between the host and vCenter etc).

**** Important Note ****