HomeLab, Virtualization

Install ESXi 5.5 on 4GB machine (and a Mac Mini..)

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:

Running ESXi 5.5/5.5u1 on Apple Mac Mini + Thunderbolt Ethernet Adapter Caveat

Let’s begin:

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)


One thought on “Install ESXi 5.5 on 4GB machine (and a Mac Mini..)

  1. i downloaded the the the image, but it looks like the line with ((1024 * 2 ) – 32)
    doesn’t exit in the latest version.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s