Here is an alternative workaround you can try if switching to legacy BIOS mode doesn't work for you. It's not easy, but I tried to make the instructions detailed. If anyone tries this, please let...
See more...
Here is an alternative workaround you can try if switching to legacy BIOS mode doesn't work for you. It's not easy, but I tried to make the instructions detailed. If anyone tries this, please let me know how it went and if there is anything I can clarify further in the instructions. First, a note on rollback: Any time you install or upgrade ESXi and the first attempted boot into the new installation fails, that installation is effectively marked as invalid and you do not get the chance to try to boot it again. ESXi recovery automatically rolls back to the previous installation, if any. So if you would like to apply a workaround to get 6.7u3 to boot (not just to go back to 6.7u2), be sure to apply it prior to the first boot into the new installation. If possible, install in legacy BIOS mode and switch to UEFI mode only after applying the workaround. Workaround option 1: Switching the firmware boot mode from UEFI to legacy BIOS will allow most affected machines to boot. On some machines, the option to boot in legacy BIOS mode may be called CSM. Workaround option 2: Some machines may not have the option to boot in legacy BIOS mode. On such a machine, you can manually copy the 6.7u2 bootloader into the system partition to replace the 6.7u3 bootloader. 1) Get a copy of the 6.7u2 bootloader. On an ESXi installer ISO image, the bootloader is located at /efi/boot/bootx64.efi of the ISO9660 filesystem. Copy this file to a USB drive. Rename it to mboot64.efi. Plug the USB drive into the affected machine. (Note: do not use the EFI shell to copy \EFI\BOOT\BOOTx64.EFI directly from a CD or ISO image. That would give you the wrong file, taken from the El Torito boot image instead of the ISO9660 filesystem.) 2) Boot the affected machine into the EFI shell (not into ESXi). If your machine does not offer the EFI shell as a built-in boot option, try http://refit.sourceforge.net/ for a downloadable boot manager that includes an EFI shell. 3) Find the filesystem names that EFI has assigned to the system partition on the boot disk and the USB drive containing your 6.7u2 bootloader. You can do that by requesting directory listings of each filesystem with the EFI "dir" command, working upward from fs0:, until you find the ones with the expected contents. In the example below, fs0: is the system partition and fs5: is the USB drive. Shell> dir fs0: Directory of: fs0:\ 08/05/19 02:38a <DIR> 512 EFI 08/05/19 02:38a 30 syslinux.cfg 08/05/19 02:38a 61,288 safeboot.c32 08/05/19 02:38a 93,672 mboot.c32 3 File(s) 154,990 bytes 1 Dir(s) Shell> dir fs0:\efi Directory of: fs0:\EFI 08/05/19 02:38a <DIR> 512 . 08/05/19 02:38a <DIR> 0 .. 08/05/19 02:38a <DIR> 512 BOOT 08/05/19 02:38a <DIR> 512 VMware 0 File(s) 0 bytes 4 Dir(s) Shell> dir fs0:\efi\vmware Directory of: fs0:\ 08/05/19 02:38a <DIR> 512 . 08/05/19 02:38a <DIR> 512 .. 08/05/19 02:38a 172,224 mboot64.efi 08/05/19 02:38a 94,432 safebt64.efi 2 File(s) 266,656 bytes 2 Dir(s) Shell> dir fs5:\ Directory of: fs5:\ 03/26/19 01:52p 171,400 mboot64.efi 1 File(s) 171,400 bytes 0 Dir(s) 4) Copy your 6.7u2 mboot64.efi file onto the system partition, replacing the one that's already there. Continuing the example above: Shell> copy fs5:\mboot64.efi fs0:\efi\vmware\mboot64.efi Overwrite fs0:\EFI\VMware\mboot64.efi? (Yes/No/All/Cancel):y copying fs5:\mboot64.efi -> fs0:\EFI\VMware\mboot64.efi - [ok]