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

Re: Installing Debian HVM DomU on Xen: Grub installation error


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Leiber <paul@xxxxxxxxxxxxxxxx>
  • Date: Thu, 1 Jan 2026 23:37:37 +0100
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1767307070; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=SZH7IeSx4seWde7fS/B6ZyY+XYa9eihR6dqGqyrNN50=; b=m4Tf6Y3f1QZx4Kw/h1s+MNIc6LvEsHVzpWngHwzsAyl0cZDz9cYc4RrAuDOppvP6ka 1i1OJygnxuBIcfT4EXtNcLop9GQ1bpKUNGSQss9ZeMvXcA3Gt4IXCb3Xk6y2FQlraJ7f Ko2Ew7qyS7tfrUzbUTlAGN7sXBMjhAYMEaTRRwQ94cfSJgBGWEL3x0VXczh24ybEyaTU W4KZCNHk1nIKSx/L14TxAE14OxaWovsEM/lMwcxhhC1OuspQ5r9qZ0LIN4zIe0Pe9cNM Lp/3ni9Ac1Kv181XugsNFjGMrj+RAnOB3KnFhe7IkWS5kA4OLbt0W8to9FWaMlNSLYWZ hn8g==
  • Arc-seal: i=1; a=rsa-sha256; t=1767307070; cv=none; d=strato.com; s=strato-dkim-0002; b=riYy8fP0KhzCOYaE1UzgeGEQsfX9tj1lCfsCivNwx6ZnCEIqiFMWHQxyIsi+5/5DUq X2T4h/hKhxhiARH5/IuiPWZwoZXmPVh9zf+FDQhAQQKsvsgnrXSO85PgMWUT0e2qWp5A 2Uw1iNtLvq7URTd+5DKxBseD1qUzY27hXkFue6Z15jd35XusXtvgBfBJE1HNbLKuVAlY Y6WM72yf0vW17Efh6O7elQrlHWFcMQQ1/oBCyXnGfTqLAsVomDLbeizfnwY1n+gLUwey gl0oDDjjhUqbuadSGV7UnF70Ys8cIWJeb3T5lF0rbzhpb+FM8ky0/QYzpcHHhScCwC0r 7D4w==
  • Delivery-date: Thu, 01 Jan 2026 22:38:58 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

Am 23.12.25 um 12:06 schrieb Paul Leiber:
Hi,

due to ongoing instabilities with Xen on a Raspberry Pi (seemingly random crashes where I couldn't figure out the cause yet, I suspect networking as the root cause), I am switching to a low-powered x64 platform (APU 4D4 with GX-412TC CPU). I already have the same hardware running very stably for a couple of years with Xen for a different purpose.

I now have installed Debian Trixie as a Dom0 on the hardware, and then went through the usual hoops to install Xen on the system, which seems to be running running fine so far.

Then I tried to install a Debian DomU. It seems that things have gotten more complicated than I am used to:

- The xen-tools package with the handy create-xen-image tool is not available for Trixie. Ok, install a Debian HVM instead. - Starting a HVM DomU with networking is not possible without manually installing ipxe-qemu package (bug 1120146 which already has been fixed, but is not in the current release yet [1]). - When running the Debian (I tried both Trixie and Bookworm, with the same result) installer from a netinstall image as HVM DomU, the installer fails while installing grub with error code 1 (last couple of installation log lines below). I couldn't find any related bug so far. I tried both BIOS and UEFI boot methods, with the same outcome.

On the plus side, the issue with the OVMF package seems to have been fixed? [2] At least the installation iso is booting with OVMF out of the box.

I now am stuck and would be grateful for any pointers, specifically:

1. Does anybody have a hint how to install a Debian Trixie HVM DomU?
2. Does anybody have xen-tools running or another efficient way to create a Trixie PV DomU?

Best regards,

Paul

For future reference: I managed to install Debian Trixie as a DomU. I tried starting a DomU by copying a config file from a Windows DomU and starting the Debian installation iso with this config. That worked. I guess some setting was missing in my initial config file. I didn't do the cross check yet, but I suspect that setting hdtype='ahci' did the trick. The generic error error message in the Debian installation logs was not very helpful.

However, I wasn't really happy with the manual HVM installation method, therefore I had a closer look on the Debian xen-tools package. The Debian package is currently orphaned, but I could quite easily build the package from the source code [1]. With the xen-tools package, I could successfully install a Trixie DomU in a much more convenient way. I am very happy that xen-tools exists and is still working.

Best regards,

Paul

[1] https://github.com/xen-tools/xen-tools



 


Rackspace

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