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

Re: [Xen-users] status of guest/DomU UEFI + Grub support in Xen 4.6.1?

On 02/23/2016 07:34 AM, Roger Pau Monné wrote:
> Those are not partitions, those are actual disks. Have you tried to make
> xvda the disk that contains the UEFI partition, so that OVMF can find it?
> It's just a wild guess, since I've never used OVMF myself.

I swtiched to

 disk = [ 'phy:/dev/VG0/tEFI,xvda,w',

where via parted

 select /dev/xvda
 mklabel gpt
 mkpart ESP fat32 1MiB 100%
 set 1 boot on

as well as systemd-boot as bootloader.  It seems far less bloated/opaque than 
Grub for DomU use.

Repeating the install process, logged into the being-installed-Guest's chroot,

 cat /boot/efi/loader/loader.conf
  default  arch
  timeout  4
  editor   0

 cat << EOF > /boot/efi/loader/entries/arch.conf
  title          Arch
  linux          /vmlinuz-linux
  initrd         /initramfs-linux.img
  options        root=LABEL=ROOT resume=LABEL=SWAP rw

 mkinitcpio -p linux
        ==> Image generation successful
 bootctl --path=/boot/efi install
        Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to 
        Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to 
        Not booted with EFI, skipping EFI variable setup.

then stop/start the DomU

 xl create ./arch.cfg
        Parsing config from ./arch.cfg
        got a tsc mode string: "default"
 xl list
        Name                                        ID   Mem VCPUs      State   
        Domain-0                                     0  4096     1     r-----   
        arch                                        70  2048     1     -b----   

but, as before, same iPXE-boot cruft ...

>> Is is at all functional? supported? recommended?
> Adding Wei and Anthony who have worked with OVMF and Xen.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.