From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 1 02:26:40 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F06DE411 for ; Tue, 1 Oct 2013 02:26:39 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CACCC251D for ; Tue, 1 Oct 2013 02:26:39 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id fa1so6741672pad.33 for ; Mon, 30 Sep 2013 19:26:39 -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 :cc:content-type; bh=0hSXtuxjL7w7UxAPKC9qFj/p783w5asrAWQccu56jvw=; b=D0pdRnRwGOO1iFlLLZP3TsY+pkm/2rTFxfWKk55WxuxOr182gx+PU9D0jm1UrH6JtZ jziqScz5Zyx31BxfcDjTcj/NfR0SWbVGE+DC3lia4slH2fch5b0gTCP+URAxbmHY69pS ou7x6NW+bBQrG47XvscURPNCmV6nsV33GBj4hfj25qilwNo4zab8adnm3fRxrRAcO3y1 gz4HP72JyE1Y9/7keI6LrHQPa/Eimmmm6NTC/s8voPJ25XdL+detOoX6YjcO2cmwbANX /FwmrXMDeX2iy8DKVFIUddr230XKUoaZQDVrG6Bgsdn6elEuMy4P/DRGHL33CrZw4Qru n0hA== MIME-Version: 1.0 X-Received: by 10.68.217.196 with SMTP id pa4mr26818068pbc.117.1380594399213; Mon, 30 Sep 2013 19:26:39 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Mon, 30 Sep 2013 19:26:39 -0700 (PDT) In-Reply-To: <524A2B75.3020704@pix.net> References: <524A2B75.3020704@pix.net> Date: Mon, 30 Sep 2013 22:26:39 -0400 Message-ID: Subject: Re: best way to make dvd appear to me a .iso file to the FS From: Aryeh Friedman To: Kurt Lidl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 02:26:40 -0000 That solution works only for a FreeBSD install disk. I am looking for a more general solution, for an install CD/DVD for any x86-compatible OS. (Currently bhyve cannot handle other OS's besides FreeBSD, but they are planning to add support for other OS's.) (I am one of the developers of PetiteCloud, a forthcoming front end for bhyve. See the virtualization list for details.) On Mon, Sep 30, 2013 at 9:55 PM, Kurt Lidl wrote: > On 9/30/13 9:46 PM, Aryeh Friedman wrote: > >> bhyveload(8) only let's you use .ISO's for install media and I want to >> make >> it so I can just insert a DVD (/dev/cd0) and bhyve can read it as if it >> was >> a just a normal file and not a device... short of copying it to the hard >> drive is there any other solution anyone can think of? >> > > Well, you can create a zvol to hold the bootable UFS filesystem, > and just mount the cd-image, and extract the /usr/freebsd-dist/* > tarfiles directly into the freshly created filesystem... > > -Kurt > > >