Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYGRp-0004EY-Rn for qemu-devel@nongnu.org; Tue, 25 Apr 2006 01:50:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYGRn-0004EM-BX for qemu-devel@nongnu.org; Tue, 25 Apr 2006 01:50:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYGRn-0004EJ-8g for qemu-devel@nongnu.org; Tue, 25 Apr 2006 01:50:51 -0400 Received: from [203.142.22.130] (helo=mx.new.tusker.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYGUB-0003TJ-8S for qemu-devel@nongnu.org; Tue, 25 Apr 2006 01:53:19 -0400 Received: from localhost (localhost [127.0.0.1]) by mx.new.tusker.net (Postfix) with ESMTP id 625BC17819B7 for ; Tue, 25 Apr 2006 13:50:48 +0800 (SGT) Received: from mx.new.tusker.net ([127.0.0.1]) by localhost (new.tusker.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16079-04 for ; Tue, 25 Apr 2006 13:50:43 +0800 (SGT) Received: from [192.168.1.13] (datalex.cable.nu [203.117.94.152]) by mx.new.tusker.net (Postfix) with ESMTP id ADC6517819B6 for ; Tue, 25 Apr 2006 13:50:43 +0800 (SGT) Message-ID: <444DB8A5.5080908@tusker.org> Date: Tue, 25 Apr 2006 13:50:29 +0800 From: Damien Mascord MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Raw HDD image script Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Heya guys, I have put together a simple script that will take a directory, and turn it into a bootable raw disk image. (busybox on uClibc) Currently it is for PITA (http://ali.as/pita/), though since it is based on a directory, a purpose built HDD image is very easy. The script has to be run as a root privileged user, since it chroots, and using losetup. It can be found at http://tusker.sg/hdd.image.creator.tar.bz2 Hopefully it is useful to people creating disk images for qemu... Please feedback any criticism or patches :) Cheers, Damien