Ok so first things first! Since I have all the hardware components I can start to put together this lab. I’ve already installed the memory into the NUCs and now I need the installation media to install and configure the ESXi 6.5 boot drive.
Things I’ll need
I’ll need a few prerequisites before I can create our install media. I used the info from Dee Abson’s blog as a guide since he currently uses the same NUC (D54250WYK/H) version.
- 1. ESXi Offline Bundle
- 2. Sata aHCi & usb 3.0 Driver
- 3. Powershell script
- Download the VIB File of version 1.39 at the bottom of the page. This is your SATA disk controller driver.
- Download the USB Ethernet Adapter VIB file from William Lam’s site. This file will be used in case I decide to get a USB 3.0 Ethernet Adapter to add a secondary NIC since the NUCs are only equipped with one.
Your face is a VIB!
Mmmmkay. Anyway, VIB stands for vSphere Installation Bundle. These are just drivers, updates and such which can be installed on ESXi hosts.
Amanda Peetz’s blog contains the PowerShell script needed to put all this togther. It’s used to create an up to date and customized ESXi install ISO. Be sure to download the latest version
Build the ISO
Sweet. Now that we have all those files downloaded, create a directory somewhere to build the ISO.
I’ll just create a folder on the root of my c:\ drive and call it c:\esxi-nuc
Then you’ll need to copy the following files to this directory
*Keep in mind that the versions on the filenames will likely change depending on when you’ve downloaded the files.
Next, create another sub-directory that contains all the VIBs we’ve downloaded. Just call it c:\esxi-nuc\vibs
Extract the VIB file from the SATA .zip archive. Place both the VIBs you’ve downloaded to c:\esxi\nuc\vibs.
Aiite. Time to run the PowerShell script we downloaded to generate the ISO file. Launch PowerShell and navigate to the c:\esxi-nuc directory.
From here we are going to run the following command based on the PowerShell script we downloaded earlier and run the following command below:
.\ESXi-Customizer-PS-v2.5.ps1 -izip .\VMware-ESXi-6.5.0-4564106-depot.zip -pkgDir vibs -nsc
*The -nsc switch will allow the creation of the ISO by ignoring unsigned drivers. Otherwise you’ll receive the error below.
If you examine the script, you’ll find the switch on line 136
You’ll be greeted with some security warning about running scripts. Just press R and then Enter
It’ll run through it’s process and create the ISO. Should look similar to this when complete.
Yey the ISO is created.
Create A Bootable USB
Next I need to create a bootable USB out of this spanking new ISO we got. So you can pick your poison and use whatever application you are used to making bootable USBs with. I usually use the portable version of Rufus so download whichever one you want.
Make sure your target drive is the flash drive. In this case mine is the W: drive.
Keep the defaults and make sure you change FreeDOS to ISO Image
Once you change that, select the little CD Drive icon and select your source which will be the newly created ESXi 6.5 ISO in your c:\esxi-nuc folder.
After selecting the ISO, click on Start
Some lame warning will pop up about using an obsolete version of ‘menu.c32’ file. Just click on Yes to download the file.
Next click on OK and allow all the existing data on the USB to be destroyed.
Rufus will then start to install and do things. Basically it’ll format the USB drive to be bootable and extract the ISO contents directly on the device.
Once complete, you’ll be back to the original menu but with a full green bar across the progress line. The USB drive should now be a bootable ESXi 6.5 Installer. Click Close.
Now that I have the bootable ESXi installer, I can now plug this into one of the USB ports on my NUC and install ESXi onto the empty 8GB USB drive which will be used to run the hypervisor. More about that in Part 2.