Skip to content

Instantly share code, notes, and snippets.

@noperator
noperator / mount-encrypted-sparsebundle.sh
Last active March 17, 2026 02:38
Decrypt and mount an encrypted sparse bundle disk image using https://github.com/jief666/sparsebundlefs.
# Create mount points for decrypted sparse bundle disk image and full Apple disk image.
sudo mkdir /mnt/bundle /mnt/dmg
# Ensure loopback kernel module is loaded.
lsmod | grep ^loop || sudo modprobe loop
# Decrypt and FUSE-mount sparse bundle disk image. Trailing options help with debugging.
sudo sparsebundlefs <ENCRYPTED_SPARSE_BUNDLE_DISK_IMAGE> /mnt/bundle -s -f -D
# Note partition 2's "Start" and "Size" values.

Keybase proof

I hereby claim:

  • I am calebgross on github.
  • I am calebgross (https://keybase.io/calebgross) on keybase.
  • I have a public key whose fingerprint is 58D4 3573 7EE6 4F7E 79B7 95C3 9D51 B737 7EC0 32ED

To claim this, I am signing this object: