Installing ESXi to a USB key using VMware Workstation 11 – Updated

This is an updated post covering VMware Workstation 11 instead of Workstation 9, it’s been updated to cover installing using the formatwithmbr switch as well as to highlight 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.

2015-01-24_16-02-03

2015-01-24_13-26-38

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

2015-01-24_13-26-47

Browse to your ISO file.

2015-01-24_13-27-09

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

2015-01-24_13-27-38

2015-01-24_13-27-53

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

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

2015-01-24_16-12-57

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

2015-01-24_16-22-31

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

2015-01-24_13-29-50

Now we need to attach the USB to the VM.

ESXi Install 02

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

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

2015-01-24_17-02-56

2015-01-24_17-03-07

2015-01-24_17-03-12

2015-01-24_17-03-28

2015-01-24_17-04-05

2015-01-24_18-07-51

2015-01-24_19-50-20

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 ****

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *