[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: |
Avi Deitcher |
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:45:05 +0300 |
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"?
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
> >
>
>
--
Avi Deitcher
address@hidden
Follow me http://twitter.com/avideitcher
Read me http://blog.atomicinc.com