Date: Thu, 5 Jul 2018 18:22:40 +0200 From: Andreas Drewke <andreas@drewke.net> To: freebsd-questions@freebsd.org Subject: Windows via bhyve@FreeBSD11.1 Message-ID: <3d1cb33e-6081-c98f-d0c5-184a212e2383@drewke.net>
next in thread | raw e-mail | index | archive | help
Hi, I am a fulltime FreeBSD user now for a few months and do mostly game related software development next to emailing, web browsing and such... But now I need a build environment of my stuff for Windows and Linux. As I do not have dedicated machines for that I would prefer VMs inside FreeBSD for that to not to reboot each time I want to have a build. So I tried to do virtualisation of Windows 10 with bhyve@FreeBSD 11.1. First I tried with VirtualBox but this was not a stable solution. The VM would hang when compiling. Data have been lost and such. I followed those both tutorial - https://www.ateamsystems.com/tech-blog/howto-windows-10-bhyve-w-freebsd-11/ - https://wiki.freebsd.org/bhyve/Windows and came up with the following cmd to launch a Win 10 installation VM session |bhyve \ | |-c 2 \ -s 0,hostbridge \ -s 3,ahci-hd,"/home/andreas/Virtual Machines/BuildVM-Win10-x64.img" \ -s 4,ahci-cd,"/home/andreas/Downloads/Win10_1803_German_x64.iso" \ -s 10,virtio-net,tap0 \ -s 29,fbuf,tcp=0.0.0.0:5900,wait \ -s 30,xhci,tablet \ -s 31,lpc \ -l com1,stdio \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ -m 2G -H -w \ BuildVM-Win10-x64| I also tryed Win7, Win8.1. I also tryed to remaster Win7 DVD and such. But I always get: |Boot Failed. EFI DVD/CDROM Boot Failed. EFI Hard Drive| I also wonder why I need to run the command as root. "uname -a" tells |FreeBSD andreas-desktop 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #0: Tue May 8 05:21:56 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64| "dmesg" tells: |CPU: AMD Ryzen 7 1700 Eight-Core Processor (2994.46-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x800f11 Family=0x17 Model=0x1 Stepping=1 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> AMD Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX> Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics| Any hints are highly appreciated. Many thanx and Best regards Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3d1cb33e-6081-c98f-d0c5-184a212e2383>