virtualization:vmware:7:old_hardware
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtualization:vmware:7:old_hardware [2023/10/02 07:35] – rplecko | virtualization:vmware:7:old_hardware [2023/10/02 08:09] (current) – rplecko | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| If you try to install ESXi 7 on an hardware with older CPU(s) that is no longer officially supported by VMware, you will get a error message similar to this when booting the installation medium: | If you try to install ESXi 7 on an hardware with older CPU(s) that is no longer officially supported by VMware, you will get a error message similar to this when booting the installation medium: | ||
| + | < | ||
| VMB: 611: | VMB: 611: | ||
| Unsupported CPU: Intel family 0x06, model 0x1a, stepping 0x5 | Unsupported CPU: Intel family 0x06, model 0x1a, stepping 0x5 | ||
| Intel(R) Xeon(R) CPU E5520 | Intel(R) Xeon(R) CPU E5520 | ||
| See http:// | See http:// | ||
| + | </ | ||
| Even if it is unsupported it might work in practice. | Even if it is unsupported it might work in practice. | ||
| To bypass this error in the boot, do as follows: | To bypass this error in the boot, do as follows: | ||
| - | | + | * Reboot into boot media again |
| - | After the ESXi boot menu when the “Loading ESXi Installer” is starting click SHIFT+O within 5 seconds to add boot options. | + | |
| - | Type “ allowLegacyCPU=true” behind the line. Like this: | + | |
| + | < | ||
| <ENTER: Apply options and boot> | <ENTER: Apply options and boot> | ||
| > cdromBoot runweasel allowLegacyCPU=true | > cdromBoot runweasel allowLegacyCPU=true | ||
| + | </ | ||
| - | | + | * Click ENTER and continue installation as normal. |
| - | Eventually you will come across error messages like this: | + | |
| + | < | ||
| Error(s)/ | Error(s)/ | ||
| Line 31: | Line 36: | ||
| ESXi 7.0.0. Please refer to the VMware Compatibility Guide (VCG) | ESXi 7.0.0. Please refer to the VMware Compatibility Guide (VCG) | ||
| for the list of supported CPUs.> | for the list of supported CPUs.> | ||
| + | </ | ||
| - | Click ENTER to continue, and finnish the installation. | + | * Unordered List ItemClick |
| - | After the installation medium is removed and the server is restarted the boot options have to be set every time you restart the server. | + | |
| - | This can be avoided, read on. | + | |
| + | This can be avoided, read on. | ||
| + | |||
| + | === Permanently allow boot from Legacy CPU === | ||
| - | Permanently allow boot from Legacy CPU | ||
| The easiest way to accomplish automatic boot with a legacy CPU is to do as follows: | The easiest way to accomplish automatic boot with a legacy CPU is to do as follows: | ||
| - | | + | * Shut down the ESXi Server and remove the boot-USB-drive. |
| - | Insert the drive in another computer. It will contain two FAT-partitions. | + | |
| - | Open the the drive with multiple files including BOOT.CFG, and open it in a text-editor. | + | |
| - | One of the partitions is just containing a BOOT.CFG file and nothing else. this is NOT the one you should edit. | + | |
| + | |||
| + | {{ : | ||
| The bottom drive in this picture is the correct one to edit BOOT.CFG on | The bottom drive in this picture is the correct one to edit BOOT.CFG on | ||
| - | | + | Add “ allowLegacyCPU=true” to the end of the line starting with “kernelopt=“ |
| + | < | ||
| bootstate=0 | bootstate=0 | ||
| title=Loading VMware ESXi | title=Loading VMware ESXi | ||
| Line 58: | Line 70: | ||
| build=7.0.0-1.25.16324942 | build=7.0.0-1.25.16324942 | ||
| updated=1 | updated=1 | ||
| + | </ | ||
| - | | + | * Save the file and move the drive back to the server |
| - | Start the server, ESXi should now boot up without the need of any manual boot option input. | + | |
| + | |||
| + | === Fixing “This host does not support virtualizing real mode” error === | ||
| - | Fixing “This host does not support virtualizing real mode” error | ||
| Now when VMware ESXi 7.0 is up and running and all looks good you still might run into problems, not unlikely this one (when trying to start a VM): | Now when VMware ESXi 7.0 is up and running and all looks good you still might run into problems, not unlikely this one (when trying to start a VM): | ||
| - | Failed to power on virtual machine Home-Assistant. This host does not support virtualizing real mode. The Intel "VMX Unrestricted Guest" feature is necessary to run this virtual machine on an Intel processor. Click here for more details. | + | < |
| + | Failed to power on virtual machine Home-Assistant. | ||
| + | This host does not support virtualizing real mode. | ||
| + | The Intel "VMX Unrestricted Guest" feature is necessary to run this virtual machine on an Intel processor. | ||
| + | Click here for more details. | ||
| + | </ | ||
| - | Power On VM | + | {{ : |
| + | |||
| + | * Power On VM | ||
| Key | Key | ||
| haTask-2-vim.VirtualMachine.powerOn-3629474806 | haTask-2-vim.VirtualMachine.powerOn-3629474806 | ||
| Line 86: | Line 107: | ||
| This issue has to be solved for every current and future VM, but the process is easy and fast when you know how. | This issue has to be solved for every current and future VM, but the process is easy and fast when you know how. | ||
| - | | + | * Click “Edit” on the VM |
| - | Select “VM Options” | + | |
| - | Open “Advanced” and select “Edit Configuration…” | + | |
| - | Click “Add parameter” and fill as follows: | + | |
| + | |||
| + | < | ||
| Key: monitor.allowLegacyCPU | Key: monitor.allowLegacyCPU | ||
| Value: true | Value: true | ||
| + | </ | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | * Click “OK” and “Save” | ||
| + | * The VM should now work, but be patient. It can take a very long time to boot. | ||
| + | |||
| + | {{ : | ||
| - | Click “OK” and “Save” | ||
| - | The VM should now work, but be patient. It can take a very long time to boot. | ||
| - | I hope this is to good use. Running unsupported is however not recommended, | ||
virtualization/vmware/7/old_hardware.1696232111.txt.gz · Last modified: 2023/10/02 07:35 by rplecko
