Re: bhyve and bootable usb image

2016-09-08 Thread Gabor Radnai
Try to do:
device.map:
(hd0) usb.img
(hd1) */dev/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// -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 
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
>
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: bhyve and bootable usb image

2016-09-08 Thread Michael Dexter

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
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


bhyve and bootable usb image

2016-09-04 Thread Gabor Radnai
Hello,

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?

Thanks.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"