Booting Windows/UEFI (was Re: Booting r298488 as Xen Dom0 may break ZFS pool?)
saper at saper.info
Tue Apr 26 09:24:37 UTC 2016
On Tue, 26 Apr 2016, Marcin Cieslak wrote:
> On Tue, 26 Apr 2016, Roger Pau Monné wrote:
> > You will have to boot it using OVMF, which is not compiled with Xen by
> > default. I will try to add an OVMF package (like the SeaBIOS one that we
> > already have), and wire it into the xen-tools package.
> > If you want to try it yourself, you can add "--enable-ovmf" to the xen-tools
> > package configure and see what breaks ;).
> Thanks, lots of bad Linux-only scripts (#!/bin/bash and the like), will try!
I got lazy and I have downloaded
recompiled xen-tools by adding to xen-tools/Makefile
and worked pretty much out of the box.
This is Windows Server 2016 Technical Preview 2016, with GPL PV drivers
added to get networking. My config:
builder = "hvm"
memory = 4096
vcpus = 2
name = "Windows"
disk = [ '/dev/zvol/zroot/windows0,raw,hda,w','/root/fat.bin,raw,hdb,w' ]
boot = "c" # Boot to hard disk image
vnc = 2
vnclisten = "0.0.0.0"
usbdevice = 'tablet'
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
acpi = 1
bios = 'ovmf'
vif = [ 'bridge=bridge0' ]
/root/fat.bin is a little partitioned "hard drive" with FAT16 partition
used to provide GPL drivers.
More information about the freebsd-virtualization