refs #2218 checks if a label exists to assign root when appropriate
ogboot/pipeline/head This commit looks good Details

pull/15/head
Luis Gerardo Romero Garcia 2025-06-24 11:07:32 +02:00
parent 91fd39a9a5
commit 760a57024b
1 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
search --file --set root /EFI/Part-__DISK__-__PART__/Boot/ogloader.efi
chainloader /EFI/Part-__DISK__-__PART__/Boot/ogloader.efi
if ! search --file --set root /Part-__DISK__-__PART__; then
search --file --set root /EFI/Part-__DISK__-__PART__/Boot/ogloader.efi
fi
chainloader (hd0,gpt1)/EFI/Part-__DISK__-__PART__/Boot/ogloader.efi
boot