Hi Boris,
I use the following command to install Windows 7:
---
sudo bhyve -c 1 -m 2G -Hwl \
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
-s 0,hostbridge \
-s 31,lpc \
-s 3:0,ahci-cd,/vm/.iso/win.iso \
-s 4:0,ahci-hd,/dev/zvol/book/vm/win/disk0.img \
-s 5:0,virtio-net,tap2,mac=58:9c:fc:05:ff:ae \
-s 6:0,fbuf,tcp=0.0.0.0:5900,w=640,h=480 \
win
For Windows 7, you have to force the sector size to be 512 bytes i.e.
-s 4:0,ahci-hd,sectorsize=512,/dev/zvol/book/vm/win/disk0.img \
(You may have to delete/recrease the image file and re-install to get
it to pick up the new sectorsize)
later,
Peter.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to
"[email protected]"