Date: Thu, 08 Sep 2016 20:00:07 +0000 From: Gabor Radnai <gabor.radnai@gmail.com> To: Michael Dexter <editor@callfortesting.org>, freebsd-virtualization@freebsd.org Subject: Re: bhyve and bootable usb image Message-ID: <CABnVG=dQDttr5PAW=mB4x7b96YvJJvbhOXOkzWZEHYz%2BsF4DWg@mail.gmail.com> In-Reply-To: <ebf2df89-096a-8641-c048-a69ea76b1ddb@callfortesting.org> References: <CABnVG=dRp_bVqf0KUTpbJwTdbDV0J4G2=ysHrtdOUVWrBqNUkA@mail.gmail.com> <ebf2df89-096a-8641-c048-a69ea76b1ddb@callfortesting.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Try to do: device.map: (hd0) usb.img (hd1) */dev/zvol/<pool>/<zvol>* *grub-bhyve -m device.map -r hd0 -M 1024M linuxguestbhyve -A -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap1 -s 3:0,virtio-blk,usb.img \ -s 4:0,ahci-hd,/dev/zvol/<pool>/<zvol> -l com1,stdio -c 4 -m 1024M linuxguest But to be honest not exactly sure what should be the usb image type, hd or cd or? Or what else I miss.* *Thanks.* On Thu, Sep 8, 2016 at 9:30 PM Michael Dexter <editor@callfortesting.org> wrote: > On 9/4/16 11:47 AM, Gabor Radnai wrote: > > I have a bootable usb image file which I would like to use as an > installer > > medium under byhve, a Linux based stuff. Using dd to write image file to > an > > usb stick and installing stuff from it works ok. However under bhyve > > accessing the image as ahci-hd or virtio-blk and using grub-bhyve, guest > > does not boot up. > > > > What is the proper way to use bootable image file? Will it work at all or > > it is not (yet) supported? > > > > Can someone please show me a how-to? > > What grub-bhyve and device.map syntax are you using for both? > > Michael >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABnVG=dQDttr5PAW=mB4x7b96YvJJvbhOXOkzWZEHYz%2BsF4DWg>