В Mon, 30 Mar 2015 10:11:10 -0700 [email protected] пишет: > > > 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
It would be search --fs-uuid 94C3-29F3 --set :) I'm serious. It avoids all issues with case-insensitive/case-preserving filesystem and grub should still open file using both names. _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
