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

2013-09-30 Thread Craig Rodrigues
On Mon, Sep 30, 2013 at 4:51 PM, Aryeh Friedman wrote:

> -- Forwarded message --
> From: Aryeh Friedman 
> Date: Mon, Sep 30, 2013 at 7:51 PM
> Subject: Re: bhve bug report: attempting to physical DVD drive for install
> CD is unbootable
> To: Neel Natu 
>
>
> One of the features we want in petitecloud is to allow people to just pop
> in a CD and install an instance (see the new UI for 0.1.7 that will be
> released sometime tonight or tomorrow)
>


It's not the most elegant solution and can potentially use a lot of disk
space, but you might want to consider something
where in the petitecloud UI, if /dev/cd[n] or /dev/acd[n] is used as the
input device,
you rip the CD ( see: http://forums.freebsd.org/showthread.php?t=1195 )
and then pass the ripped ISO file as a parameter to bhyvectl.


I ran into a related problem with FreeNAS:
http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-August/001484.html
I'm actually fixing the FreeNAS installer so that it will work with BHyve.

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


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

2013-09-30 Thread Aryeh Friedman
-- Forwarded message --
From: Aryeh Friedman 
Date: Mon, Sep 30, 2013 at 7:51 PM
Subject: Re: bhve bug report: attempting to physical DVD drive for install
CD is unbootable
To: Neel Natu 


One of the features we want in petitecloud is to allow people to just pop
in a CD and install an instance (see the new UI for 0.1.7 that will be
released sometime tonight or tomorrow)


On Mon, Sep 30, 2013 at 7:49 PM, Neel Natu  wrote:

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


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

2013-09-30 Thread Neel Natu
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 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-unsubscr...@freebsd.org"
>
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


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

2013-09-30 Thread Aryeh Friedman
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-unsubscr...@freebsd.org"