bhyve How to install windows 8 in bhyve

I wonder (don't know from experience, but as it's a vm you could always destroy it if it goes bad) the vm-bhyve guide for Windows might work for you?


And then the Windows section in the wiki


It all worked pretty well for me with Windows 10--again, don't know how much might be different for Windows 8.
 
The following,
Code:
bhyve -c 2 -m 3G -H -w \
-s 0,hostbridge \
-s 3,ahci-cd,./win8.iso,sectorsize=512 \
-s 4,ahci-hd,disk.img,sectorsize=512 \
-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 \
win8
gives a bhyve segmentation fault.
Maybe something went wrong in the writing of the win8.iso .
 
I don't think Windows 8 would be that much different from 10 in this regard. They're not that different "under the bonnet".
 
My Window 7 32bit DVD iso drops me into the shell
Code:
UEFI Interactive Shell v2.1
EDK II
UEFI v2.40 (BHYVE, 0x00010000)
Mapping table
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0x0,0x0)
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0x0,0x0)/CDROM(0x0)
     BLK2: Alias(s):
          PciRoot(0x0)/Pci(0x4,0x0)/Sata(0x0,0x0,0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>
 
Try with Virtualbox. It works fine for me. Or, Gnome-boxes; Here: sudo pkg install virtualbox-ose && sudo pkg install gnome-boxes
 
Back
Top