Date: Tue, 26 Apr 2016 09:24:30 +0000 From: Marcin Cieslak <saper@saper.info> To: =?ISO-8859-15?Q?Roger_Pau_Monn=E9?= <roger.pau@citrix.com> Cc: freebsd-virtualization@freebsd.org Subject: Booting Windows/UEFI (was Re: Booting r298488 as Xen Dom0 may break ZFS pool?) Message-ID: <alpine.BSF.2.11.1604260842200.1768@z.fncre.vasb> In-Reply-To: <alpine.BSF.2.11.1604260811450.1768@z.fncre.vasb> References: <alpine.BSF.2.11.1604232216330.1768@z.fncre.vasb> <20160425084714.64ejioyqgquwu4gw@mac> <alpine.BSF.2.11.1604251906400.1768@z.fncre.vasb> <alpine.BSF.2.11.1604252000401.1768@z.fncre.vasb> <alpine.BSF.2.11.1604252048220.1768@z.fncre.vasb> <20160426071151.ctzdaehgfhzij6q3@mac> <alpine.BSF.2.11.1604260715130.1768@z.fncre.vasb> <20160426074302.4i3rv7wd5ogg7ful@mac> <alpine.BSF.2.11.1604260811450.1768@z.fncre.vasb>
next in thread | previous in thread | raw e-mail | index | archive | help
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 https://sourceforge.net/projects/edk2/files/OVMF/OVMF-X64-r15214.zip/download recompiled xen-tools by adding to xen-tools/Makefile CONFIGURE_ARGS+= --enable-ovmf CONFIGURE_ARGS+= --with-system-ovmf=/root/xen/OVMF.fd 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. Marcin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1604260842200.1768>