Skip to main content

imagemounter is a command-line utility and Python package to ease the mounting and unmounting of EnCase, Affuse, vmdk and dd disk images (and other formats supported by supported tools). It supports mounting disk images using xmount (with optional RW cache), affuse, ewfmount and vmware-mount; detecting DOS, BSD, Sun, Mac and GPT volume systems; mounting FAT, Ext, XFS UFS, HFS+, LUKS and NTFS volumes, in addition to some less known filesystems; detecting (nested) LVM volume systems and mounting its subvolumes; and reconstructing Linux Software RAID arrays.

In its default mode, imagemounter will try to start mounting the base image on a temporary mount point, detect the volume system and then mount each volume seperately. If it fails finding a volume system, it will try to mount the entire image as a whole if it succeeds in detecting what it actually is.

This package supports Python 3.6+.

Example

A very basic example of a valid mount is as follows. The command-line utility has much more features, but results vary wildly depending on the exact type of disk you are trying to mount:

# imount lvm_containing_dos_volumesystem_containing_ext4
[+] Mounting image lvm_containing_dos_volumesystem_containing_ext4 using auto...
[+] Mounted raw image [1/1]
[+] Mounted volume 2.0 GiB 4.0.2:Ext4 / [Linux] on /tmp/im_4.0.2_8l86mZ.
>>> Press [enter] to unmount the volume, or ^C to keep mounted...
[+] Parsed all volumes!
[+] Analysis complete, unmounting...
[+] All cleaned up

If you want to see for yourself, you could try executing imount /dev/sda first.

Documentation

Full documentation of this project is available from http://imagemounter.readthedocs.org/ or in the docs/ directory.

Installation

This package does not require other packages, though termcolor is recommended and pytsk3 is needed if you wish to use this package for volume detection.

Just perform the following commands for a basic installation:

apt-get install xmount ewf-tools afflib-tools sleuthkit
pip3 install imagemounter-mitre
imount --check

Use imount --check to verify which packages are (not) installed. Install additional packages as needed.

Contributing

Since imagemounter is an open source project, contributions of many forms are welcomed. Examples of possible contributions include:

  • Bug patches

  • New features

  • Documentation improvements

  • Bug reports and reviews of pull requests

RELEASE STATEMENT

Approved for Public Release; Distribution Unlimited. Public Release Case Number 22-3208.

Metadata

Release files for imagemounter-mitre 2025.2.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imagemounter-mitre 2025.2.27
File Size Uploaded
imagemounter-mitre-2025.2.27.tar.gz 72.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imagemounter-mitre 2025.2.27
File Interpreter ABI Platform
imagemounter_mitre-2025.2.27-py3-none-any.whl Python 3 none any Details

Total release size: 127.0 kB

Release files / imagemounter-mitre-2025.2.27.tar.gz

Download URL imagemounter-mitre-2025.2.27.tar.gz
Size 72.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4236a85cfffa55d536fd8b12b82b6234b80852ec4ce6f64d0349200528659a86
BLAKE2b-256 checksum
How to use checksums
be7e0afa3b0210d5d6f7006c9daad785e4ec042a0b6f12055423e663b94cd10d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2025.

Transparency log

Release files / imagemounter_mitre-2025.2.27-py3-none-any.whl

Download URL imagemounter_mitre-2025.2.27-py3-none-any.whl
Size 54.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2566795308400cae37c6b0fc727f9f2d1de82ff6f9085c7510fea63ed835691f
BLAKE2b-256 checksum
How to use checksums
c6f537801e5f6246118ada1ad7a195c7a65c5b022c3cacfa6d823496048f18a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

2025.2.27 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page