help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How searching for EFI-directory with custom-bootloader grubx64.efi?


From: Pascal Hambourg
Subject: Re: How searching for EFI-directory with custom-bootloader grubx64.efi?
Date: Sun, 3 May 2020 10:18:30 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Le 03/05/2020 à 09:38, Dernsen a écrit :

The grubx64.efi is signed, so you can not edit it after signing and so
it is a custom bootimage, this should work for installing on any
amd64-efi system. So I set within grubx64.efi:

set root='hd0,gpt1'

set prefix=($root)'/EFI/linux'

configfile $prefix/grub.cfg

Usually EFI-directory is 'hd0,gpt1',

No it's not. The EFI partition may have any number, and the boot disk many not be hd0.

How could grub search specificly for the EFI-directory , which has to be
on every EFI-system?

What about $cmdpath ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]