This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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. |