I ran into a unique scenario where I had a server to install ESXi on that had no video card (maybe open compute style?). That being said, I figured that PXE installation would be the easiest method.

First lets look at the PXE installation method of installing ESXi…

  1. Server boots, grabs DHCP address then downloads and executes the PXE Linux kernel.
  2. PXE linux kernel then loads /tftpboot/pxelinux.cfg/default – this is the menu system for PXE linux.
  3. ESXi install is selected, at which a linux kernel runs and begins installing the ESXi kernel
  4. The linux boot kernel, calls weasel to start installing the ESXi system
  5. The system reboots and starts loading ESXi

That being said, I needed to make sure the that not only did I pass the correct redirect output to serial switches, but that I was setting the correct baud rate at all four steps.

Step 1:

I first made sure the BIOS Serial and Serial over LAN baud rate was 115200

Step 2:

Configure the /tftpboot/pxelinux.cfg/default menu to use serial at the 115200 baud rate:

Step 3:

Pass the correct kernel parameters to the ESXi installer menu option:

Step 4:

Pass the correct kernel parameters to /tftpboot/images/esxi/boot.cfg for the ESXi installer to work correctly:

Step 5:

Modify /bootbank/boot.cfg so that when the system reboots, the installed boot.cfg is passing the correct kernel parameters. I did this with a line in my Kickstart file:

 

The following two tabs change content below.

Eric Sarakaitis

Virtualization Engineer at CBTS
I'm Eric, I love to cook, sing, garden and enjoy cold beverages!
2018 vmware admins. All rights reserved.
Design by picomol. Powered by WordPress.