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

Before you begin

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

About this task

Important:

After you upgrade or migrate your host from ESX/ESXi 4.x to ESXi 5.x, 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.

Procedure

  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.

Results

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