From owner-freebsd-virtualization@freebsd.org Fri Jul 6 17:32:45 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8E56103E148; Fri, 6 Jul 2018 17:32:45 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 39C578CDD4; Fri, 6 Jul 2018 17:32:45 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w66HWgIX053395; Fri, 6 Jul 2018 10:32:42 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w66HWgJF053394; Fri, 6 Jul 2018 10:32:42 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201807061732.w66HWgJF053394@pdx.rh.CN85.dnsmgr.net> Subject: Re: bhyve and freebsd memstick installer In-Reply-To: <7fdf88da-7692-8cfa-a42b-19314866977d@zyxst.net> To: tech-lists Date: Fri, 6 Jul 2018 10:32:42 -0700 (PDT) CC: freebsd-virtualization@freebsd.org, freebsd-current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2018 17:32:45 -0000 > Hello, > > context: freebsd-12-current server, amd64 > > I usually install a freebsd guest like this: > > sh /usr/share/examples/bhyve/vmrun.sh -c 2 -m 4096M -t tap0 -d guest.img > -i -I FreeBSD-installation-dvd1.iso guestname > > I only have memstick.img - how do I either: > > 1. convert the memstick to dvd1.iso > 2. make bhyve use the memstick installation iso (I don't think it can do > this as the option to do so isn't in vmrun.sh) Untested, but since memstick is actually a "disk" image and not a "cdrom" image you should be able to do something like vmrun.sh -c 2 -m 4096M -t tap0 -d memstick.img -d guest.img guestname Your memstick should show up as ada0, and your guest.img should be ada1. -- Rod Grimes rgrimes@freebsd.org