EFI boot fails - need to load kernel first

Problem:
Ubuntu 22.04 host deployment fails with you need to load the kernel first and no such device before giving up. Partition with known EFI file not found.

Expected outcome:
Successful boot of OS after deployment.

Foreman and Proxy versions:
Foreman 3.10.0

Distribution and version:
CentOS Stream 8

Other relevant data:

I seem to have made a little progress with this. If I boot into EFI setup, mode I see that the third option in the list is ubuntu and the second is the HD.

Manually selecting ubuntu immediately boots into the newly installed OS. So now I need to figure out why Subiquity fails to set the correct EFI boot option as the default.

The host is created on vSphere (7). If I set it to Force EFI setup, it boots to this screen:

image

Selecting ubuntu or EFI Virtual disk (0.0) here, boots the host into Ubuntu 22.04 successfully, but the EFI Network boot fails miserably (see first original post).

image

image

image

Solution found, turns out to be a ‘bug’ between vSphere v7 and grub2: Unable to boot EFI Configured hosts post provisioning - #5 by stephenc

1 Like