Hello All.

I am trying to open an Apple .DMG file on my Ubuntu box and getting no
where fast. I am essentially seeing the same errors as those posted
above so i will cut to the chase and give you the raw details.

For what its worth this could be an issue with the DMG file itself as it
is the Apple Xcode 3.1 package. I am attempting to get the needed files
from it for my Cross-build toolchain.

The file opens on OS-X 10.5.4 (PPC) *BUT!!* once the DMG file opens
there is a specific PKG file that I need to extract some more files
from, and OS-X is being difficult in that regards.

I have tried using the hfsutils to manipulate the file, but i think i
might have had my syntax wrong.

I am open to suggestions.

Below are my system details and error messages as i am seeing them.

uname -a
Linux local.local 2.6.24-19-server #1 SMP Wed Aug 20 23:54:28 UTC 2008 i686 
GNU/Linux

Ubuntu Version
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"

Details of the DMG file

file -s xcode31_2199_developerdvd.dmg
xcode31_2199_developerdvd.dmg: Apple Partition data (block size: 2048): first 
type: Apple_partition_map, name: Apple, number of blocks: 15,

I have the current HFS and HFSPlus tools installed and loaded

modinfo hfs
filename:       /lib/modules/2.6.24-19-server/kernel/fs/hfs/hfs.ko
license:        GPL
srcversion:     BCEAEC1325DFD39D4F2E87F
depends:
vermagic:       2.6.24-19-server SMP mod_unload 686

modinfo hfsplus
filename:       /lib/modules/2.6.24-19-server/kernel/fs/hfsplus/hfsplus.ko
license:        GPL
description:    Extended Macintosh Filesystem
author:         Brad Boyer
srcversion:     A86104D13EF405C057FDF99
depends:
vermagic:       2.6.24-19-server SMP mod_unload 686

lsmod | grep hfs
hfsplus                79492  0
hfs                    49668  0

cat /proc/filesystems | grep hfs
        hfs
        hfsplus

These are the error message that i see when trying to loop mount the
file

mount -t hfsplus -o loop xcode31_2199_developerdvd.dmg /mnt/xcode-file/
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 | tail  or so

mount -t hfs -o loop xcode31_2199_developerdvd.dmg /mnt/xcode-file/
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 | tail  or so


dmesg | tail , gives the following details when trying a few different ways to 
mount the file.

[97452.756874] hfs: unable to parse mount options.
[98192.910669] hfs: can't find a HFS filesystem on dev loop0.
[98388.867869] hfs: can't find a HFS filesystem on dev loop0.
[98754.501466] hfs: unable to find HFS+ superblock
[98918.649286] hfs: unable to find HFS+ superblock
[98926.033517] hfs: can't find a HFS filesystem on dev loop0.

-- 
Can't mount hfs CD-ROM
https://bugs.launchpad.net/bugs/144481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to