From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za3RQ-0004Oc-Sk for qemu-devel@nongnu.org; Thu, 10 Sep 2015 11:07:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Za3RL-0003d3-AX for qemu-devel@nongnu.org; Thu, 10 Sep 2015 11:07:12 -0400 Received: from duck.fensystems.co.uk ([2001:ba8:0:1d4::6950:5845]:34917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za3RL-0003c8-4Z for qemu-devel@nongnu.org; Thu, 10 Sep 2015 11:07:07 -0400 Message-ID: <55F19C96.50709@ipxe.org> Date: Thu, 10 Sep 2015 16:07:02 +0100 From: Michael Brown MIME-Version: 1.0 References: <1441620856.27149.11.camel@redhat.com> <55ED98EA.4060101@ipxe.org> <1441637892.27149.34.camel@redhat.com> In-Reply-To: <1441637892.27149.34.camel@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [ipxe-devel] EFI_PXE_BASE_CODE_PROTOCOL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: ipxe-devel , qemu-devel On 07/09/15 15:58, Gerd Hoffmann wrote: > This is generated by a script which does also copy the kernels to the > tftproot, there are more simliar entries for more RHEL versions but this > should be enough to get the idea ... > > First entry actually works. Second does not, but I'm hoping some day it > does. Probably depends on how grub actually tries to fetches the files, > i.e. whenever the full http url is passed on to ipxe somehow so it can > do its magic. > > 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. I can't immediately see where in the GRUB source this path gets derived. Michael