Kernel panic error while deploying Linux images on VM with UEFI firmware

Problem description

When you try to deploy a Linux image on some VMware Virtual Machine versions with UEFI firmware, you might get kernel panic error and the deployment stops. This issue occurs for both setup and capture images deployments.

Solution/workaround

Ensure that the corresponding Linux OS resource has the grubx64.efi or grub.efi flag as shown in the following figure. If not, you can re-import the Linux OS resource. Otherwise, for all supported Linux operating systems, you can also use the grub2 loader by following the instructions in Use grub2 bootloader for Linux deployment on UEFI targets.