google cloud platform – What could be preventing my custom UEFI image from booting on GCP?
I’ve created a raw image with mkosi and compressed it according to the documentation
When I use the image the resulting VM is not booting at all. According to the output the correct (UEFI) bootloader is chosen but it is not booting my image and does not throw a error message.
Serial port 1 (console) output for instance-1
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HCSM BBS Table full.
BdsDxe: loading Boot0001 "UEFI Google PersistentDisk " from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0)
BdsDxe: starting Boot0001 "UEFI Google PersistentDisk " from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0)
UEFI: Attempting to start image.
Description: UEFI Google PersistentDisk
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0)
OptionNumber: 1.
I’ve created the image with the following ‘features’ “GVNIC”, “SEV_CAPABLE”, “VIRTIO_SCSI_MULTIQUEUE”, “UEFI_COMPATIBLE”
I booted the image locally without any problems and also mounted the image in another VM to inspect that all files are there.
Read more here: Source link