> > you can use search to set root using UUID as a hint.
>
> e.g.
>
> search --fs-uuid 94C3-29F3 --set
> search --file /efi/xen/xen.efi --set
> Use grub-mkrelpath to get name as grub sees it.
On my server
grub2-mkrelpath /boot/efi/EFI/XEN/xen.efi
/EFI/XEN/xen.efi
so would that be
search --file /EFI/XEN/xen.efi --set
consistent with what grub2-mkrelpath reports, or
search --file /efi/xen/xen.efi --set
consistent with that autocomplete returns at grub2 prompt, noting that is does
NOT find/autocomplete the uppercased path
?
LT
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub