Hi,

I ran into this bug on bookworm and was able to fix an existing machine by booting the old kernel and then converting it to pvgrub.

But... I am unable to create new pvgrub compatible DomU's now because xen-create-image does not support pvgrub.

I attempted to work around this by adding a xen-create-image role script that installs grub-xen, but it will not install properly inside the chroot environment of xen-create-image.    It complains with an error message like  "grub-install: error: failed to get canonical path of `/dev/mapper/vg--ssd-test0115--root'"

All this left me with an incomplete grub config after xen-create-image was finished, so pvgrub will not boot it.

Currently xen-create-image installs 6.1.0-29 kernel (because it's not looking at bookworm-updates by default) so this problem is recoverable; boot in pygrub and then run "update-grub" to install grub-xen properly.  After which it's safe to update to 6.1.0-30 in the DomU.

But as soon as a kernel >= 6.1.0-30 is installed by default (ie from debian-security) then it will be impossible to boot or recover the new DomU.

Is there any possibility of an updated Xen 4.17 package with the fix, or will we have to wait for other fixes as well?

D.

Reply via email to