help-grub
[Top][All Lists]
Advanced

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

Re: correct grub2 menuentry stanza for chainloading xen.efi?


From: Andrei Borzenkov
Subject: Re: correct grub2 menuentry stanza for chainloading xen.efi?
Date: Mon, 30 Mar 2015 20:30:23 +0300

В Mon, 30 Mar 2015 10:11:10 -0700
address@hidden пишет:

> > > 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.



reply via email to

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