From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQGl6-0006bC-V5 for qemu-devel@nongnu.org; Sat, 16 Feb 2008 01:42:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQGl5-0006Zx-5W for qemu-devel@nongnu.org; Sat, 16 Feb 2008 01:42:48 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQGl4-0006Zu-Vw for qemu-devel@nongnu.org; Sat, 16 Feb 2008 01:42:47 -0500 Received: from wa-out-1112.google.com ([209.85.146.178]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <10walls@gmail.com>) id 1JQGl4-0004oi-Bx for qemu-devel@nongnu.org; Sat, 16 Feb 2008 01:42:46 -0500 Received: by wa-out-1112.google.com with SMTP id k22so1748461waf.18 for ; Fri, 15 Feb 2008 22:42:45 -0800 (PST) Message-ID: <47B6858E.3020008@gmail.com> Date: Sat, 16 Feb 2008 14:41:18 +0800 From: JonY <10walls@gmail.com> MIME-Version: 1.0 Subject: Re: [Qemu-devel] How to extract content of a raw image on host? References: <47B683F0.3050109@googlemail.com> In-Reply-To: <47B683F0.3050109@googlemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Dirk Behme wrote: > Hi, > > is there a way to extract the contents of a qemu raw image on (x86 > Linux) host without starting QEMU itself? If so, any hint would be quite > nice. > > I'm looking for anything like the reverse what > > http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00448.html > > seems to do. Extract files/directories from an existing raw image. > > qemu-img reports me > > > qemu-img info disk.img > image: disk.img > file format: raw > virtual size: 4.3M (4515328 bytes) > disk size: 4.3M > > but what is in it and how to access the content? > > Thanks, and sorry if this is a FAQ and I missed the correct search string, > > Dirk > > > Hi, have you tried using a loop back mount?