You can install, upgrade, or migrate ESXi from a USB flash drive using a script that specifies the installation or upgrade options.

Important

After you upgrade or migrate your host to ESXi 5.0, you cannot roll back to your version 4.x ESX or ESXi software. Back up your host before you perform an upgrade or migration, so that, if the upgrade or migration fails, you can restore your 4.x host.

Supported boot options are listed in Boot Options.

Before running the scripted installation, upgrade, or migration, verify that the following prerequisites are met:

The system that you are installing, upgrading, or migrating to ESXi meets the hardware requirements for the installation or upgrade. See ESXi Hardware Requirements.

You have the ESXi installer ISO on a bootable USB flash drive. See Format a USB Flash Drive to Boot the ESXi Installation or Upgrade.

The default installation or upgrade script (ks.cfg) or a custom installation or upgrade script is accessible to the system. See About Installation and Upgrade Scripts.

You have selected a boot option to run the scripted installation, upgrade, or migration. See Enter Boot Options to Start an Installation or Upgrade Script.

1

Boot the ESXi installer from the USB flash drive.

2

When the ESXi installer window appears, press Shift+O to edit boot options.

ESXi Installer screen

3

Type a boot option that calls the default installation or upgrade script or an installation or upgrade script file that you created.

The boot option has the form ks=.

4

Press Enter.

The installation, upgrade, or migration runs, using the options that you specified.