Re: Booting Windows/UEFI (was Re: Booting r298488 as Xen Dom0 may break ZFS pool?)
On Tue, Apr 26, 2016 at 10:39:06AM +, Marcin Cieslak wrote: > Yes, should be easy. Will try to plug a binary port in. Thanks :). > By the way, I just managed to crash a whole machine by trying to > boot Solaris 11.3: > > # builder = "hvm" > memory = 2048 > vcpus = 1 > name = "Solaris0" > disk = [ 'file:/root/sol-11_3-text-x86.iso,6:cdrom,r', > '/dev/zvol/zroot/solaris0,raw,hda,w' ] > kernel = "/root/xen/solaris/unix" > ramdisk = "/root/xen/solaris/boot_archive" > extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" > #boot = "c" > usbdevice = 'tablet' > vnc = 1 > vnclisten = '0.0.0.0' > vif = [ 'bridge=bridge0' ] > > /root/xen/solaris/unix and /root/xen/solaris/boot_archive where extracted > from sol-11_3-text-x86.iso > ("Intel text-only image"). I don't think you can boot Solaris as a PV guest anymore, you should instead boot it as a HVM guest. You will have to remove the kernel and ramdisk options and instead add builder="hvm" (that you have left commented out). Roger. ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re: Booting Windows/UEFI (was Re: Booting r298488 as Xen Dom0 may break ZFS pool?)
On Tue, 26 Apr 2016, Roger Pau Monné wrote: > On Tue, Apr 26, 2016 at 09:24:30AM +, Marcin Cieslak wrote: > > 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. > > Oh, thanks for the info, I didn't know OVMF provided pre-compiled binaries. > This should make adding a OVMF port trivial. Would you like to take a stab > at adding such a port and wiring it into the xen-tools package? Yes, should be easy. Will try to plug a binary port in. By the way, I just managed to crash a whole machine by trying to boot Solaris 11.3: # builder = "hvm" memory = 2048 vcpus = 1 name = "Solaris0" disk = [ 'file:/root/sol-11_3-text-x86.iso,6:cdrom,r', '/dev/zvol/zroot/solaris0,raw,hda,w' ] kernel = "/root/xen/solaris/unix" ramdisk = "/root/xen/solaris/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" #boot = "c" usbdevice = 'tablet' vnc = 1 vnclisten = '0.0.0.0' vif = [ 'bridge=bridge0' ] /root/xen/solaris/unix and /root/xen/solaris/boot_archive where extracted from sol-11_3-text-x86.iso ("Intel text-only image"). Marcin ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re: Booting Windows/UEFI (was Re: Booting r298488 as Xen Dom0 may break ZFS pool?)
On Tue, Apr 26, 2016 at 09:24:30AM +, Marcin Cieslak wrote: > 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. Oh, thanks for the info, I didn't know OVMF provided pre-compiled binaries. This should make adding a OVMF port trivial. Would you like to take a stab at adding such a port and wiring it into the xen-tools package? Roger. ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Booting Windows/UEFI (was Re: Booting r298488 as Xen Dom0 may break ZFS pool?)
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 ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"