¿ìËÙÒµÎñͨµÀ

linuxÏÂʹÓÃÆ»¹ûdmg¸ñʽÎļþ

×÷Õß ØýÃû¼¼Êõ À´Ô´ Linuxϵͳ ä¯ÀÀ ·¢²¼Ê±¼ä 2012-04-19

linuxÏÂʹÓÃÆ»¹ûdmg¸ñʽÎļþ

²Î¿¼ºìñ¹ÙÍø£ºhttp://www.cn.redhat.com/kbase/0708/5667.php

°²×°»·¾³£º

Download dmgmounter

http://sourceforge.net/projects/dmgmount/files/dmgmount/dmgmounter-0.1/dmgmounter-0.1.tar.gz/download

°æ±¾£ºCentOS 5.4

# uname -r

2.6.18-128.el5

Ïêϸ²½Ö裺

# ll -d ''Squid Manager 1.2.dmg''

-rwxrwxrwx 1 root root 403641 Jan 26 2003 Squid Manager 1.2.dmg

# file ''Squid Manager 1.2.dmg'' =================´Ë´¦ºÍ¹ÙÍøÉÏÃèÊöµÄ²»Ò»ÖÂ

Squid Manager 1.2.dmg: VAX COFF executable not stripped - version 2274

ÎÒÃÇÏÈ°´ÕÕ¹ÙÍøµÄÊÔһϣº

# mount -t hfsplus -o loop ''Squid Manager 1.2.dmg'' /mnt

mount: wrong fs type, bad option, bad superblock on /dev/loop1,

missing codepage or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

¸ù¾ÝÌáʾÎÒÃdz¢ÊÔdmesg ºÍtailÁ½¸öÃüÁî,³öÏÖÏÂÃæ½á¹û£º

# tail ''Squid Manager 1.2.dmg''

<key>Name</key>

<string></string>

</dict>

</array>

</dict>

</dict>

</plist>

ld[1]\mish[1] ..

`de.п?ãÀV?V?.è¿?ãÐ.????? [1]?ãð

20

de.Qx??V?e.п??

g[1]?[1]????[1][1][1]PMSingle VolumeApple_HFS ???? ldhFblkxplst?P??P[1]`Single Volume (Apple~S : 0??[1]0??€

..[1] /~?q`[1]|[1]|.п?àÀr???%@.`.?àÀ..\.п?àÀ$B.X?äÀ

~k[1] ?.[root@song ~]# XshellXshellXshellXshellXshellXshellXshellXshellXshellXshell

-bash: XshellXshellXshellXshellXshellXshellXshellXshellXshellXshell: command not found

# dmesg ''Squid Manager 1.2.dmg''

£º £º £º

eth1: link up

eth1: no IPv6 routers present

eth1: link down

eth1: link up

hfs: unable to find HFS superblock

hfs: can''t find a HFS filesystem on dev loop0.

hfs: unable to find HFS superblock

hfs: unable to find HFS superblock

hfs: unable to find HFS superblock

hfs: unable to find HFS superblock

hfs: can''t find a HFS filesystem on dev loop1.

GoogleºóµÃÖªÐëÏÂÔØÒ»¸ö¶îÍâµÄ¹ÒÔؽű¾£º

ÏÂÔØ

http://sourceforge.net/projects/dmgmount/files/dmgmount/dmgmounter-0.1/dmgmounter-0.1.tar.gz/download

½âѹËõ

# tar -zxvf dmgmounter-0.1.tar.gz ¨CC /root/dmgmounter

Ö´ÐÐÈçÏÂÃüÁ

# /root/dmgmounter/dmg2img/dmg2img /root/Squid\ Manager\ 1.2.dmg /mnt/my.img

dmg2img v0.3a is derived from dmg2iso by vu1tur (to@vu1tur.eu.org)

/root/Squid Manager 1.2.dmg --&gt; /mnt/my.img

reading property list, 3947 bytes from address 396670 ...

decompressing:

opening partition 0 ... 99.97 % ok

opening partition 1 ... ok

Archive successfully decompressed as /mnt/my.img

Linux users should be able to mount the archive [as root] by :

modprobe hfsplus

mount -t hfsplus -o loop /mnt/my.img /mnt

# modprobe hfsplus

# lsmod | grep hfsplus

hfsplus 75589 0

# mount -t hfsplus -o loop /mnt/my.img /media

mount: wrong fs type, bad option, bad superblock on /dev/loop1,

missing codepage or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

Googleºó,ÍøÉÏÓеÄ˵kernelÐèҪʱ2.6.15°æ±¾ÒÔÉÏ,µ«ÊÇÎÒÃÇ»¹ÊdzöÏÖÎÊÌâÁË.ÔÚÍøÉϲéÁ˺ܾÃҲûÓÐÏßË÷.ÆäʵÎÒÃÇ×Ðϸ¹Û²ìµÄ»°,ÎÒÃǻᷢÏÖÔÚdmesgÃüÁ´íʱ,ÎÒרÃÅ°ÑÄ©

ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»!

·ÖÏíµ½£º ¸ü¶à

Copyright ©1999-2011 ÏÃÃÅÁèÖڿƼ¼ÓÐÏÞ¹«Ë¾ ÏÃÃÅÓÅͨ»¥Áª¿Æ¼¼¿ª·¢ÓÐÏÞ¹«Ë¾ All rights reserved

µØÖ·(ADD)£ºÏÃÃÅÈí¼þÔ°¶þÆÚÍûº£Â·63ºÅ701E£¨¶«ÄÏÈÚͨÅÔ£© Óʱà(ZIP)£º361008

µç»°£º0592-5908028 ´«Õ棺0592-5908039 ×ÉѯÐÅÏ䣺web@lingzhong.cn ×ÉѯOICQ£º173723134

¡¶ÖлªÈËÃñ¹²ºÍ¹úÔöÖµµçÐÅÒµÎñ¾­ÓªÐí¿ÉÖ¤¡·ÃöB2-20100024  ICP±¸°¸:ÃöICP±¸05037997ºÅ