Solved Installing Windows guest on bhyve gives error "Could not open backing file: Not a directory"

Hi

I was trying to setup a windows guest on Bhyve on FreeBSD 11 r 290273.

I am referring to the following post to do the same.
https://jameslodge.com/freebsd-bhyve-hypervisor-running-windows-server-2012-r2-standard/ post for the same

When I tried creating the VM I see the following error
Code:
"Could not open backing file: Not a directory".
Following command resulted in this error.

bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/dev/ada1/TANK/BHYVE/VM/WIN-SRV-01/disk0 -s 4,ahci-cd,TANK/BHYVE/ISO/Wind.iso -s 10,virtio-net,tap0 -s 31,lpc -l com1,/dev/nmdm0A -l bootrom,BHYVE_UEFI_20151002.fd -m 2G -H -w WIN-SRV-01

Error message:
Code:
Could not open backing file: Not a directory
Not sure if I have missed anything. Any inputs to overcome this issue will be of help.
 
Last edited by a moderator:
Thank you that worked and I had also missed the correct path as well.
 
Last edited by a moderator:
Back
Top