Maximilian Engelhardt
2025-Jan-09 23:02 UTC
[Pkg-xen-devel] Bug#1092495: linux-image-amd64: xz compression incompatible with Xen/pygrub
On Donnerstag, 9. Januar 2025 22:59:40 CET Richard wrote:> Hi, > the host is on stable, so unless this fix lands in backports I won't be > installing it any time soon. And I'm using PV-HVM with pygrub afaik - it's > the standard Kernel, but lsmod does show two xen modules - not pvgrub or > something else. And I'll have to see if and how I could switch to pvgrub.Hi Richard, please keep 1092495 at bugs.debian.org in CC for relevant bug information. Pygrub runs on the dom0 and tries to extract the kernel image from the vm disk image and then starts the vm with that kernel. Pvgrub is a grub-ish binary that is provided by the dom0, but runs inside the vm and then behaves similar to a normal grub and in the end loads the kernel and initrd image from inside the vm and boots that kernel. What you need for pvgrub: * Inside the vm install the 'grub-xen' package * On the dom0 install the 'grub-xen-host' package * For PVH (32-bit and 64-bit) set in your vm.cfg: type = 'pvh' kernel = '/usr/lib/grub-xen/grub-i386-xen_pvh.bin' * For PV (64-bit) you would need that in your vm.cfg: type = 'pv' kernel = '/usr/lib/grub-xen/grub-x86_64-xen.bin' * And for PV (32-bit): type = 'pv' kernel = '/usr/lib/grub-xen/grub-i386-xen.bin' -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part. URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20250110/d1d437bd/attachment-0001.sig>