help-grub
[Top][All Lists]
Advanced

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

Re: can I configure grubx64.efi to look in the same directory as itself,


From: Andrei Borzenkov
Subject: Re: can I configure grubx64.efi to look in the same directory as itself, or must it have an explicit prefix & root?
Date: Tue, 11 Oct 2016 06:47:03 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

11.10.2016 06:45, Avi Deitcher пишет:
> Thanks Andrei. grub-mkimage complains if I do not pass it --prefix. Am I
> misunderstanding it? Or is there some value for --prefix that means "no
> prefix"?
> 

Ah, right, just use empty prefix (--prefix="").

> On Tuesday, October 11, 2016, Andrei Borzenkov <address@hidden> wrote:
> 
>> 10.10.2016 21:45, Avi Deitcher пишет:
>>> I am doing a manual EFI build with grub-mkimage. If I change the drives,
>> or
>>> uuid or labels on my /boot partition, normally I would rerun grub-mkimage
>>> and change the --prefix or --config setting to include an updated
>>> search.fs_uuid or search.fs_label
>>>
>>> Is it possible to build the image such that I will not have to rerun
>>> grub-mkimage? Can I include those in a stub grub.cfg colocated in the
>> same
>>> partition and directory as grubx64.efi, and tell it to look next to it
>> for
>>> the grub.cfg, so that a change in drives/partitions/labels/uuids means
>>> updating just the text grub.cfg and the image will continue to wor?
>>>
>>
>>
>> Yes. On EFI prefix defaults to directory where image was loaded from.
>> Just do not explicitly set any prefix in image.
>>
>>> It might be easier to change my stub grub.cfg, rerun grub-mkimage
>>> --config=updated/grub.cfg and reinstall, but I would like to know if it
>> is
>>> an option?
>>>
>>> Thanks
>>> Avi
>>> _______________________________________________
>>> Help-grub mailing list
>>> address@hidden <javascript:;>
>>> https://lists.gnu.org/mailman/listinfo/help-grub
>>>
>>
>>
> 




reply via email to

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