iPXE discussion forum
Loading efi file via grub - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Loading efi file via grub (/showthread.php?tid=14931)



Loading efi file via grub - ChrisLucas29 - 2018-10-29 10:45

Hello,

I'm trying to run an efi file made like this in grub :
Code:
make bin-x86_64-efi/ncm--ecm.efi
But I'm getting an error
Code:
initrd /boot/ncm--ecm.efi
error: you need to load the kernel first



RE: Loading efi file via grub - NiKiZe - 2018-10-29 19:06

(2018-10-29 10:45)ChrisLucas29 Wrote:  But I'm getting an error
Code:
initrd /boot/ncm--ecm.efi
error: you need to load the kernel first

That is in grub correct? Have you checked the grub documentation?
Based on other reports it seems that grub is broken in it's ability to chain other efi executables. (even if you where to fix the initrd issue) do remember that iPXE is a bootloader, so it should be loaded as a program.