There are two steps (not including installing the applicable packages which make reading Apple's HFS+ disk format possible):
- convert the .dmg file into a .img file
- mount the resulting .img disk image
Once you have the appropriate packages installed, do the following (assume the .dmg file is mydisk.dmg):
$ dmg2img mydisk.dmg
$ sudo modprobe hfsplus
$ sudo mkdir /mnt/mydisk
$ sudo mount -t hfsplus -o loop mydisk.img /mnt/mydisk
$ cd /mnt/mydisk
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.