bhve bug report: attempting to physical DVD drive for install CD is unbootable

Neel Natu neelnatu at gmail.com
Mon Sep 30 23:49:12 UTC 2013


Hi Aryeh,

The "-d" option was meant to specify the disk or the ISO file image so I am
not surprised that it doesn't work with /dev/cd0.

Is there any reason that you cannot use an ISO image file to boot the guest?

best
Neel

On Mon, Sep 30, 2013 at 3:16 PM, Aryeh Friedman <aryeh.friedman at gmail.com>wrote:

> With the foillowing script:
>
> truncate -s 20G /a
> ifconfig tap0 destroy
> ifconfig tap0 create
> ifconfig tap0 up
> sleep 5
> ifconfig bridge0 addm tap0 up
> /usr/sbin/bhyvectl --vm=a --destroy
> /usr/sbin/bhyveload -m 1024 -d /dev/cd0 a
> /usr/sbin/bhyve -c 1 -m 1024 -AI -H -P -g 0 -s 0:0,hostbridge -s
> 1:0,virtio-net,tap0 -s 2:0,virtio-blk,/a -s 3:0,virtio-blk,/dev/cd0 -S
> 31,uart,stdio a
>
> I get the following:
>
> FreeBSD/amd64 User boot, Revision 1.1
> (aryeh at testcloud, Wed Sep 11 22:56:07 EDT 2013)
>
> can't load 'kernel'
> OK ls
> open '/' failed: device not configured
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscribe at freebsd.org"
>


More information about the freebsd-virtualization mailing list