Problem:
I’m trying to pxe boot some Dell servers with UEFI boot mode and can’t seem to get it to work. I can do BIOS boot with on these servers with PXE Loader: PXELinux and set the DHCP server bootp file to pxelinux.0 and that works fine.
But… when I switch to use the PXE Loader: Grub2 UEFI, on the dhcp server set the boot file to grub2/grubx64.efi, the server starts to boot, and then it tries to reach out to get the ubuntu.iso from the foreman server, and then it gives the error “network unreachable”.
What are the steps needed to get foreman to provision Ubuntu 22.04 on a UEFI enabled server. I can’t seem to find any documentation on this. For some reason I think I need to use Grub2 UEFI setting as that is what seems to be what people say to use for UEFI?
Expected outcome:
Provision Dell server when in UEFI boot mode.
Can you elaborate your BIOS boot setup a bit further:
I am not really familiar with DHCP bootp configurations. But, AFAIK it is a mechanism for your host (the DELL server) to find a DHCP server in your network which provides the host with the necessary boot files (initrd/kernel). In this setup, does the Foreman still act as such DHCP server? Then, your deployment should not really differ from an “normal” Ubuntu deployment, right?
You write that your PXELinux/BIOS deployment works fine - did you also deploy Ubuntu 22.04 with PXELinux/BIOS or just older verions? In case you deploy 22.04 successfully already, do you also see your host (DELL server) trying to download the image from your Foreman?
Last but not least: What templates are you using?
Is it the following for your UEFI deployment? Link