From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VjB23-0005PF-8p for mharc-grub-devel@gnu.org; Wed, 20 Nov 2013 11:53:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjB1w-0005P2-8j for grub-devel@gnu.org; Wed, 20 Nov 2013 11:53:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjB1q-0003Yg-EB for grub-devel@gnu.org; Wed, 20 Nov 2013 11:53:32 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:58290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjB1q-0003Ya-50 for grub-devel@gnu.org; Wed, 20 Nov 2013 11:53:26 -0500 Received: from [10.0.0.100] (p4FC27258.dip0.t-ipconnect.de [79.194.114.88]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0M1kaM-1VPiTG1oGg-00u05Z; Wed, 20 Nov 2013 17:53:24 +0100 Message-ID: <528CE903.5010608@hgsys.de> Date: Wed, 20 Nov 2013 17:53:23 +0100 From: Holger Goetz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Thunderbird/26.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Booting to local disk from UEFI_PXE booted grub References: <5289D0C5.9080108@hgsys.de> <528CDAE2.1060305@gmail.com> <528CDC3B.7020309@hgsys.de> <528CDD4D.9050501@gmail.com> In-Reply-To: <528CDD4D.9050501@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:FKlmRqlesoKkRNxiVnn6tAZaiz0zsB6x6TSXC3r+k+w TLHIL2D2+uwA6JMEputCdXTcRTMZ6Yx9KTZrTO53A5a5BJhNtA FjwlzK5zBDx1T8k7+wAKv/sJxKXdooWrsk7EhfjuO2kLbvEf0d 3+YxT3CfTcI8lhZRrwdGVb0MEoQbQSOGZRx84Xg1zM/V/mHN6y vLeCY0NGGnbKozvCsrEyfmnaIupZruEMHxsjZ6VBY547oHrcYs J7djExu/oiN1vXMjTVYN+xni9nDRZduV9memvjTItRZwMLBWqc oKGzVGIDtiKhVCo3cjS0WHRc1Gj1k1si43Vxls8tiRvF8Ko7A= = X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.187 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 16:53:38 -0000 On 20.11.2013 17:03, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 20.11.2013 16:58, Holger Goetz wrote: >> On 20.11.2013 16:53, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> On 18.11.2013 09:33, Holger Goetz wrote: >>>> Hi all, >>>> >>>> I'm looking for the equivalent of "Local boot / boot from HD" for BIOS >>>> mode when running in grub stared in UEFI-PXE. >>>> >>>> With (U)EFI it's no longer easy to say, "boot from HD" as there could be >>>> multiple bootloaders present on the EFI System Partition (ESP). >>>> Basically only the UEFI boot system knows which one to boot from the >>>> "Bootorder" or "Bootnext" EFI Variable(s). >>>> Any approach ? Or is there a way to access these EFI variables from the >>>> grub config file? >>>> >>> I would just show menu entries for every available /EFI/*/*.EFI. This >>> woud add more flexibility. >> Hi Vladimir, >> >> Is there easy way of doing this? >> That was one idea in mind which could be done based on the info from the >> (U)EFI EVs to be displayed. Or it means to (1) search for the files and >> (2) dynamically puzzle together a (sub) menu i guess. >> > Have a look at autoiso.cfg and osdetect.cfg for how to find files. Yes - thanks. Checked that - it could be a way. The drawback is that it basically bypasses the (U)EFI bootsystem w/ the bootorder and the labels stored w/ each bootloader entry. By retrieving the (U)EFI EVs (1) the proper sequence and (2) the proper labeling could be represented in the menu entries as well. eg. in the default path you could find /efi//boot/bootx64.efi which could be a microsoft windows boot loader OR a renamed grub.efi ... clearer when it's a non default path like /efi/SuSE/elilo.efi or /efi/redhat/grub.efi. But you still would guess on the OS name SLES11sp3 or sp5? Having the info from the (U)EFI EVs this would be clear. Thanks, Holger >> Thanks, >> Holger >> > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel