Installing ESXi 6.0 with 4GB RAM or less

Installing ESXi 6.0 with 4GB RAM or less

   Today I want to install esxi 6.0 to my HP Microserver Gen8, which has only 4Gb of RAM. During the installation you will receive error as on screen below:

Installing ESXi 6.0 with 4GB RAM or less

 

So we need to do this small instructions:

During the install when MEMORY_SIZE ERROR occurs, Press ALT+F1

Login as root (no password)
# cd /usr/lib/vmware/weasel/util
# rm upgrade_precheck.pyc
# mv upgrade_precheck.py upgrade_precheck.py.old
# cp upgrade_precheck.py.old upgrade_precheck.py
# chmod 666 upgrade_precheck.py
# vi upgrade_precheck.py (search for MEM_MIN_SIZE and find (4*1024-32). Replace 4* with 2*  and close after saving.

Installing ESXi 6.0 with 4GB RAM or less

# ps -c | grep weasel ( find the python PID )
# kill -9 <PID>

Installing ESXi 6.0 with 4GB RAM or less

 

The install should have automatically restarted and you should be able to continue now.

Installing ESXi 6.0 with 4GB RAM or less

Installing ESXi 6.0 with 4GB RAM or less

Installing ESXi 6.0 with 4GB RAM or less

That’s all folks!  🙂

vovando Avatar

24 responses to “Installing ESXi 6.0 with 4GB RAM or less”

  1. Georgi Sundberg Avatar
    Georgi Sundberg

    Hi, Thanks alot for the fix, works flawlessly

    1. Volodymyr Vrublevskyy Avatar

      You are welcome. Happy to help you! 🙂

  2. Eric Chng Avatar
    Eric Chng

    Hi!
    I tried to install ESXi 6.0 (customized image for HP) on my HP Gen8 and hit the following error message as attached. Would you have any clue as to why I’m getting this error?
    I’m still on 2GB ram by the way, could that be the problem?
    Thanks a lot for your help in advance 🙂

    1. Volodymyr Vrublevskyy Avatar

      Yes. I think. I can’t install esxi with 2Gb but can install with 4. Try to upgrade your memory amount 🙂

  3. […] из многочисленных блогов по схожей тематике. Далее этот прием приводится почти без изменений, не считая перевода на […]

  4. Bhagavad gita Avatar
    Bhagavad gita

    Thank you so much PAL after my repeated try able to success beginers like me follow https://www.youtube.com/watch?v=0QtMFMsyTRQ this link too

  5. Vincent DA SILVA Avatar

    Many thanks, its working very fine on vmware ESXI 6.0 on my HP Microserver Gen8 !

    1. Volodymyr Vrublevskyy Avatar

      Happy to help you!!!

  6. M. Omer Golgeli Avatar
    M. Omer Golgeli

    Thanks Volodymyr, even though I hit another error related to HDD later, this trick helped me skip past the ram block on my microserver.

    Appreciated.

    1. Volodymyr Vrublevskyy Avatar

      Happy to help you. You are welcome!

  7. kevinblac Avatar
    kevinblac

    For some reason after login in as root am getting [root@192:~] rather than the # sign, what am i doing wrong?

  8. […] Eventually worked out a way around it with the following instructions from noteis.net […]

  9. Михаил Круг Avatar
    Михаил Круг

    # rm upgrade_precheck.pyc
    – no such file
    может?
    # rm upgrade_precheck.py

  10. […] to https://blog.vovando.dev/2015/06/24/installing-esxi-6-0-with-4gb-ram-or-less/ for the original […]

  11. Daniel Elf Avatar
    Daniel Elf

    Great stuff, can confirm that this works on 6.5 as well

  12. Bob Avatar
    Bob

    Using Gateway M285-E with 4gb ram. Will not allow me to press ALT + F1 during esxi 6.5 install though?? I get a purple screen at the end as well

  13. Bob Avatar
    Bob

    Using Gateway M285-E with 4gb ram. Will not allow me to press ALT + F1 during esxi 6.5 install though?? https://uploads.disquscdn.com/images/6e5794633bdf66c33bd803eea94bec1d12a350274ef83dabb808753ca0f1218e.png

  14. Bob Avatar
    Bob

    Using Gateway M285-E with 4gb ram. Will not allow me to press ALT + F1 during esxi 6.5 install though??
    It gets to this screen
    https://uploads.disquscdn.com/images/68277b77d7473446a470a8912d59492b3a968bd185324a2ca573ebfaa493ce0e.png

    Then after a few seconds it displays this screen…
    https://uploads.disquscdn.com/images/6e5794633bdf66c33bd803eea94bec1d12a350274ef83dabb808753ca0f1218e.png

    Any help would be appreciated.

  15. Andre Geddert Avatar
    Andre Geddert

    This is great! Saved my day. Thank you 🙂

    1. Volodymyr Vrublevskyy Avatar

      You are always welcome.

  16. Kamal Senior Avatar
    Kamal Senior

    Thank you 🙂

Leave a Reply

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