From owner-freebsd-questions@freebsd.org Tue May 31 06:59:43 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE037B55FB6 for ; Tue, 31 May 2016 06:59:43 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 922421080 for ; Tue, 31 May 2016 06:59:42 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp14-2-37-105.lns21.adl2.internode.on.net (HELO leader.local) ([14.2.37.105]) by ipmail05.adl6.internode.on.net with ESMTP; 31 May 2016 16:24:32 +0930 Subject: Re: Creating a BHyve guest To: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org References: From: Shane Ambler Message-ID: <574D3526.5030804@ShaneWare.Biz> Date: Tue, 31 May 2016 16:24:30 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 06:59:44 -0000 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