Dear All,

Debian has started compressing the kernel images in the Trixie release.
This breaks booting xen kernels seeing grub has no support to
decompress the zstd images[1][2].

To improve this situation, this patch adds a hint for Xen/PvGrub2 users.

Thanks,
Elmar

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102066
[2] https://www.mail-archive.com/[email protected]/msg41663.html
--
diff -pruN grub-prev/grub-core/loader/i386/xen_file.c
grub-current/grub-core/loader/i386/xen_file.c
--- grub-prev/grub-core/loader/i386/xen_file.c 2025-09-25
15:54:09.854334529 +0200
+++ grub-current/grub-core/loader/i386/xen_file.c 2025-09-25
15:06:34.897806078 +0200
@@ -89,7 +89,7 @@ grub_xen_file (grub_file_t file)
   grub_file_offset_close (off_file);

 fail:
-  grub_error (GRUB_ERR_BAD_OS, "not xen image");
+  grub_error (GRUB_ERR_BAD_OS, "not xen image (or image is
zstd-compressed, which is yet unsupported)");
   return NULL;
 }

--

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to