ESXi Q&A Boot Options – USB, SD, & HD

Posted on

Here are some of my notes around boot options for ESXi.

The post covers a lot of information especially around booting to SD or USB.

Enjoy!

What are the Options to install ESXi?

  • Interactive ESXi Installation
  • Scripted ESXi Installation
  • vSphere Auto Deploy ESXi Installation Option – vSphere 5 Only
  • Customizing Installations with ESXi Image Builder CLI – vSphere 5 Only

 

What are the boot media options for ESXi Installs?

The following boot media are supported for the ESXi installer:

  • Boot from a CD/DVD
  • Boot from a USB flash drive.
  • PXE boot from the network. PXE Booting the ESXi Installer
  • Boot from a remote location using a remote management application.

     

What are the acceptable targets to install/boot ESXi to and are there any dependencies?

ESXi 5.0 supports installing on and booting from the following storage systems:

  • SATA disk drives – SATA disk drives connected behind supported SAS controllers or supported on-board SATA controllers.
    • Note -ESXi does not support using local, internal SATA drives on the host server to create VMFS datastores that are shared across multiple ESXi hosts.
  • Serial Attached SCSI (SAS) disk drives. Supported for installing ESXi 5.0 and for storing virtual machines on VMFS partitions.
  • Dedicated SAN disk on Fibre Channel or iSCSI
  • USB devices. Supported for installing ESXi 5.0. For a list of supported USB devices, see the VMware Compatibility Guide at http://www.vmware.com/resources/compatibility.

 

Storage Requirements for ESXi 5.0 Installation

  • Installing ESXi 5.0 requires a boot device that is a minimum of 1GB in size.
  • When booting from a local disk or SAN/iSCSI LUN, a 5.2GB disk is required to allow for the creation of the VMFS volume and a 4GB scratch partition on the boot device.
  • If a smaller disk or LUN is used, the installer will attempt to allocate a scratch region on a separate local disk.
  • If a local disk cannot be found the scratch partition, /scratch, will be located on the ESXi host ramdisk, linked to /tmp/scratch.
  • You can reconfigure /scratch to use a separate disk or LUN. For best performance and memory optimization, VMware recommends that you do not leave /scratch on the ESXi host ramdisk.
    • To reconfigure /scratch, see Set the Scratch Partition from the vSphere Client.
    • Due to the I/O sensitivity of USB and SD devices the installer does not create a scratch partition on these devices. As such, there is no tangible benefit to using large USB/SD devices as ESXi uses only the first 1GB.
    • When installing on USB or SD devices, the installer attempts to allocate a scratch region on an available local disk or datastore.
    • If no local disk or datastore is found, /scratch is placed on the ramdisk. You should reconfigure /scratch to use a persistent datastore following the installation.

10 Great things to know about Booting ESXi from USB –  http://blogs.vmware.com/esxi/2011/09/booting-esxi-off-usbsd.html   <<< This is worth a read should clear up a LOT of questions….

How do we update a USB Boot Key?

It would follow the same procedure as any install or upgrades, to the infrastructure it acts all the same.

Can an ESXi Host access USB devices ie. Can an External USB Hard Disk be connected directly to the ESXi Host for copying of data?

  • Yes this can be done, see the KB below – ‘Accessing USB storage and other USB devices from the service console’
  • However the technology that supports USB device pass-through from an ESX/ESXi host to a virtual machine does not support simultaneous USB device connections from USB pass-through and from the service console.
  • This means the host is in either Pass Through (to the VM) or service console mode.

References –

vSphere 5 Documentation Center (Mainly Under ‘vSphere Installation and Setup’)

http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.vsphere.install.doc_50/GUID-33C3E7D5-20D0-4F84-B2E3-5CD33D32EAA8.html

 

Installing ESXi Installable onto a USB drive or SD flash card

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1020655

 

USB support for ESX/ESXi 4.1 and ESXi 5.0

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=ex&bbid=TSEBB_1297203662351&url=&stateId=0 0 319975740&dialogID=319971446&docTypeID=DT_KB_1_1&externalId=1022290&sliceId=1&rfId=

 

VMware support for USB/SD devices used for installing VMware ESXi

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010574

 

Installing ESXi 5.0 on a supported USB flash drive or SD flash card

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2004784&sliceId=1&docTypeID=DT_KB_1_1&dialogID=319971409&stateId=0 0 319975522

 

Accessing USB storage and other USB devices from the service console

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1023976&sliceId=1&docTypeID=DT_KB_1_1&dialogID=319971551&stateId=0 0 319979288


 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s