xmount

Convert on-the-fly between multiple input and output hard disk image types with optional write cache support.

TLDR

Mount a .raw image file into a DMG container file

$ xmount --in [raw] [path/to/image.dd] --out [dmg] [mountpoint]
copy

Mount an EWF image file with write-cache support into a VHD file to boot from

$ xmount --cache [path/to/cache.ovl] --in [ewf] [path/to/image.E??] --out [vhd] [mountpoint]
copy

Mount the first partition at sector 2048 into a new .raw image file

$ xmount --offset [2048] --in [raw] [path/to/image.dd] --out [raw] [mountpoint]
copy

Copied to clipboard
sandbox