Creating a BHyve guest

Shane Ambler FreeBSD at ShaneWare.Biz
Tue May 31 06:59:44 UTC 2016

On 31/05/2016 04:04, James B. Byrne via freebsd-questions wrote:
> I am trying, without much success, to create a FreeBSD guest on a
> FreeBSD host, both version 10.3.  These are the steps I have followed
> thus far (refs.: the Handbook s. 21.7 and the wiki
> ).

> 5. Once the iso image for the installer is downloaded, in this case to
> the /root directory, and its checksum verified then the process of
> creating a new FreeBSD VM instance is carried out using the supplied
> shell script.
>      sh /usr/share/examples/bhyve/ \
>        -c 2 -m 4096M -t tap0 \
>        -d /dev/zvol/zroot/vm/samba_dc01.img \
>        -i -I /root/FreeBSD-10.3-RELEASE-amd64-dvd1.iso \
>        samba_dc01
> 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.

> sh /usr/share/examples/bhyve/ \
>>    -c 2 -m 4096M -t tap0 \
>>    -d samba_dc01.img \

shouldn't that be -d /dev/zvol/zroot/vm/samba_dc01.img
unable to find that leads to searching for cd image...

>>    samba_dc01
> Launching virtual machine "samba_dc01" ...
> Installation CDROM image "./release.iso" is not readable

FreeBSD - the place to B...Software Developing

Shane Ambler

More information about the freebsd-questions mailing list