Quick tip: Create a bootable VMware ESXi stick

There are multiple tools available to create a bootable VMware ESXi USB stick/drive/key such as:

My favorite tool to create a VMware ESXi USB stick/key is Rufus. I use Rufus because it’s small, fast, Windows-based, open-sourced and the tool is updated frequently.

Requirements

Requirements for creating a VMware ESXi key:

  • Windows Operating System (Windows 7 or later)
  • Rufus download
  • VMware ESXi ISO download.

Create a USB Stick

To create a VMware ESXi stick is easy. Perform the following steps:

  • Start Rufus
  • Select the USB device
  • Select the ESXi ISO
  • Press Start
  • Data on the USB key will be destroyed.

When the progress status bar is READY, the VMware ESXi bootable is created and ready to boot. I tested the creation of the ESXi USB stick with the latest version of VMware ESXi 6.7 and VMware ESXi 7.

Configure VM autostart in the ESXi Embedded Host Client

For a standalone ESXi host I manage the host with the ESXi Embedded Host Client (HTML client). So no vCenter Server is used to manage this host. The standalone ESXi host is 24×7 up and running and has some critical infrastructure VMs for my lab and home environment. The critical VMs are automatically powered-on when when the ESXi host is booted with the autostart option in the host client.

In the latest versions of the Host Client (In vSphere 6.7 version 1.25 is included that already contains the autostart improvements) the autostart configuration is greatly improved what result in an easier configuration of autostart. if you are on vSphere 6.0 or 6.5 I suggest to upgrade to the latest ESXi Embedded Host Client before configuring autostart.

The upgrade of the Host client is easy, no maintenance mode and reboot of the ESXi host is needed. The upgrade can be done by following these steps:

  • Download the latest VIB for here, link
  • Upload the VIB on a datastore on your ESXi host
  • SSH to the ESXi host
  • Enter the following command to update the host client
esxcli software vib update -v /vmfs/volumes/<datastore>/<vibname.vib>

  • Refesh the host client webpage (https://<esxihostname>/ui/)
  • Check the version information in the host client (Help -> About)

Configure autostart in the ESXi Embedded Host Client

  • Open the ESXi host client by using the following URL:  https://<esxihostname>/ui/
  • Go to: Manage -> System -> Autostart->Edit Settings
    • Enable: Yes
    • Start delay: 60 seconds
    • Stop delay: 60 seconds
    • Stop action: shut down
    • Wait for heartbeat: yes
    • Save

  • Below the screen are the VMs listed. First enable autostart per VM by using the “Enable  autostart for this VM” button.
  • Once the autostart is enabled per VM, the order can be configured by increase or decrease the start order. The autostart order is displayed in the “autostart order” field.
  • Configure the autostart and order for the VMs you want to automatically start when the ESXi server is booted.
  • Reboot the ESXi host to test the autostart

With older versions of the ESXi Embedded Host Client it is “more complicated” to set the start order per VM. To set the autostart order with older versions:

  • Enable autostart as described above

  • In the Virtual Machines section, right click on the  field row and “Select columns”. Select the following columns:
    • Autostart order
    • Start delay
    • Stop delay

  • Right click on the VM with the “Autostart order” status on Unset and select “increase” to enable autostart and set the order

  • Configure the autostart and order for the VMs you want to automatically start when the ESXi server is booted.
  • Reboot the ESXi host to test the autostart

Installing VMware ESXi fails on Cisco UCS Blades with FlexFlash SD cards

When implementing a new Cisco UCS environment I encountered the following error when trying to install VMware ESXi 6.5 on a Cisco UCS Blade server with a FlexFlash SD card:

Operation failed

This program has encountered an error:

partedUtil failed with message: “Error: Can’t have a a partition outside the disk!
Unable to read partition table for device /vmfs/devices/disks……………….

The solutions is simple, perform a format of the SD card in UCSM before installing VMware ESXi. The format option can be found under:

  • Equipment -> Servers -> Select the server -> Inventory -> Storage – Controller -> Select the FlexFlash controller -> Format SD Cards