Skip to content

Instantly share code, notes, and snippets.

@h4x0r
Last active April 20, 2024 10:37
Show Gist options
  • Save h4x0r/14645c220b20348d23074012fa3c9fe2 to your computer and use it in GitHub Desktop.
Save h4x0r/14645c220b20348d23074012fa3c9fe2 to your computer and use it in GitHub Desktop.
Mount .e01 on Mac
# first manually install macFUSE (https://github.com/osxfuse/osxfuse/releases)
brew uninstall libewf # Homebrew libewf isn't compiled with libfuse support
# download libewf (libewf-experimental-20231119.tar.gz)
mkdir -p ~/src && cd ~/src
wget -O- https://github.com/libyal/libewf/releases/download/20231119/libewf-experimental-20231119.tar.gz | tar zxvf -
cd libewf-20231119
CFLAGS="-I/opt/homebrew/include -L/opt/homebrew/lib" ./configure --enable-wide-character-type=yes
sudo make install
sudo ewfmount -X volicon=/Library/Filesystems/macfuse.fs/Contents/Resources/Volume.icns foo.e01 /Volume/foo
sudo hdiutil attach -imagekey diskimage-class=CRawDiskImage /Volumes/foo/ewf1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment