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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
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?
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?
On Thu, May 5, 2011 at 1:06 PM, JD jd1008@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
On Thu, May 5, 2011 at 10:08 AM, JD jd1008@gmail.com 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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
Apple .dmg files are compressed High Performance File System files (hpfs), not hfs. I don't know if Fedora can or even should mount them
James McKenzie
On Thu, May 5, 2011 at 12:40 PM, James McKenzie jjmckenzie51@gmail.com wrote:
On Thu, May 5, 2011 at 10:08 AM, JD jd1008@gmail.com 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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
Apple .dmg files are compressed High Performance File System files (hpfs), not hfs. I don't know if Fedora can or even should mount them
Yes, they appear to be compressed but I think you're mistaken on the file system. Googling HPFS and Apple seemed to indicate the HPFS was more of an OS/2 format and that HFS+ was the current file system.
I think the problem is that the image is compressed. One site recommended using "file" to see if it was helpful, i.e.:
file <image>.dmg
I also found references to a few programs that can convert a dmg to something easer to use.
Richard
On Thu, May 5, 2011 at 10:55 AM, Richard Shaw hobbes1069@gmail.com wrote:
On Thu, May 5, 2011 at 12:40 PM, James McKenzie jjmckenzie51@gmail.com wrote:
On Thu, May 5, 2011 at 10:08 AM, JD jd1008@gmail.com 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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
Apple .dmg files are compressed High Performance File System files (hpfs), not hfs. I don't know if Fedora can or even should mount them
Yes, they appear to be compressed but I think you're mistaken on the file system. Googling HPFS and Apple seemed to indicate the HPFS was more of an OS/2 format and that HFS+ was the current file system.
Thank you for the correction on the file system type.
I think the problem is that the image is compressed. One site recommended using "file" to see if it was helpful, i.e.:
file <image>.dmg
Interesting. Might prove useful for troubleshooting corrupt .dmg files.
James McKenzie
On 05/05/11 10:55, Richard Shaw wrote:
On Thu, May 5, 2011 at 12:40 PM, James McKenziejjmckenzie51@gmail.com wrote:
On Thu, May 5, 2011 at 10:08 AM, JDjd1008@gmail.com 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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
Apple .dmg files are compressed High Performance File System files (hpfs), not hfs. I don't know if Fedora can or even should mount them
Yes, they appear to be compressed but I think you're mistaken on the file system. Googling HPFS and Apple seemed to indicate the HPFS was more of an OS/2 format and that HFS+ was the current file system.
I think the problem is that the image is compressed. One site recommended using "file" to see if it was helpful, i.e.:
file<image>.dmg
I also found references to a few programs that can convert a dmg to something easer to use.
Richard
$ file *.dmg ximg.dmg: data
On 05/05/11 10:40, James McKenzie wrote:
On Thu, May 5, 2011 at 10:08 AM, JDjd1008@gmail.com 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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
Apple .dmg files are compressed High Performance File System files (hpfs), not hfs. I don't know if Fedora can or even should mount them
James McKenzie
What do you mean "should" ??? There is nothing fedora "should not" do! If it serves our needs, then it should indeed be done.
On Thu, May 5, 2011 at 2:08 PM, JD jd1008@gmail.com 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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
Wikipedia has some good info: http://en.wikipedia.org/wiki/Apple_Disk_Image
It suggests the command line: mount -o loop,ro -t hfsplus imagefile.dmg /mnt/mountpoint
Not sure if the ro will make a difference ... you might have to install some other hfs utilities to make that work. I know that there seem to be two mutually incompatible took sets for hfs in the repositories.
There are also some other conversion utilities mentioned there.
While dmg files are disk images, it almost seems that File Roller should be the right tool.
/Mike
On 05/05/11 17:31, Michael Wiktowy wrote:
On Thu, May 5, 2011 at 2:08 PM, JDjd1008@gmail.com 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
Well, the blogs say this should work. I even tried -t hfsplus with the same result.
Am I missing a relevant package?
I have hfsplus-tools-332.14-11.fc13.i686 installed, and F14 has no higher rev update for it, at least according to yum.
Wikipedia has some good info: http://en.wikipedia.org/wiki/Apple_Disk_Image
It suggests the command line: mount -o loop,ro -t hfsplus imagefile.dmg /mnt/mountpoint
Not sure if the ro will make a difference ... you might have to install some other hfs utilities to make that work. I know that there seem to be two mutually incompatible took sets for hfs in the repositories.
There are also some other conversion utilities mentioned there.
While dmg files are disk images, it almost seems that File Roller should be the right tool.
/Mike
Firgetaboudit! It does not work. You must convert it to iso first. See dmg2iso package.