We’re trying to provision a DL380G9 with a UEFI PXE Boot.
When creating a new machine for provisionning, grub.cfg is not loaded as expected.
The file grub.cfg-1- is correctly generated.
After a quick debug with tcpdump and debug log, I observed the firmware is trying to load a grub.cfg-- (note the trailing dash) file which is effectively not found.
Adding a trailing dash at the end of file fixes the problem.
boot loader is grub2/grubx64.efi from foreman-bootloaders.
I wonder if I didn’t do a mistake in the tftp setup. Where does this trailing dash come from ?
Thanks for the information.
I took the grubx64.efi from the version available in the foreman-bootloaders-redhat rpm package availble from the foreman yum repository.
I thought those provided were the prefered version to work with.
The package have to be updated with good known working version.
We stopped using this since in RHEL 7.4 grub2 is now shipped in noarch packages for all supported architectures. Just update the OS on smart-proxy, delete the EFI file and re-run the installer to regenerate it via grub-mknetdir.
I have updated the README to reflect this as I don’t plan keep extracting the bootloaders in the future. If anyone can takeover, that’d be appreciated because getting those might be tricky.