From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 10 15:34:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A00B8624 for ; Mon, 10 Dec 2012 15:34:26 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5C96A8FC1C for ; Mon, 10 Dec 2012 15:34:25 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so3215801obc.13 for ; Mon, 10 Dec 2012 07:34:25 -0800 (PST) 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=649bbkX5Fw4Bb3AVmqs4Nyo+RjPIbqo4fuaL6eu4d7E=; b=vxf/1XBFZjXU+49MkZ/ss6Sy1yTyfXrmjwAZYYp2upkIkP0HhT6UhkKNJBhv/f+YHA iZclEL8jNjbai6RiUNVZTcpuBUnYlz5UyV4JxwIcqq9gYwPlQDTslh7GmYcHn7kX/MfG w94U4A3qkNOehjP+NZGJs6j6xWMzsC95sJTJA4rIWNv2sb5Y99eCICqrXsmCxaZTUWHJ CjyKSTpPfKu4yTL9f5A0tJ/ZK5f6ehKljUkFI2spk/IMHMLqroppm64FwjoojecT6s3E cb5ZlYcCyBJRsqR9A6fXX+WodGle6M/bt+1Rqg9pJtUsmLyt+yIxnA4Y7dHnegFu6F68 imnw== MIME-Version: 1.0 Received: by 10.182.43.104 with SMTP id v8mr7507149obl.98.1355153665348; Mon, 10 Dec 2012 07:34:25 -0800 (PST) Received: by 10.60.170.167 with HTTP; Mon, 10 Dec 2012 07:34:25 -0800 (PST) In-Reply-To: <11212101048.AA17688@pluto.rain.com> References: <11212101048.AA17688@pluto.rain.com> Date: Mon, 10 Dec 2012 17:34:25 +0200 Message-ID: Subject: Re: using FreeBSD to create a completely new OS From: Alexander Yerenkow To: Perry Hutchison Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org, zbeeble@gmail.com, aryeh.friedman@gmail.com 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: Mon, 10 Dec 2012 15:34:26 -0000 If you consider VirtualBox for automated tests, you should make some testing life cycle. I'd recommend to you: 1. create sparse file (truncate -s 1G for example) 2. mdconfig -af file (produced md0) 3. work with md0 as if it was real hw disk (write boot sectors, fs, etc), then destroy md0 (mdconfig -du 0) 4. create vmdk for file ( https://github.com/yerenkow/freebsd-vm-image/blob/master/freebsd-firmware/create-scsi-vmdk.sh -- this helps me create vmdk for raw file and feed them to VmWare/Virtualbox just fine) 5. boot VirtualBox using cli (and run some tests). I had some experience in running in-virtualbox-os tests a while ago, but there was real OS there, and not test one. Hope this helps. -- Regards, Alexander Yerenkow