From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 23:51:56 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C2C48B3E for ; Mon, 30 Sep 2013 23:51:56 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A68E2DA2 for ; Mon, 30 Sep 2013 23:51:56 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id lj1so6568026pab.15 for ; Mon, 30 Sep 2013 16:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xucXrlX5q1Na62hc3h3KAbkiAEcZR0p0zd+rkzFkQp0=; b=NMsLXS+SLv/kZFh0mh2BiSRGPDdFnUVHT/HD8PObnHYFjZhmAi+k68G/ApMqfTvIhr lvyVGUxZ0akbaTKHPVEMYyAhSFzYtBjEL8KE/ks5tv8z5eUBWygOJ3mDAcpZxMCyZ/HY V5d0+rjfGxfq7/li0emH35KbXF1LdLsFFBnxldm8S5nsTOTsZA4N6qVCEFCANzFvgXvU I1bIepFwRxE00z91qk3lmF7CeMZdj+bGlTtwV5Yw51zfJ5dptpWqe6M9p/oZ24EPDytl 3yVFNXO2sil6tpfAA17tznPT3L8qO10Mf4HUxKI6T4AYAi3YQNY/bs8zlVCG00ciwSRw vVgw== MIME-Version: 1.0 X-Received: by 10.66.165.106 with SMTP id yx10mr5406012pab.159.1380585114064; Mon, 30 Sep 2013 16:51:54 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Mon, 30 Sep 2013 16:51:53 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 19:51:53 -0400 Message-ID: Subject: Fwd: bhve bug report: attempting to physical DVD drive for install CD is unbootable From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 23:51:56 -0000 ---------- 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-unsubscribe@freebsd.org" >> > >