All of lore.kernel.org
 help / color / mirror / Atom feed
From: Holger Goetz <holgerg@hgsys.de>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Booting to local disk from UEFI_PXE booted grub
Date: Wed, 20 Nov 2013 17:53:23 +0100	[thread overview]
Message-ID: <528CE903.5010608@hgsys.de> (raw)
In-Reply-To: <528CDD4D.9050501@gmail.com>


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



      reply	other threads:[~2013-11-20 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18  8:33 Booting to local disk from UEFI_PXE booted grub Holger Goetz
2013-11-20 15:18 ` Andrey Borzenkov
2013-11-20 15:33   ` Holger Goetz
2013-11-20 15:53 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-20 15:58   ` Holger Goetz
2013-11-20 16:03     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-20 16:53       ` Holger Goetz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528CE903.5010608@hgsys.de \
    --to=holgerg@hgsys.de \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.