Re: xen-bootable DomU images for linux

2023-01-12 Thread Chuck Zmudzinski
On 1/12/23 11:18 AM, Chuck Zmudzinski wrote: > On 1/11/2023 4:05 PM, Brad Spencer wrote: > > Brook Milligan writes: > > > > [snip] > > > > > I think the relevant bit is the end: > > > > > > FAILED Failed to start minitrd-switch-root.service - Switch Root. > > > See 'systemctl status initrd-swit

Re: xen-bootable DomU images for linux

2023-01-12 Thread Chuck Zmudzinski
On 1/11/2023 4:05 PM, Brad Spencer wrote: > Brook Milligan writes: > > [snip] > > > I think the relevant bit is the end: > > > > FAILED Failed to start minitrd-switch-root.service - Switch Root. > > See 'systemctl status initrd-switch-root.service' for details. > > > > Generating "/run/initramfs/r

Re: xen-bootable DomU images for linux

2023-01-12 Thread Chuck Zmudzinski
On 1/11/2023 3:13 PM, Brook Milligan wrote: > > On Jan 11, 2023, at 12:49 PM, Chuck Zmudzinski wrote: > > > > Did you try omitting type = 'pvh' to see if for some reason the Fedora > > image does not like PVH mode? That would boot it in PV mode instead. > > Same thing with type=“pv” or no type= a

Re: xen-bootable DomU images for linux

2023-01-11 Thread Brad Spencer
Brook Milligan writes: [snip] > I think the relevant bit is the end: > > FAILED Failed to start minitrd-switch-root.service - Switch Root. > See 'systemctl status initrd-switch-root.service' for details. > > Generating "/run/initramfs/rdsosreport.txt" > > > Entering emergency mode. Exit the sh

Re: xen-bootable DomU images for linux

2023-01-11 Thread Brook Milligan
> On Jan 11, 2023, at 12:49 PM, Chuck Zmudzinski wrote: > > Did you try omitting type = 'pvh' to see if for some reason the Fedora > image does not like PVH mode? That would boot it in PV mode instead. Same thing with type=“pv” or no type= at all. > I would just save the "/run/initramfs/rdsos

Re: xen-bootable DomU images for linux

2023-01-11 Thread Chuck Zmudzinski
On 1/11/2023 2:21 PM, Brook Milligan wrote: > > On Jan 11, 2023, at 10:02 AM, Chuck Zmudzinski wrote: > > > > I'm glad to hear Debian install images are working now in Xen HVMs. Last > > time I > > tried it they would crash almost immediately after starting. > > Yes. Now I’m trying to get the o

Re: xen-bootable DomU images for linux

2023-01-11 Thread Brook Milligan
> On Jan 11, 2023, at 10:02 AM, Chuck Zmudzinski wrote: > > I'm glad to hear Debian install images are working now in Xen HVMs. Last time > I > tried it they would crash almost immediately after starting. Yes. Now I’m trying to get the others (Fedora, Ubuntu, LinuxMint) to boot as PV DomUs.

Re: xen-bootable DomU images for linux

2023-01-11 Thread Chuck Zmudzinski
On 1/10/2023 6:52 PM, Brook Milligan wrote: > > On Jan 10, 2023, at 1:16 PM, Chuck Zmudzinski wrote: > > > > I think vfb is only for PV guests, so try commenting out that line. > > > > For hvm, I recommend setting: > > vga = 'stdvga' > > videoram = '16' > > > > The default vga is cirrus, but I

Re: xen-bootable DomU images for linux

2023-01-10 Thread Chuck Zmudzinski
On 1/10/2023 6:52 PM, Brook Milligan wrote: > > On Jan 10, 2023, at 1:16 PM, Chuck Zmudzinski wrote: > > > > I think vfb is only for PV guests, so try commenting out that line. > > > > For hvm, I recommend setting: > > vga = 'stdvga' > > videoram = '16' > > > > The default vga is cirrus, but I

Re: xen-bootable DomU images for linux

2023-01-10 Thread Brad Spencer
Brook Milligan writes: [snip] > I have tried more or less the same configuration for the LinuxMint PV DomU as > for the working Debian PV DomU: > > kernel='/xen/linuxmint-21.1-cinnamon-64bit-vmlinuz-5.15.0-56-generic' > ramdisk='/xen/linuxmint-21.1-cinnamon-64bit-initrd.img-5.15.0-56-generic' >

Re: xen-bootable DomU images for linux

2023-01-10 Thread Brook Milligan
> On Jan 10, 2023, at 1:16 PM, Chuck Zmudzinski wrote: > > I think vfb is only for PV guests, so try commenting out that line. > > For hvm, I recommend setting: > vga = 'stdvga' > videoram = '16' > > The default vga is cirrus, but I think it can only have 4 MB videoram. > With 16 MB videoram,

Re: xen-bootable DomU images for linux

2023-01-10 Thread Chuck Zmudzinski
On 1/10/2023 1:36 PM, Brook Milligan wrote: > > On Jan 9, 2023, at 1:07 PM, Brad Spencer wrote: > > > > It will depend on how you ultimately want to run the DOMU, > > For now, I’m just trying to get something to work. > > > This is a ArchLinux config using HVM: > > kernel = "/usr/pkg/lib/xen/boot

Re: xen-bootable DomU images for linux

2023-01-10 Thread Chuck Zmudzinski
On 1/10/2023 1:36 PM, Brook Milligan wrote: > > On Jan 9, 2023, at 1:07 PM, Brad Spencer wrote: > > > > It will depend on how you ultimately want to run the DOMU, > > For now, I’m just trying to get something to work. > > > This is a ArchLinux config using HVM: > > kernel = "/usr/pkg/lib/xen/boot

Re: xen-bootable DomU images for linux

2023-01-10 Thread Brad Spencer
Brook Milligan writes: [snip] > I downloaded a Debian image and tried to create a Xen instance with the > following conf file modeled after yours: > > kernel = "/usr/pkg/lib/xen/boot/hvmloader" > builder='hvm' > device_model_version="qemu-xen-traditional" > memory = 2048 > cpu_weight = 64 > nam

Re: xen-bootable DomU images for linux

2023-01-10 Thread Brook Milligan
> On Jan 9, 2023, at 1:07 PM, Brad Spencer wrote: > > It will depend on how you ultimately want to run the DOMU, For now, I’m just trying to get something to work. > This is a ArchLinux config using HVM: > kernel = "/usr/pkg/lib/xen/boot/hvmloader" > builder='hvm' > device_model_version="qemu

Re: xen-bootable DomU images for linux

2023-01-09 Thread Brad Spencer
Brook Milligan writes: > Does anyone know of a source of Linux images that can be booted as DomU with > Xen? Or how to make one using NetBSD? > > Thanks. > > Brook It will depend on how you ultimately want to run the DOMU, but the simplest way is to get pretty much ANY iso or other bootable i

xen-bootable DomU images for linux

2023-01-09 Thread Brook Milligan
Does anyone know of a source of Linux images that can be booted as DomU with Xen? Or how to make one using NetBSD? Thanks. Brook