Subject: Xen pygrub boot problems

From: HL <[email-masked]>
Date: Mon, 4 May 2020 23:43:41 +0300

Hello!!!

Can't figure out what is going on

Alpine linux 3.11

5.4.34-0-lts xen

domU host on  lvm  = /dev/mapper/vg0-test

created the domU image  ( debian stretch install )

No problems on install

test.cfg

#--------------------------------------------
bootloader = 'pygrub'
disk = [
        'phy:/dev/mapper/vg0-test,xvda,rw'
        ]
acpi=1
vif = ['bridge=xenbr0,  mac=00:16:3e:6a:f0:d5' ]
memory = 2048
name = "test"
vcpus = 2
maxvcpus = 2
#--------------------------------------------

xl create text.cfg

libxl: error: libxl_bootloader.c:648:bootloader_finished: Domain 13:bootloader failed - consult logfile /var/log/xen/bootloader.13.log
libxl: error: libxl_exec.c:117:libxl_report_child_exitstatus: bootloader [5622] exited with error status 1
libxl: error: libxl_create.c:1420:domcreate_rebuild_done: Domain 13:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1177:libxl__destroy_domid: Domain 13:Non-existant domain
libxl: error: libxl_domain.c:1131:domain_destroy_callback: Domain 13:Unable to destroy guest
libxl: error: libxl_domain.c:1058:domain_destroy_cb: Domain 13:Destruction of domain failed

cat /var/log/xen/bootloader.13.log
Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /boot/grub/grub.cfg
Traceback (most recent call last):
   File "/usr/lib/xen/bin/pygrub", line 931, in <module>
     raise RuntimeError("Unable to find partition containing kernel")
RuntimeError: Unable to find partition containing kernel

----------------------------------------------------------------------------------

No problems on alpine 3.10 same config !

No problems on alpine 3.9 same config!

Anybody with a hint ?