Index of /xen/ubuntu/resolute-nmu/grub2/pvgrub2/tools
About
---
this is an alternate applet approach to creating the pvh kernel.
While the pvgrub2 kernels higher in the tree were made during the grub2 build, this
is a post-build method, making a new kernel by simply using a different or modified grub2 script.
Using the native applet allows for a faster dev cycle.
prelims
---
apt-get install binutils xz-utils lz4 zstd tar
// run the command with 3 arguments
./grub_user_mk_xen_image.sh i386 xen_pvh boot-grub-grub.cfg > mks.out 2>&1
The kernel: grub-i386-xen_pvh.bin.ub214
was created in a resolute ub26.04 VM depending on 2 packages:
grub-xen-bin (modules)
grub2-common (the tools/applets)
From distro, the script they use during the build for the pvh kernel:
grub-xen-host_grub-pvh.cfg.distro
Missing locale, not installed by grub2-common:
cd /usr/share/locale
mkdir -p en@quot/LC_MESSAGES
cp -p grub.mo.ub26 en@quot/LC_MESSAGES/grub.mo
Author
---
PryMar56
Feb 2026