Let’s say you’re waiting for more RAM to come in the post and you want to get your ESXi instance up, but you’ve only got 4GB RAM (Think Mac Mini). Well, there is a solution.
By the way, if you’re installing ESXi on a Mac Mini, you NEED to look at this blog:
Boot the system from USB Stick with ESXi installer on it.
Once the installer welcome screen shows up, press alt+F1 to go to the first console (login prompt)
Login as root, no password.
# cd /usr/lib/vmware/weasel/util
::upgrade_precheck.py is where the magic happens.
# rm upgrade_precheck.pyc // (the compiled version)
# mv upgrade_precheck.py upgrade_precheck.py.old // because the file can not be edited due to some immortal flags and lack of tools to remove these flags
# cp upgrade_precheck.py.old upgrade_precheck.py
# vi upgrader_precheck.py // then search for line that has ((1024 * 2 ) – 32)
Replace the 32 with 64 and save (:w! in vi)
# ps -c | grep weas // find the PID
# kill -9 #### // where #### is the python PID
Return to the second console with installer (alt+F2)