You can format a USB flash drive to boot the ESXi installation.

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:

initrid.img, vmlinuz, and isolinux.cfg from the ESXi ISO image

USB flash drive

1

Attached the USB flash drive to the installation machine.

2

Verify that the installation machine has detected the USB flash drive by running lsusb at the command line.

3

(Optional) Determine the name of the USB flash drive by running fdisk -l at the command line.

4

Format the USB flash drive by running mkfs.vfat -F 16 -n USB USB device name -I at the command line.

5

(Optional) Verify that the USB flash drive is formatting by running fdisk -l USB device name at the command line.

6

Run syslinux USB device name -I at the command line.

7

Partition the USB flash drive by running fdisk USB device name -I at the command line.

8

Mount the USB flash drive by running mount USB device name /usbdisk -I at the command line.

9

Copy the files initrid.img, vmlinuz, and isolinux.cfg to the USB flash drive.

10

Run mv isolinux.cfg syslinux.cfg at the command line.

11

Unmount the USB flash drive.

The USB flash drive can now boot the ESXi installer.

Install ESXi using scripted mode.