From: Dirk Behme <dirk.behme@googlemail.com>
To: JonY <10walls@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to extract content of a raw image on host?
Date: Sat, 16 Feb 2008 08:18:33 +0100 [thread overview]
Message-ID: <47B68E49.7020906@googlemail.com> (raw)
In-Reply-To: <47B6858E.3020008@gmail.com>
JonY wrote:
> 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?
# mount -o loop disk.img mnt/
mount: You have to specify a file system type
# mount -t raw -o loop disk.img mnt/
mount: unknown file system type „raw“
Sorry if I miss the obvious ;)
Dirk
next prev parent reply other threads:[~2008-02-16 7:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-16 6:34 [Qemu-devel] How to extract content of a raw image on host? Dirk Behme
2008-02-16 6:41 ` JonY
2008-02-16 7:18 ` Dirk Behme [this message]
2008-02-16 7:44 ` JonY
2008-02-16 7:47 ` JonY
2008-02-16 7:55 ` Laurent Vivier
2008-02-16 13:47 ` Stuart Brady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B68E49.7020906@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=10walls@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).