[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [ipxe-devel] EFI_PXE_BASE_CODE_PROTOCOL
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [ipxe-devel] EFI_PXE_BASE_CODE_PROTOCOL |
Date: |
Thu, 10 Sep 2015 17:20:26 +0200 |
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