Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 16:49:10 -0700
From:      Neel Natu <neelnatu@gmail.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhve bug report: attempting to physical DVD drive for install CD is unbootable
Message-ID:  <CAFgRE9FS4H_6e_vZSpF9Jb7DgX5dbg5w6K7uE7WjH=AOZucDGQ@mail.gmail.com>
In-Reply-To: <CAGBxaXmrf=wGaZkskrNmhtLKYEnL4uGhBro5Vcq_06kfE5uKVQ@mail.gmail.com>
References:  <CAGBxaXmrf=wGaZkskrNmhtLKYEnL4uGhBro5Vcq_06kfE5uKVQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@testcloud, Wed Sep 11 22:56:07 EDT 2013)
>
> can't load 'kernel'
> OK ls
> open '/' failed: device not configured
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgRE9FS4H_6e_vZSpF9Jb7DgX5dbg5w6K7uE7WjH=AOZucDGQ>