Bug#972122: cloud kernel 5.5.0-2 does not boot from grub-xen

Aleksi Suhonen debian-reportbug-2021 at ssd.axu.tm
Wed Mar 3 12:46:11 GMT 2021


Hello,

On 07/02/2021 17:08, Colin Watson wrote:
> On Tue, Oct 13, 2020 at 12:56:00AM +0300, Aleksi Suhonen wrote:
>> I don't really know how the grub works internally, but it seems to me that
>> we're missing lz4io.mod?
> 
> I think that's the case (or something similar).  This will need to be
> fixed upstream.

Good.

>> Is there a way to force grub-xen to load the image,
>> even tho it's not recognized as a xen image?
> 
> On one of my own systems I managed to get this working using advice from
> this StackExchange question:
> 
>    https://unix.stackexchange.com/questions/583714/xen-pvgrub-with-lz4-compressed-kernels

Here's a thought:

Package: extract-vmlinux
Priority: optional
Section: kernel
Architecture: all
Version: 0.1-1
Depends: binutils, lz4 | xz-utils
Suggests: gzip, bzip2, lzma, lzop, zstd
Description: Decompress Linux kernels for environments that cannot 
handle compressed kernels

The original extract-vmlinux script seems to be under GPL and you could 
include your own modified kernel postinst hook under 
/usr/share/doc/extract-vmlinux/examples/...

If you really feel fancy, you could write a post install script for the 
package that suggests it could install the kernel postinst hook in the 
correct location, if it detects Xen and a cloud kernel?

(I would do it myself, except the hurdle of learning all the hoops to 
jump through to create an acceptable debian package with no prior 
knowledge is really high these days...)

Best Regards,

-- 
	Aleksi Suhonen

	() ascii ribbon campaign
	/\ support plain text e-mail



More information about the Pkg-grub-devel mailing list