В Mon, 30 Mar 2015 10:38:08 -0600
Ben Hildred <[email protected]> пишет:

> >
> >         menuentry 'Xen' {
> >                 insmod part_gpt gpt
> >                 insmod diskfilter mdraid1x
> >                 insmod ext2
> >                 insmod search_fs_uuid
> >                 insmod chain
> >                 set root=(hd6,gpt2)
> >                 chainloader /EFI/XEN/xen.efi
> >         }
> >
> > be edited so the lines
> >
> >         set root=
> >         chainloader
> >
> > correctly
> >
> >         -- use a 'fixed', drive-specific UUID
> >
> 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

both will set root to the (first) device where FS UUID/file were found.

> 
> >         -- use the right case for grub2 chainloading
> >

Use grub-mkrelpath to get name as grub sees it.

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

Reply via email to