Re: Struggling to create Linux domU

From: Stephen Walker-Weinshenker <freebsd-xen_at_sww1235.net>
Date: Sun, 04 May 2025 20:11:55 UTC
Marcin:

Do you only use hvm domU, or do you have any pvh domU?

I added the bios and usbdevice lines and that at least got me into the virtual bios screen.

Thank you

On Sun, May 4, 2025, at 14:06, Marcin Cieslak wrote:
> On Sun, 4 May 2025, Stephen Walker-Weinshenker wrote:
> 
> > Hello:
> >
> > I have been struggling to create a void linux domU on xen using a FreeBSD dom0.
> 
> Hello,
> 
> I am using FreeBSD to boot various Linux and non-Linux operating systems,
> here is an example config file to boot a recent Fedora 42:
> 
> builder = "hvm"
> name = "fedora42"
> disk = [
> '/dev/zvol/zroot/fedora42,raw,xvda,w',
> ]
> bios = "ovmf"
> usbdevice = 'tablet'
> vnc = 1
> vif = ['bridge=bridge1,mac=00:02:04:99:99:f0', 'bridge=bridge0,mac=00:02:04:99:99:f2']
> memory=2048
> vcpus=2
> vga = "stdvga"
> videoram = 16
> xen_platform_pci=0
> --- end ---
> 
> /dev/zvol/zroot/fedora42 got created using
> 
> zfs create -o volmode=geom -V 25G zroot/fedora42
> 
> For some complicated reasons I am using two bridge interfaces, one for IPv4
> and one for IPv6 so please adjust as necessary.
> 
> Marcin
> 
> *Attachments:*
>  • smime.p7s