grub-devel
[Top][All Lists]
Advanced

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

Re: Grub xen_pvh platform does not seem to support uncompressed kernels


From: Jürgen Groß
Subject: Re: Grub xen_pvh platform does not seem to support uncompressed kernels
Date: Mon, 2 Nov 2020 08:43:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

On 02.11.20 07:22, Andy Smith wrote:
Hi,

[ xen-users in CC as I know a few there are using a decompressed
   kernel workaround for LZ4 and might be hit by this too ]

I'm currently evaluating switching from booting Xen guests with grub
Xen PV (grub-mkimage -O x86_64-xen) to Xen PVH (grub-mkimage -O
i386-xen_pvh). I've noticed that a decompressed guest kernel refuses
to boot under PVH with the following error:

Loading Linux 5.4.0-52-generic ...
error: invalid magic number.

That same kernel boots with PV.

If I use the LZ4-compressed version of that kernel as supplied by
the distribution (Ubuntu 20.04), it works PVH. I therefore can only
conclude that PVH grub doesn't like kernels with no compression. Is
that expected?

Can you boot the decompressed kernel on bare metal or in an HVM
domain using grub?

I'm asking because PVH grub is using the standard i386 kernel loading
functions, so I wouldn't expect any differences here compared to bare
metal.

It might still be that PVH grub is missing some code due to wrong
configure parameters, of course.


Juergen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]