'Import custom VM image, can it really be true only MBR bootloader is supported?

Was reading the "Manually importing boot disks" Google Cloud documentation and it says only MBR bootloader is supported.

enter image description here

I only use GPT and EFI loaders in my environment, this is 2022!



Solution 1:[1]

You can import UEFI images as described in this document.
List of supported systems can be found here.
When creating an image, add the --guest-os-features=UEFI_COMPATIBLE flag as listed here.

To check if an instance supports UEFI, you can run following command:

gcloud compute instances describe INSTANCE_NAME --zone=ZONE | grep type

If the results includes type: UEFI_COMPATIBLE then it can run from UEFI images.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sergiusz