Bhyve. Unable install Windows 7/Server 2008R2

Harry Schmalzbauer freebsd at omnilan.de
Mon Dec 4 13:23:12 UTC 2017


 Bezüglich wishmaster's Nachricht vom 04.12.2017 13:32 (localtime):
> Hi,
>
> guys, what happened with bhyve after 11.1-RELEASE. I am unable install neither Windows 7 nor Windows Server 2008R2.
> I have attempted with HDD as raw file, ZFS dev - without success.
>
> root at XXX: uname -a
> FreeBSD XXX 11.1-STABLE FreeBSD 11.1-STABLE #0 r325503: Tue Nov  7 13:38:44 EET 2017     wishmaster at XXX:/usr/obj/usr/src/sys/MY  amd64

Since you don't tell us what error you get from the guest setup program,
I can only guess that you are using a ZFS volume with a block size of 8k
(default).
My next guess is that you use BHYVE_UEFI.fd for bootrom.
The latter can't boot from 8k drives,
Make sure you define something like this:
-s 3,virtio-blk,/dev/zvol/hostPool/bhyveVOL/sys/guest1,sectorsize=512/4096

If that power guess didn't hit, you need to provide some details (boot
method at very first along with some kind of error description).

-harry



More information about the freebsd-virtualization mailing list