From owner-freebsd-questions@freebsd.org Tue May 31 18:42:13 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 6ECBDB5B2B3 for ; Tue, 31 May 2016 18:42:13 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA HLL ISSUER 01" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 42C7112C0 for ; Tue, 31 May 2016 18:42:12 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id E78C562232; Tue, 31 May 2016 08:42:45 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v7UZ8I_X_jg7; Tue, 31 May 2016 08:42:43 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 4EF2162230; Tue, 31 May 2016 08:42:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1464698562; bh=kdB6pTMYKZ+Jz5hjHp7fPEPoiEiZnBDYwc/angU1QWU=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=OgBUHCF7vdxmTwXfnNFkkrT1GKAGHYyX6SrQo0GsfW7xgMUxMBnpRzbZ7teYpapae vmW7uYCr2WxxsvcXqXzXugNaHVNRbIU68MRT3TXxn8KKmgD6vGyL0suiPDEZ0je8ln rGSxeruyqlF2mrJ4e8XmKLnX7I88hHAnAu4YhriKeNh4ee89LLka5eIZ/AOUKprHWP P+N6sKgiRvjODJHWWqlwEkEpZb82g6MeniGNqahP09M1rcydgC4VtY5enBxUWoRnwU R8n+eaJWrngIGzcBuJqa+VBYR0nXzBfwFX6iB535r8DHuW0qa5FxwQTcQOGXaIK80e Tg/pnAUeEz2hA== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb) by webmail.harte-lyne.ca with HTTP; Tue, 31 May 2016 08:42:42 -0400 Message-ID: In-Reply-To: <3ff07779-8360-51e5-e7df-13ba08631dc2@bananmonarki.se> References: <3ff07779-8360-51e5-e7df-13ba08631dc2@bananmonarki.se> Date: Tue, 31 May 2016 08:42:42 -0400 Subject: Re: Creating a BHyve guest From: "James B. Byrne" To: "Bernt Hansson" Cc: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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 18:42:13 -0000 On Tue, May 31, 2016 03:26, Bernt Hansson wrote: > 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" > > > I thought that I had already installed the OS from the iso in step 5. I am now at the point of rebooting the installed OS. That implies that the need for a boot CD is no longer present. Why is the CD image still necessary? And why is this step not documented in the handbook if it is in fact required? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3