From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8Q5W-0006V5-NC for qemu-devel@nongnu.org; Mon, 07 Mar 2005 16:48:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8Q5O-0006QT-LT for qemu-devel@nongnu.org; Mon, 07 Mar 2005 16:48:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8Q5O-0006Nw-31 for qemu-devel@nongnu.org; Mon, 07 Mar 2005 16:48:22 -0500 Received: from [64.233.184.201] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8Pjo-0003fX-Qm for qemu-devel@nongnu.org; Mon, 07 Mar 2005 16:26:04 -0500 Received: by wproxy.gmail.com with SMTP id 36so13297wri for ; Mon, 07 Mar 2005 13:26:04 -0800 (PST) Message-ID: Date: Mon, 7 Mar 2005 22:26:02 +0100 From: Magnus Damm Subject: Re: [Qemu-devel] gentoo disk image for QEmu In-Reply-To: <1110228937.3297.18.camel@penguin> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <1110228937.3297.18.camel@penguin> Reply-To: Magnus Damm , 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 Hello, On Mon, 07 Mar 2005 21:55:36 +0100, J=E9r=F4me Bouat wrote: > I would generate a Gentoo Linux disk image for QEmu. >=20 > This source based Linux distro can be configurated to generate hardware > specific binaries through its package management system. >=20 > I previously tried with Bochs. Therefore, I wrote some scripts. The main > part of the generation was made in a Linux chrooted environment on a > real host which was compatible with the emulated host. The disk image > generation was blocked by the boot loader installation step. I'm not sure I understand your question. Is the problem that the chrooted environment was unable to install a bootloader for the target system? I've hacked up a filesystem manipulation tool that is available for downloa= d at: http://www.smallworks.com/~jim/fsimage/ The tool is actually a shell script and a small x86 distribution that together are used to access filesystems independent of root access or host kernel configuration. Needless to say, the tool depends on QEMU. 0.6.1 or newer. I am not sure if the tool is of interest for you, but maybe it helps. / magnus