Skip to content

Pre-installed ESXi 6.0 on SD Cards or Flash Drives

Many ESXi installations are running on SD Cards or flash drives. In my opinion, it's a good practice. The hypervisor itself requires about 150MB, and the full installation on a SD Card is less than 1GB, without diagnostic partitions. VMware recommends using a 4GB or larger USB/SD device. When you want to install ESXi and you don't use auto-deploy, install servers or other automation tools you typically have to mount an ESXi ISO file to your server management system (iLO, iDRAC,...) or work with a physical installation media. This is somewhat slow and uncomfortable, but there is a little trick to make the installation faster.

You can prepare the USB/SD device with the ESXi installer, plug it into your server and install it to the device itself by overwriting the installer. You can also use customized installers when your hardware requires special drivers.

  1. Download Rufus
  2. Download or create an ESXi .iso Image. You can also use pre-customized Images (HP, Dell, IBM,...) or self-created Images (Intel NUC, Gigabyte Brix,...).
  3. Connect the USB/SD device to your computer
  4. Open Rufus
  5. Select your Device
  6. Select your ISO Imagae
  7. Press Start
  8. Select Yes when it asks to replace menu.c32.replace-menu-c32-warning
  9. Rufus will now create your bootable ESXi Installer USB Flash Drive.
  10. Disconnect the USB/SD device from your computer and connect it to your server where you want to install ESXi
  11. Boot the server from the USB Flash Drive and select the same device during the installation. (It's actually possible because the installer is loaded to the memory, so the original device is no longer required for the installation)install-esxi-to-usb-flash-drive
  12. Finish the installer.

If you want to go a step further, you can fully automate the installation by placing a kickstart file on the USB/SD device.

  1. Follow step 1-9 from the guide above.
  2. Navigate to the Flash Drive and open boot.cfg with an editor. Make sure to use an editor that can handle UNIX encoding.
  3. Replace kernelopt=runweasel with kernelopt=ks=usb:/ks.cfg
  4. Create ks.cfg in the root directory of your Flash Drive
  5. Open ks.cfg with an editor. And copy this to your ks.cfg file:
    rootpw vmware
    install --firstdisk=usb-storage --overwritevmfs
    network --bootproto=dhcp --device=vmnic0
  6. Save and close
  7. Disconnect the USB/SD device from your computer and connect it to your server where you want to install ESXi.
  8. Boot the server from the USB/SD device. It should now automatically install ESXi and boot with a DHCP enabled network interface. The password for the root user is set to "vmware".

1 thought on “Pre-installed ESXi 6.0 on SD Cards or Flash Drives”

Leave a Reply

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