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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to