[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:02:11 +0300 |
В Mon, 30 Mar 2015 10:38:08 -0600
Ben Hildred <address@hidden> пишет:
> >
> > 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.