Recently, I wanted to upgrade a 6.7 host to 7.x and thought about reinstalling via my PXE server, but my server did not boot the image.
Now what? Troubleshooting? Analyzing logs? No … I decided to go via command line install because I preferred to replace the installed image.
See starting point in the UI:
And in putty:
You can get the image online if you make sure that ESXi firewall allows access with:
esxcli network firewall ruleset set -e true -r httpClient
Next is the command:
esxcli software profile install –depot=https://hostupdate.vmware.com/software/VUM/ PRODUCTION/main/vmw-depot-index.xml –profile=ESXi-7.0b-16324942-standard –ok-to-remove
See this documentation link for more information: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.esxi.upgrade.doc/GUID-E51C5DB6-F28E-42E8-ACA4-0EBDD11DF55D.html
So far so good, but I received “Got no data from process: LANG=en_US.UTF-8 …” and it stopped. I found the following hint of another vExpert (Wesley Geelhoed) here: https://wesleygeelhoed.nl/2020/04/17/insufficient-locker-space-while-installing-esxi-7-0/
which I tried because I am using USB devices as well to boot ESXi. I did not want to take a look at the logs.
After that, it worked fine: