Install VMware ESXi 6.5 on Intel NUC (Part 1/2)

With VMware vSphere 6.5 released recently, I decided to rebuild my Intel NUC based homelab. My preferred method is to create a bootable USB drive with the ESXi install media on it. Then install from the ESXi USB to the dedicated NUC’s boot USB. This method avoids non-unique ESXi installs, which is a common issue with the VMware Workstation pre-install method.
Prerequisites
In order to create our Intel NUC specific ESXi install media, we need to gather the necessary files. Make sure to grab the newest versions of the following:
- vSphere ESXi 6.5 Offline Bundle
- This is a collection of all the components and packages that make up ESXi. You need the Offline Bundle, not the ISO, for this exercise.
- SATA AHCI driver
- This driver is for the Intel NUC SATA controller. Even if your NUC doesn’t have a SATA disk or even the controller, it doesn’t hurt to add this driver.
- USB 3.0 Ethernet driver from William Lam
- Add more NICs to your NUC via USB 3.0. Like the storage driver, if you don’t have a USB 3 ethernet adapter, it doesn’t hurt to add this driver.
- ESXi-Customizer-PS PowerShell script from Andreas Peets
- This script will do all the heavy lifting, combining the offline bundle and driver VIBs into an ISO for us.
Create ISO
First, let’s create a project directory for our files. Let’s call it C:\esxi-nuc .
Copy the ESXi 6.5 offline bundle ZIP file (ex. VMware-ESXi-6.5.0-4564106-depot.zip ) and the ESXi-Customizer-PS script (ex. ESXi-Customizer-PS-v2.4.ps1 ) to this directory.
Create a sub-directory under our project directory to hold our VIBs. Let’s get creative and call it C:\esxi-nuc\vibs .
Copy the SATA AHCI driver VIB (ex. sata-xahci-1.38-1.x86_64.vib ) and the USB 3.0 Ethernet driver VIB (ex. vghetto-ax88179-esxi65.vib ) to this sub-directory.
If you’ve copied all the files to their respective folders properly, it should look something like this:
C:\esxi-nuc C:\esxi-nuc\ESXi-Customizer-PS-v2.4.ps1 C:\esxi-nuc\VMware-ESXi-6.5.0-456106-depot.zip C:\esxi-nuc\vibs C:\esxi-nuc\vibs\sata-xahci-1.38-1.x86_64.vib C:\esxi-nuc\vibs\vghetto-ax88179-esxi65.vib
Now we have to run the ESXi-Customizer-PS script to pull everything together and generate an ISO file. So fire up PowerShell, navigate to our project directory which is “C:\esxi-nuc” in our example, and run the following command:
.\ESXi-Customizer-PS-v2.4.ps1 -izip VMware-ESXi-6.5.0-4564106-depot.zip -pkgDir vibs -nsc
Make sure to use the version numbers that match your downloaded files. Also, don’t forget the “-nsc” flag, as that will let us ignore the unsigned driver VIBs and continue.
If everything went as planned, you should now have a new ISO file in the project directory that is an ESXi 6.5 and VIBs combination.
Next Steps
Now that we have our customized ISO, we need to turn it into a bootable USB and then install it on our NUCs. We’ll do just that in part two.
Featured image photo by JeepersMedia
New Post: Install VMware ESXi 6.5 on Intel NUC (Part 1/2) https://t.co/Teu2jlW9Gb #homelab #howto #vdm30in30
Install VMware ESXi 6.5 on Intel NUC (Part 1/2) https://t.co/4Aa6x5zpxb #General #HomeLab
Install VMware ESXi 6.5 on Intel NUC (Part 1/2) – T.B.D. https://t.co/OiWay3lTBV https://t.co/VDC6ws8mWi
ICYMI: Install VMware ESXi 6.5 on Intel NUC (Part 1/2) https://t.co/n2LrXgy1tC #homelab #howto #vdm30in30
Everyone loves running the latest in their homelab … Install VMware ESXi 6.5 on Intel NUC (Part 1/2)… https://t.co/zvM6letfk2
ICYMI: Install VMware ESXi 6.5 on Intel NUC (Part 1/2) https://t.co/vwN5ktzs5G #homelab #howto #vdm30in30 #ICYMI
Install VMware ESXi 6.5 on Intel NUC (Part 1/2) – T.B.D. https://t.co/XQuxJN4oif https://t.co/Mv0FCl5G0H
Install #VMware #ESXi 6.5 on Intel #NUC (Part 1/2) https://t.co/YWK6uonYqc https://t.co/skUxg8X9hH
Install #VMware #ESXi 6.5 on Intel #NUC (Part 1/2) https://t.co/jzgyn1brPY https://t.co/Ly7sFZHcSN
Install VMware ESXi 6.5 on Intel NUC (Part 1/2) – T.B.D. https://t.co/xo3njAHLCG https://t.co/MFHoZwinis
I downloaded the trial version of Esxi 6.5 – but only the .iso version is available 🙁
Can i get offline bundle ZIP file and the ESXi-Customizer-PS script “out” of the iso?
The ESXi-Customizer script can create an offline bundle for you from the online depot.
This example will create an offline bundle of ESXi 6.5 (note that the latest version of the script is cited, which was updated to fully support vSphere 6.5):
.\ESXi-Customizer-PS-2.5.ps1 -v65 -ozip
I got an error:
File C:\esxi-nuc\ESXi-Customizer-PS-v2.5.ps1 cannot be loaded. A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
OK. I deleted the signature lines, line 476 to the end, saved it, and the script ran fine.
Good catch. It looks like the signature on the
ESXi-Customizer-PS-v2.5.ps1
script expired 8/30. Andreas Peetz (the author) is already looking into updating it. https://twitter.com/VFrontDe/status/905114644347539456Andreas released an updated version of the script today that removes the expired certificate (and fixes another issue). https://www.v-front.de/p/esxi-customizer-ps.html
Thanks a lot, this helped me!
One thing to warn users is to make sure PowerCLI is installed using the command
Install-Module VMware.PowerCLI -Scope CurrentUser
Otherwise