Bug#1102066: Xen Dom0 PvGrub2 binary and build instructions

Nagy Elemér Károly nagy.elemer.karoly at gmail.com
Sat Sep 27 22:17:27 BST 2025


Dear All!

I built a PvGrub2 binary (from v. 2.13 commit
ee789e1a625a43b31e17f91a11d4cfb609bc4c52) with Logan Gunthorpe's patch
that can be binary dropped to a Xen Dom0/host to boot a
zstd-compressed Trixie kernel in a DomU/guest.

The file is attached - booting it with
 kernel = "grub-x86_64-xen.2.13_with_zstd_dom0.bin"
from a xl.cfg file boots my test subject.

Build instructions for in-house binaries (preferably in a VM, don't
break your boot loader):
git clone git://git.savannah.gnu.org/grub.git ; cd grub
# Install tools and dependencies - see ./INSTALL
# Apply Logan Gunthorpe's patch (patch --verbose -p1 -i zstdio.patch)
./bootstrap
./autogen.sh
./configure --target=amd64 --with-platform=xen
make
make install
grub-mkimage -O x86_64-xen -c xen.grub.cfg -o
grub-x86_64-xen.2.13_with_zstd_dom0.test.bin -p
/usr/local/lib/grub/x86_64-xen/*.mod

Best wishes:
Elmar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-x86_64-xen.2.13_with_zstd_dom0.bin
Type: application/octet-stream
Size: 2553872 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20250927/1f0bb569/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen.grub.cfg
Type: application/octet-stream
Size: 120 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20250927/1f0bb569/attachment-0001.obj>


More information about the Pkg-grub-devel mailing list