Open sygibson opened 1 year ago
Hi @sygibson ,
Boot loader binaries are packaged inside /boot/grub2/efiboot.img in iso [1] . efiboot.img is a boot image file , there is a "El Torito" boot data which tells the UEFI loader where this efiboot.img is located [2].
root@photon-b88997fc2c38 [ ~ ]# mount /mnt/iso/boot/grub2/efiboot.img /mnt/efi/
root@photon-b88997fc2c38 [ ~ ]# ls /mnt/efi/
EFI
root@photon-b88997fc2c38 [ ~ ]# ls /mnt/efi/EFI/BOOT/
bootx64.efi grubx64.efi
For chroot creation, these boot loader binaries comes from "grub2-efi-image" package [3] during installation process.
As per my knowledge, we verified PXE boot during 5.0 GA testing phase. @prashant1221, can confirm the steps with which we validated PXE boot.
[1] : https://github.com/vmware/photon/blob/5.0/support/image-builder/iso/mk-install-iso.sh#L100-L109 [2] : https://github.com/vmware/photon/blob/5.0/support/image-builder/iso/mk-install-iso.sh#L304 [3] : https://github.com/vmware/photon/blob/5.0/SPECS/grub2/grub2.spec#L199
Thanks.
Describe the bug
Network installing via Kickstart of Photon 5 dde71ec57 (Full, Minimal, or RT) all appear to be missing UEFI boot loaders to boot successfully on UEFI based systems.
Unable to successfully boot a Photon 5 system via the network to perform kickstart install.
Reproduction steps
Expected behavior
For amd64/x86_64 - expect EFI boot loader:
EFI/BOOT/bootx64.efi
For arm64/aarch64 - expect EFI boot loader:
EFI/BOOT/bootaa64.efi
Additional context
Network install from DHCP/PXE server. Environment successfully builds about 50 other Linux distros/versions via Legacy BIOS and UEFI boot (both secure boot, and non-secure boot) currently without issues. Only the Photon Linux ISOs seem to be missing the UEFI boot loaders.