Mounting Partitions *inside* a dd Image
D. Hugh Redelmeier
hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Wed Jan 27 02:10:16 UTC 2010
| From: Mike Kallies <mike.kallies-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
| Does anyone know a trick to mount the partitions inside the image?
Read "THE LOOP DEVICE" section in mount(8):
This type of mount knows about four options, namely loop, offset, size-
limit and encryption, that are really options to losetup(8). (These
options can be used in addition to those specific to the filesystem
type.)
So you can mount a lump within your image.
How do you find out which offset and size to use? I guess fdisk can
help (as Ted suggested).
Recommendation: mount read-only.
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list