Fwd: FreeBSD 11.1 xen trying to create linux domU instance
Marcin Cieslak
saper at saper.info
Tue Aug 29 18:50:47 UTC 2017
On Mon, 21 Aug 2017, James E. Pace wrote:
> zfs create -V20G -o volmode=dev pool/xen-ubuntu
This is correct.
> disk = [
> '/dev/zvol/pool/xen-ubuntu,,hda,rw',
> '/pool/Downloads/ubuntu-15.10-desktop-amd64.iso,raw,hdc:cdrom,r'
> ]
Can you try adding "raw" between commas?
http://xenbits.xen.org/docs/unstable/man/xl-disk-configuration.5.html
says "raw" is the default, though, so it shouldn't matter.
Here is my complete configuration file, sans some comments:
builder = "hvm"
name = "fedora"
disk = [
'/dev/zvol/zroot/fedora0,raw,xvda,w'
# '/root/xen/Fedora-Server-netinst-x86_64-25-1.3.iso,raw,hdc:cdrom,r'
]
boot = "c"
bios = "ovmf"
usbdevice = 'tablet'
vnc = 1
vif = ['bridge=bridge1,mac=00:02:04:08:99:f0']
memory=2048
vcpus=2
vga = "stdvga"
videoram = 16
xen_platform_pci=0
]
As you can see I am using OVMF for booting (this currently requires
modification to the port's Makefile and recompiling, see the
archives), but I think this shouldn't matter to that type of error
you are having.
This works very well with zvols. There should be no need to
create image files. (I am using zvols for FreeBSD, fedora, RHEL
and Solaris 11.3 guests).
Marcin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3663 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20170829/eaf6041e/attachment.bin>
More information about the freebsd-xen
mailing list