Creating a BHyve guest
bah at bananmonarki.se
Tue May 31 07:48:47 UTC 2016
On 2016-05-30 20:34, James B. Byrne via freebsd-questions wrote:
> This all seems to work as documented. I configure the new vm, confirm
> my choices and shut down. When I attempt to restart the new system
> using either of the following then the attempt fails.
> bhyve -A -H -P -s 0:0,hostbridge \
>> -s 1:0,lpc \
>> -s 2:0,virtio-net,tap0 \
>> -s 3:0,virtio-blk,/dev/zvol/zroot/vm/samba_dc01.img \
>> -l com1,stdio -c 2 -m 4096M \
> virtual machine cannot be booted
> sh /usr/share/examples/bhyve/vmrun.sh \
>> -c 2 -m 4096M -t tap0 \
>> -d samba_dc01.img \
> Launching virtual machine "samba_dc01" ...
> Installation CDROM image "./release.iso" is not readable
> I cannot see any other steps in the documentation that I have read.
> What am I missing or what am I doing wrong?
You need to set the correct iso filename in vmrun.sh.
More information about the freebsd-questions