Skip to content

Instantly share code, notes, and snippets.

@2E0PGS
Last active October 1, 2020 17:29
Show Gist options
  • Select an option

  • Save 2E0PGS/9e56e67d72c31e849147b9e56e3ae383 to your computer and use it in GitHub Desktop.

Select an option

Save 2E0PGS/9e56e67d72c31e849147b9e56e3ae383 to your computer and use it in GitHub Desktop.

Revisions

  1. 2E0PGS revised this gist Oct 1, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion exsi-minimum-ram-workaround.md
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    Moved to my blog: [here](https://2e0pgs.github.io/blog/sysadmin/2018/05/12/exsi-minimum-ram-workaround/)
    Moved to my blog: [here](https://2e0pgs.github.io/blog/sysadmin/2018/05/12/esxi-minimum-ram-workaround/)
  2. 2E0PGS revised this gist Sep 27, 2020. 1 changed file with 1 addition and 22 deletions.
    23 changes: 1 addition & 22 deletions exsi-minimum-ram-workaround.md
    Original file line number Diff line number Diff line change
    @@ -1,22 +1 @@
    # EXSI minimum RAM workaround

    You have 4 GB RAM installed in a new server and EXSI says you have 3.88 GB so it prevents you from continuing the install. This is a workaround for that.

    Based upon this article but I had to make a few changes to get the permissions to take: https://community.spiceworks.com/topic/411970-installing-esxi-5-5-with-4gb-ram-memory_size-error?page=1

    1. Bootup VMware EXSI from live medium.
    2. Wait for the "Welcome to VMWARE EXSI X.X.X installation" screen.
    3. Press Alt+F1 to drop into a console.
    4. Login with user root and blank password (just hit enter when prompted for password).
    5. Change directory: `cd /usr/lib/vmware/weasel/util/`
    6. Set permissions to allow any user to modify the install script: `chmod 777 upgrade_precheck.py`
    7. Copy file to edit as it didn't like me editing it live: `cp upgrade_precheck.py temp.py`
    8. Edit the file: `vi temp.py`
    9. Edt the line with "MEM_MIN_SIZE" you can use / to search in vi.
    10. Press i to enter insert mode in vim.
    11. Change `4 * 1024 - 32` to `2 * 1024 - 32`
    12. Press Esc to exit insert mode on vim.
    13. Type :wq to write the changes to disk and close vim.
    14. Copy the file back over the original: `cp temp.py upgrade_precheck.py`
    15. Locate the installer proccss ID: `ps -c | grep weasel`
    16. Kill the process using its ID: `kill PROCESSIDHERE`
    Moved to my blog: [here](https://2e0pgs.github.io/blog/sysadmin/2018/05/12/exsi-minimum-ram-workaround/)
  3. 2E0PGS created this gist May 12, 2018.
    22 changes: 22 additions & 0 deletions exsi-minimum-ram-workaround.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    # EXSI minimum RAM workaround

    You have 4 GB RAM installed in a new server and EXSI says you have 3.88 GB so it prevents you from continuing the install. This is a workaround for that.

    Based upon this article but I had to make a few changes to get the permissions to take: https://community.spiceworks.com/topic/411970-installing-esxi-5-5-with-4gb-ram-memory_size-error?page=1

    1. Bootup VMware EXSI from live medium.
    2. Wait for the "Welcome to VMWARE EXSI X.X.X installation" screen.
    3. Press Alt+F1 to drop into a console.
    4. Login with user root and blank password (just hit enter when prompted for password).
    5. Change directory: `cd /usr/lib/vmware/weasel/util/`
    6. Set permissions to allow any user to modify the install script: `chmod 777 upgrade_precheck.py`
    7. Copy file to edit as it didn't like me editing it live: `cp upgrade_precheck.py temp.py`
    8. Edit the file: `vi temp.py`
    9. Edt the line with "MEM_MIN_SIZE" you can use / to search in vi.
    10. Press i to enter insert mode in vim.
    11. Change `4 * 1024 - 32` to `2 * 1024 - 32`
    12. Press Esc to exit insert mode on vim.
    13. Type :wq to write the changes to disk and close vim.
    14. Copy the file back over the original: `cp temp.py upgrade_precheck.py`
    15. Locate the installer proccss ID: `ps -c | grep weasel`
    16. Kill the process using its ID: `kill PROCESSIDHERE`