ESXi Install or Upgrade Over PXE

Note: please see our article ESXi Install/Upgrade Over PXE 2 for details about our updated process for installing ESXi via PXE.
I have been using this technique since version 4 and at this point I find it to be a time tested method of deploying or upgrading ESXi. With that said, I figure it is time to share. If you have a site with more than one ESXi box and a PXE system, then this tutorial may be for you. The process is much easier then you might think, first you need to head over to VMware and download the latest version of ESXi. Once you have downloaded the ESXi installer, you will want to extract the .iso to a folder called “esx”. In the folder esx we will be looking for a file called BOOT.CFG. This file tells the ESXi kernel where all the packages are to load at boot. This file will need to be modified in order to use it over PXE. Open the BOOT.CFG file with Notepad++ and find an replace (CTRL+ H) the “/” with “” as pictured below. Click “Replace All”.replace

Once replaced, save the file and then copy the “esx” folder over to the “TFTProot” of your “PXEServer”. Now open your pxelinux configuration file which will be called “default” if you followed my tutorial here. Inside this file, add an entry for ESXi as seen below.

Once that is complete you should be able to boot to ESXi using your PXE Server. Note that in the past when using tftpd-hpa (Linux PXE Server) there have been case-sensitivity issues booting ESXi. I have used the method described here under the heading “The TFTP Remap File” with a 100% success rate.

Did you find this article useful? Why not share it with your friends?

2 thoughts on “ESXi Install or Upgrade Over PXE

  1. I am having this exact issue, but not sure what remapping rules work?
    and when I use the -m option the tftp client can’t find my tftp files

    1. The link included in the article has been tested on Ubuntu 10.04/12.04 LTS & Debian 7 and is 100% working. What OS are you running your TFTP Server on? Make note of the paths for the files in the article as that will probably be your key to success. Please provide your args for server_args = -m [remapping rules file] -s [tftp server root]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.