NetBSD-Users archive

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

Re: xen-bootable DomU images for linux



Brook Milligan <brook%nmsu.edu@localhost> 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'
> type='pvh'
> memory = 2048
> cpu_weight = 64
> name = "linuxmint-pv"
> vif = [ 'mac=aa:00:00:d1:00:09,bridge=bridge0' ]
> disk = [ 'file:/xen/linuxmint-21.1-cinnamon-64bit.img,ioemu:hda,w', ]
> root = "/dev/xvda1"
> vga = 'stdvga'
> videoram = '16'
> vfb = [ 'type=vnc,vnclisten=127.0.0.1’ ]
>
> This reports in the vnc window “This VM has no graphic display device.”  That message occurs with or without the vga+videoram statements and with or without the vfb statement.
>
> Any ideas?
>
> Thanks again for all the help.
>
> Cheers,
> Brook


So, the only DOMU guests I ever use vnc with is pure HVM guests.  For
all others I much prefer to use the Xen serial console, i.e. "xl console
domuthing" sort of thing...

In my Linux DOMU PVH guests I have this:

extra = "mitigations=off console=hvc0 rdshell"

The "console=" part sets the serial port to be the console, I believe.
At one point you also had to change stuff in /etc in the Linux DOMU, but
I really don't remember if that is required any more.  I don't use the
vfb or the vga stuff at all in those cases.  You might try leaving that
off of your LinuxMint PVH guest and add the console= part and try "xl
console domusortofthing"


This is a ArchLinux PVH guest:

kernel = "/lhome/xen/kernels/ArchLinux/5.18.16-arch1-1/vmlinux"
ramdisk = "/lhome/xen/kernels/ArchLinux/5.18.16-arch1-1/initramfs-linux.img"
type="pvh"
memory = 4096
cpu_weight = 128
name = "oldbill"
vif = [ 'bridge=bridge4' ]
device_model = '/usr/pkg/libexec/qemu-dm'
disk = [ 'phy:/dev/mapper/rustvg0-oldbilllv0_1,xvda,w','phy:/dev/mapper/rustvg0-oldbilllv1,xvdb,w','file:/lhome/xen/isos/archlinux-2019.08.01-x86_64.iso,xvdc:cdrom,r','phy:/dev/mapper/ssdvg0-oldbilllv2,xvdd,w' ]
root = "/dev/xvda1"
extra = "mitigations=off console=hvc0 rdshell"



-- 
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org


Home | Main Index | Thread Index | Old Index