Created
April 15, 2016 09:37
-
-
Save adamtester/eea229f3405c4ad455b45ad94efba9fa to your computer and use it in GitHub Desktop.
Bypassing the memory check on a VMware ESXi 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modified version of | |
# http://dtucker.co.uk/hack/bypassing-the-memory-check-on-a-vmware-esxi-5.html | |
# Boot the system from USB Stick / CD with ESXi installer on it. | |
# Once the installer welcome screen shows up, press ALT+F1 | |
# Login as "root", no password. | |
cd /usr/lib/vmware/weasel/util | |
mv upgrade_precheck.pyc upgrade_precheck.pyc.old | |
cp upgrade_precheck.py upgrade_precheck.py.old | |
chmod 666 upgrade_precheck.py.old | |
rm upgrade_precheck.py | |
cp upgrade_precheck.py.old upgrade_precheck.py | |
chmod 666 upgrade_precheck.py | |
vi upgrade_precheck.py | |
# Type "/MEM_MIN" and press ENTER | |
# Press “i” for insert | |
# Edit the line to read “MEM_MIN_SIZE= (1*1024–32)” | |
# Press ESC and then type “:w” and ENTER | |
# Press ESC and then type “:q!” and ENTER | |
ps -c | grep weasel | |
# Note the process id for "python" e.g. 12345 | |
kill –9 12345 | |
# Continue the install process |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment