[ipxe-devel] EFI_PXE_BASE_CODE_PROTOCOL

Gerd Hoffmann kraxel at redhat.com
Thu Sep 10 15:20:26 UTC 2015


  Hi,

> > The file is simply placed as "grub.cfg" in tftproot, next to grubx64.efi
> 
> Thanks.  From my experiments, it seems that GRUB is using the hardcoded 
> path /efi/boot/grub.cfg to locate the configuration file, regardless of 
> where grub.efi was loaded from.

Hmm, probably depends on how you are building it.  There are also tools
like grub2-mknetdir and grub2-mkstandalone.  Pretty confusing :(

I'm using the binary shipped with RHEL.  The centos one should show the
same behavior.

https://ftp.fau.de/centos/7.1.1503/os/x86_64/EFI/BOOT/

There is a pretty readable grub.cfg file too btw.

Given there are no grub2 modules anywhere I suspect that binary was
created with grub2-mkstandalone.

HTH,
  Gerd





More information about the ipxe-devel mailing list