Ubuntu 22.04 server installer doesn't boot on Xen server as domU in PVH mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The Xen server I am working on has Debian 12 as dom0. As mentioned in the summary I am trying to install Ubuntu 22.04 server as a domU in PVH mode.
I tested using ubuntu-
This is the domU configuration I used. It attempts to use PVHGRUB:
name = "ubuntu-2204"
memory = 1024
maxmem = 1024
vcpus = 1
vif = [ 'bridge=xenbr0' ]
disk = [ '/root/
type = "pvh"
kernel = "/usr/lib/
I can see the grub menu, and I edit the first entry (Try or install Ubuntu) by appending "console=hvc0 nosplash" to the end of the kernel commandline.
I can then see console output scrolling past, until this point:
Begin: Running /scripts/
Begin: Mounting root file system ... Begin: Running /scripts/nfs-top ... done.
Begin: Running /scripts/
Begin: Running /scripts/
done.
Unable to find a medium containing a live file system
Attempt interactive netboot from a URL?
yes no (default yes): no
BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) Unable to find a medium containing a live file system
I then destroyed the domU and tried the following domU config in PV mode instead. The kernel and ramdisk were extracted from the ISO:
name = "ubuntu-2204"
memory = 1024
maxmem = 1024
vcpus = 1
vif = [ 'bridge=xenbr0' ]
disk = [ '/root/
type = "pv"
kernel = "/root/
ramdisk = "/root/
extra = "console=hvc0 nosplash"
The above config allows me to install the OS successfully over the serial console using the standard server installer. After installation is complete, I can boot the newly installed VM with PVHGRUB in PVH mode using this config:
name = "ubuntu-2204"
memory = 1024
maxmem = 1024
vcpus = 1
vif = [ 'bridge=xenbr0' ]
disk = [ '/dev/myvg/
type = "pvh"
kernel = "/usr/lib/
I expected to be able to install the Ubuntu 22.04 domU in PVH mode with PVHGRUB.
Instead I had to install the Ubuntu 22.04 domU in PV mode as described above. It was only after successful installation in PV mode, that I could boot the installed domU in PVH mode.
tags: | added: server-triage-discuss |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
It isn't obvious to me what Ubuntu might be "doing wrong", if anything, that is causing this issue. Xen in Ubuntu is in our universe component and community-supported only. Therefore I don't expect this bug to make progress unless/until someone can volunteer an investigation and describe what exactly Ubuntu needs to change. If you could help with that, please do!