Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2016 16:24:30 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org
Subject:   Re: Creating a BHyve guest
Message-ID:  <574D3526.5030804@ShaneWare.Biz>
In-Reply-To: <d435a7014c22a8c2aa2aa432ad5ae2e1.squirrel@webmail.harte-lyne.ca>
References:  <d435a7014c22a8c2aa2aa432ad5ae2e1.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> https://wiki.freebsd.org/Jenkins/VMSetup ).

> 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/vmrun.sh \
>        -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/vmrun.sh \
>>    -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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?574D3526.5030804>