From owner-freebsd-questions@freebsd.org Tue May 31 07:48:47 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 47C0DB55A84 for ; Tue, 31 May 2016 07:48:47 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE2681A33 for ; Tue, 31 May 2016 07:48:43 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id u4V7Q5Jt044977; Tue, 31 May 2016 09:26:06 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Creating a BHyve guest To: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org References: From: Bernt Hansson Message-ID: <3ff07779-8360-51e5-e7df-13ba08631dc2@bananmonarki.se> Date: Tue, 31 May 2016 09:26:05 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; 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 07:48:47 -0000 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 \ >> samba_dc01 > virtual machine cannot be booted > > or > > sh /usr/share/examples/bhyve/vmrun.sh \ >> -c 2 -m 4096M -t tap0 \ >> -d samba_dc01.img \ >> samba_dc01 > 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. Line 40 DEFAULT_ISOFILE="./release.iso"