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 <[email protected]> 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
>>> [email protected] <javascript:;>
>>> https://lists.gnu.org/mailman/listinfo/help-grub
>>>
>>
>>
> 


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

Reply via email to