环境
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
问题
Installation of UEFI system using PXE boot with grub2 bootloader grubx64.efi
fails with error File not found
.
error: ../../grub-core/net/tftp.c:281:File not found.
error: ../../grub-core/loader/i386/efi/linux.c:93:you need to load the kernel first.
Press any key to continue..._
决议
This error indicates that the grub bootloader was able to load the grub configuration file but it has not found either the kernel or the initramfs files paths which are defined in it.
Verify the tree of the tftp home directory which is usually /var/lib/tftpboot