Hi
I don't know about ubuntu, but it seems that the installed GUEST (Ubuntu) does not have UEFI configure in it.
When installing the guest OS, you must assure yourself that the OS is proprerly installed in UEFI mode: you must have grub-efi installed on the VM and you must have a FAT12 partition (also kwnown as EFI partition) that contains an UEFI launcher like grub64.efi or the MS signed one shimx64.efi.
This EFI partition must not be encrypted and must be browsable by the most basic storage client your EFI BIOS (Basic Input Output System) provide, because in case of multi boot in a multi OS installed configuration, only 1 EFI partition is enough for all OS installed on the machine and every OS will update this EFI partition accordingly to it's requirements to make the system boot.
To boot a Linux using GRUB bootloader, you must also have a grub.cfg file on the partition, and it's content is refering to the root partition containing /boot and inside the launching kernel image
We are now in 2023 and EFI on production server is now more than 15 years of use, so you must never chose "legacy or bios install" under your linux installer, except if your hardware does not support UEFI (or if you explicitely want to use very outdated and buggy code which is really not recommanded)
To boot your machine, did you try to enter in the EFI shell the following command :
fs2:
It will attempt to boot (or to load) your BLK2 install
Here is an example on my Dell XPS15 laptop, (only have a single drive so for me it's "fs0:" ) (ls command let you list , cd command let you change directory)
Code: Select all
Shell>FS0:
FS0:\> ls
Directory of: FS0:\
28/02/2023 10:43 <DIR> 4,096 EFI
1 Dir(s)
FS0:\> cd EFI
FS0:\EFI\>ls
Directory of: FS0:\EFI\
28/02/2023 10:43 <DIR> 4,096 debian
21/01/2023 07:12 <DIR> 4,096 Dell
FS0:\EFI\>cd debian
FS0:\EFI\debian\> grub64.efi
Here launching "grub64.efi "makes my laptop boot
As already said, for further help or assistance you will have to provide logs, etc...
And I recommand you type in google.com search engine :
" how to boot my system from its efi shell "
You will find a lot more than I told, and the way to recreate from the UEFI shell the UEFI boot entry in the UEFI BIOS for permanent fix of your issue.
Kind regards
nbanba