From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 2 19:17:56 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2C5957A; Fri, 2 Jan 2015 19:17:55 +0000 (UTC) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0CB86428E; Fri, 2 Jan 2015 19:17:54 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t02J3Aqw057269; Fri, 2 Jan 2015 19:03:10 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.102] (gateway.kientzle.com [192.168.1.65]) by kientzle.com with SMTP id yeh7zr3rfr9zuu378xxa9dquc2; Fri, 02 Jan 2015 19:03:10 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: How to make a FreeBSD vm in virtualbox. From: Tim Kientzle In-Reply-To: <13C55A7B-4010-40FA-901B-DF8ED6BADD87@freebsd.org> Date: Fri, 2 Jan 2015 11:03:10 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <13C55A7B-4010-40FA-901B-DF8ED6BADD87@freebsd.org> To: Alfred Perlstein X-Mailer: Apple Mail (2.1993) Cc: Ryan Kois , hackers@freebsd.org, re@freebsd.org, Claudia Yadathi X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 19:17:56 -0000 > On Dec 30, 2014, at 7:42 PM, Alfred Perlstein = wrote: >=20 > Hello Release engineering team & hackers, >=20 > Ryan (cc'd) did some work on the recent FreeBSD vms that were = released. >=20 > Ryan is working at Norse with us and using FreeBSD now. His = background is backend development in io.js, node.js and php on Linux. >=20 > He's now trying to get io.js working on FreeBSD. >=20 > In doing so he wanted to setup a VM, so he downloaded the vmdk and = created a blog post on what was needed to be done in order to get it = working under virtualbox. That blog is here:=20 >=20 > = http://blog.kidicarus.cool/blog/2014/12/24/freebsd-guest-on-mac-osx-host-v= ia-virtualbox/ >=20 > After he linked it to me, I decided that it would make sense if this = was scripted and would really make sense as part of the release process. Crochet has had support (for about a year now) for building VMWare = images directly (the full image, not just the vmdk). Such images can be = booted directly in Fusion with no extra effort. For a while, I used = that to upgrade my FreeBSD dev environment (build a new image with = appropriate password and an fstab that NFS mounts all the home and = source directories) rather than doing in-place source upgrades. If anyone wants to rip that code out into a separate tool that accepts a = pre-built vmdk, the code is pretty self-contained: = https://github.com/kientzle/crochet-freebsd/tree/master/board/VMWareGuest I also looked at generating Parallels images but the format is = undocumented and considerably more complex. Never looked at .ova. Tim