The default ESP partition on some systems is limited in
space and storing a number of kernel and initrd images
can fill it up quickly.
    
It's not always practical to increase the size of the
existing ESP, so the Boot Loader Spec defines a new Extended
Boot Loader Partition (XBOOTLDR) with GPT type GUID of
bc13c2ff-59e6-4262-a352-b275fd6f7172 to be searched for BLS
enties and UKIs in addition to the ESP.

Currently searching for this partition is based on the $root
variable, but the spec requires for this partition to be on the same
device as the ESP. In many cases that would be the case for $root, but
there may be exceptions. After looking into it a bit I'm thinking it may be
better in this case to select the device to search based on $cmdpath instead
Please let me know your oppinion on this.
    
More datails can be found at  
https://uapi-group.org/specifications/specs/boot_loader_specification/

Radoslav Kolev (2):
  blsuki: scan XBOOTLDR partition for BLS/UKIs if it exists
  blsuki: search default location on XBOOTLDR partition, even if entries
    found on ESP

 grub-core/commands/blsuki.c  | 95 ++++++++++++++++++++++++++++++++----
 include/grub/gpt_partition.h |  7 +++
 2 files changed, 93 insertions(+), 9 deletions(-)

-- 
2.51.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to