|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] usage questions for GRUB2 chainloader workaround when booting Xen 4.5 on UEFI
> Would this GRUB2 menuentry work?
>
> menuentry 'Xen EFI' {
> insmod part_gpt
> insmod search_fs_uuid
> insmod chain
> search --no-floppy --fs-uuid 94C3-29F3
> chainloader /EFI/XEN/xen.efi
> }
A bit more info. The stanza above did not work. Boot aborts with 'disk not
found'.
Attempting to exactly specify the drive, where
mount | grep boot
/dev/md0 on /boot type ext4
(rw,noatime,journal_checksum,data=ordered)
/dev/sdg2 on /boot/efi type vfat
(rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
blkid /dev/md0
/dev/md0: UUID="4d85d86e-72c3-996d-1284-8e374646886c"
TYPE="ext4"
mdadm -Es | grep md/0
ARRAY /dev/md/0 metadata=1.0
UUID=b74544cc:8454cc33:6d44b6c5:86c58355 name=xen01:0
ls -al /dev/disk/by-id/md-uuid-b74544cc:8454cc33:6d44b6c5:86c58355
lrwxrwxrwx 1 root root 9 Mar 27 21:44
/dev/disk/by-id/md-uuid-b74544cc:8454cc33:6d44b6c5:86c58355 -> ../../md0
and blindly cribbing parts from the default grub nonn-xen menuentry, which
boots fine, I also tried
menuentry 'Xen EFI' {
insmod part_gpt gpt
insmod diskfilter mdraid1x
insmod ext2
insmod search_fs_uuid
insmod chain
set root='mduuid/b74544cc8454cc336d44b6c586c58355'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint='mduuid/b74544cc8454cc336d44b6c586c58355' 94C3-29F3
else
search --no-floppy --fs-uuid --set=root 94C3-29F3
fi
search --no-floppy --fs-uuid 94C3-29F3
chainloader /EFI/XEN/xen.efi
}
The boot still fails. Disk not found.
LT
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |