Mounting apple .dmg files in fedora

Richard Shaw hobbes1069 at gmail.com
Thu May 5 18:11:45 UTC 2011


On Thu, May 5, 2011 at 1:06 PM, JD <jd1008 at gmail.com> wrote:
> On 05/05/11 10:12, Joe Zeff wrote:
>> On 05/05/2011 10:08 AM, JD wrote:
>>> I tried to mount an Apple .dmg file like so:
>>>
>>> mount -t hfs  -o loop ximg.dmg /mnt/dmg
>>> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>>>           missing codepage or helper program, or other error
>>>           In some cases useful info is found in syslog - try
>>>           dmesg
>> Does dmesg have anything relevant to say?
> $ dmesg | egrep -i 'dmg|hfs'
> hfs: can't find a HFS filesystem on dev loop0.
> hfs: unable to find HFS+ superblock
> hfs: unable to find HFS+ superblock
>
> Could this be a corrupted dmg?

It's more likely that the HFS driver doesn't know how to handle the
compression. If you knew what compression was used (there's multiple)
then you might have a shot.

It may be better to try one of the conversion utilities instead.

Richard


More information about the users mailing list