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

Re: do-it-yourself applet for grub-i386-xen_pvh.bin kernel in trixie & resolute domU


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Pry Mar <pryorm09@xxxxxxxxx>
  • Date: Tue, 3 Feb 2026 21:56:49 -0800
  • Arc-authentication-results: i=1; mx.google.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=o83zI6a9ptMD/+/3tK4VzO2TyuHzNSsY5jS6EYYB8HU=; fh=AnrIHqjcTFzhsO4ww6gdBqiQKOUb7G6ibjPn9v7O2ao=; b=Q3qW1LlIr2SvCm2Q+Anqa2ZTlrnZUjwFyc+OmVuUu29TheswfzbeDlCnE/NTyvi3R4 ACCWsAtswuetT/NNEwC5KolFCSkNUacvrcUcqYdoHH6hv1F5yDbumn9vCmcAojwvazyq oooVOyZGf0hibkIHqB47WkXNxkUkWcB2F2ICHzl/jAtjqFuATNN52FTZGTpGlpi+0PSk OrxJaJn5fijfP9it2R7TNXwJMadsVm9nnmbBd2YFXrOOG/WMOnjjIn0QCeX4uE4bGeFR jmUTtMU3h1BkhN3ldxv8J4xChVnoAKWy1P+WZcLWeCWqnoJA1fltK3hcnFfFXS6Rd3A6 jnyw==; darn=lists.xenproject.org
  • Arc-seal: i=1; a=rsa-sha256; t=1770184621; cv=none; d=google.com; s=arc-20240605; b=ZEjoonZkk+p+/bwtsB/eNi9er0tgPUp2YgZJcy+m8f9xLYE3YfF20MX/caKtViM/1X aH1anhJGN+y9zIri0A2vUBqnsvRfouA2pxpOyphFK82JgRnL5dZF74oQsp2Hf3rW7dJF qMjiD5qxM8jr4TLq3a+kkhAJV1VQqL/c0cSrELl3yA1/HalCf3mkjuF3OpY99W2q/E7L 2G91/PyzJavtOyRHzGDWuqzyZMCVrzGHe+MQUf92tc9vj01hJXQcJR7NoVdUYx2pGbxS ZshREGNQPurTEvrdH1DwIAQOOodFZBnko3EhIpOSQGNtSmBKU0Dn3QsMYNHhnb2rUl5j 5oow==
  • Delivery-date: Wed, 04 Feb 2026 05:57:46 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

the supervisor script *.sh is renamed  to get past as a text file
---snip---
#!/bin/sh

PATH=$PATH:/usr/sbin:/sbin
target="$1"
platform="$2"
cfgfile="$3"
pvfile=grub-${target}-${platform}.bin
        grub-mkstandalone -v --compress=xz --locale-dir=/usr/share/locale --locales="en@quot" --fonts="unicode" \
         --modules="linux" --themes=""  \
        -O ${target}-${platform} -o $pvfile "/boot/grub/grub.cfg=${cfgfile}"
exit 0
---snip---


On Tue, Feb 3, 2026 at 9:13 PM Pry Mar <pryorm09@xxxxxxxxx> wrote:


On Tue, Feb 3, 2026 at 9:05 PM Pry Mar <pryorm09@xxxxxxxxx> wrote:
if needed, this approach works in forky (deb14) too.
It might be necessary to move the root symlinks out of the way:
cd /
mv vmlinuz vmlinuz.new
mv initrd.img initrd.img.new

cheers,

On Tue, Feb 3, 2026 at 8:58 PM Pry Mar <pryorm09@xxxxxxxxx> wrote:
trying again to attach the *cfg

On Tue, Feb 3, 2026 at 8:51 PM Pry Mar <pryorm09@xxxxxxxxx> wrote:
Hello xen-users,

Have you tried to boot a pvh domU using the i386-xen_pvh pvgrub2 kernel found in
grub-xen-host package? Called:
grub-i386-xen_pvh.bin

In both distro's the domU boot hung on me and I had to `xl destroy <domID>`.

Here is my applet approach to regenerate the *.bin using the distro grub2 software.

1) get the modules
apt-get install grub-xen-bin

2) download from here the 2 attachments, a grub2 script and the supervisor script.


4)  run it:./grub_user_mk_xen_image.sh i386 xen_pvh boot-grub-grub.cfg > mks.out 2>&1

hth,
PryMar56

Attachment: grub_user_mk_xen_image.sh.txt
Description: Text document


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.