A USB flash drive is one of the location options for storing the ESXi installation media and installation script that will be used during scripted installation of ESXi.

When multiple USB flash drives are present on the installation machine, the installation software searches for the installation media and the installation script on all attached USB flash drives.

Note

Do not use the same USB flash drive as the storage location for the installation media and as the installation boot device.

You must have the following files and hardware to create the USB with ESXi installation media and script:

ISO image for ESXi

Installation script (kickstart file)

USB flash drive

1

Attached the USB flash drive to the installation machine.

2

Format the USB flash drive as Fat32 by running mkfs.vfat -F 32 USB device name at the command line.

3

Create a partition on the USB flash drive as Fat32 by running fdisk USB device name =>n=>p=>1=>default=>t=>4=>w at the command line.

4

Mount the USB flash drive by running mount USB device name esxi_usb at the command line.

5

Copy the ESXi ISO image and installation script (kickstart file) to the USB flash drive.

6

Unmount the USB flash drive.

The USB flash drive contains the installation media and installation script for ESXi.

When you boot the ESXi installer, point to this location for the installation media and script.