Windows via bhyve at FreeBSD11.1
Andreas Drewke
andreas at drewke.net
Thu Jul 5 18:24:17 UTC 2018
Hi,
I got it.
I had 2 problems.
- First I did not see anything as I was connecting with freerdp which
does not work. Using vncviewer indeed does.
- But I need to press quickly a key after connecting with vncviewer in
the window I started the bhyve or in the vnc viewer. Not 100% sure here.
(Also order of drives seem to be important, haveing cd first worked for
me, having cd as second did not, this was a hint on bsdforen.de)
Now my windows does install.
I am super curios. Using "vncviewer" is worth a note in a blog or
documentation I think. Spend like 8+ hours to find out how to boot a
Windows 7/8.1,10 in bhyve under FBSD.
Many thanx.
Best regards
Andreas
On 07/05/18 18:22, Andreas Drewke wrote:Hi,
>
> 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 at 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 at 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
More information about the freebsd-questions
mailing list