*.dmg Apple Disk Images

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
Chili
Posts: 2
Joined: 12 Feb 2014, 21:29

*.dmg Apple Disk Images

#1 Post by Chili »

Hi!

With bad rsync argument, I'm delete some *.dmg file (with cc. 2000 photos) and trying recover these files.
Other dmg files hexdump:

Code: Select all

00000000  78 01 ed d7 41 6a c2 40  14 00 d0 af 86 2e ba 75  |x...Aj.@.......u|
00000010  5d 98 6d 77 a2 45 97 6d  a0 16 a4 34 01 a9 07 f0  |].mw.E.m...4....|
00000020  0a 9e a0 07 e8 a2 f4 18  5e c0 43 79 81 ee 6c 22  |........^.Cy..l"|
00000030  0a ea 3a 8b 40 de 5f 24  33 93 30 fc 79 7f f3 67  |..:.@._$3.0.y..g|
00000040  1f 3f e9 14 d1 7f f9 cd  fa 51 c5 5f c4 73 1c 22  |.?.......Q._.s."|
00000050  52 35 ce 76 83 dd 43 bd  18 51 7f eb c5 dd 71 7c  |R5.v..C..Q....q||
00000060  7e 7c c5 e3 e4 69 3c 2b  16 ef 65 91 5e a7 a3 51  |~|...i<+..e.^..Q|
00000070  7a cb 3f 27 e3 6a cb f3  1f de ed 15 58 6d 97 cb  |z.?'.j......Xm..|
00000080  75 de de fc 64 d6 84 c0  66 93 af 87 e5 7d 0c be  |u...d...f....}..|
00000090  b3 9b ed 56 db 9b 05 d3  4e 09 a8 7f a7 ca ed b0  |...V....N.......|

Code: Select all

00000000  78 01 ed d7 4d 6a c2 50  10 00 e0 a9 95 ae bc 42  |x...Mj.P.......B|
00000010  e1 2d db 5d 50 b1 4b 1b  68 0b a5 18 41 ea 01 72  |.-.]P.K.h...A..r|
00000020  05 4f d0 23 14 8f 91 0b  78 a4 2e bc 40 77 36 11  |.O.#....x...@w6.|
00000030  05 e9 52 04 ff be 59 24  2f 7f 8f 79 df 24 30 59  |..R...Y$/..y.$0Y|
00000040  c6 77 da 44 b4 9e e7 ed  56 d4 f1 1b 31 8c 55 44  |.w.D....V...1.UD|
00000050  aa c7 ed c5 ed e2 be 39  19 d1 5c bb 89 bb f5 78  |.......9..\....x|
00000060  bb f9 8a c7 5e bf fb 54  bc 7f 8c 8b f4 32 c8 b2  |....^..T.....2..|
00000070  f4 96 7f f6 ba f5 94 db  3b ec 4f 57 60 5a 4d 26  |........;.OW`ZM&|
00000080  65 7e ba f9 c9 ec 10 02  b3 59 5e fe 54 9d 78 c8  |e~.......Y^.T.x.|
00000090  d6 5f f7 ce 94 d3 6a e7  c0 f0 ea 04 d4 ff ea 4a  |._....j........J|

Code: Select all

00000000  78 01 ed d7 41 6a c2 40  14 00 d0 af 95 2e bd 81  |x...Aj.@........|
00000010  30 db ee 24 16 bb ac 81  b6 20 d2 08 52 0f e0 15  |0..$..... ..R...|
00000020  3c 81 37 68 f1 18 5e c0  d3 78 02 2f d0 9d 4d a4  |<.7h..^..x./..M.|
00000030  82 ba ce 22 90 f7 17 c9  cc 24 0c 7f de df fc 39  |...".....$.....9|
00000040  c6 4f fa 8f e8 4e b6 bd  6e 94 f1 1b f1 1a a7 88  |.O...N..n.......|
00000050  54 8e 7b fb 87 fd a0 5a  8c a8 be 75 e2 f1 3c be  |T.{....Z...u..<.|
00000060  3c 36 f1 34 7a ce 5e 8a  e9 6c 5e a4 b7 f1 70 98  |<6.4z.^..l^...p.|
00000070  3e f2 af 51 56 6e 79 f9  c3 bb b9 02 cb dd 62 b1  |>..QVny.......b.|
00000080  ca 9b 9b 9f cc ea 10 58  af f3 55 f6 dd 8f c3 ec  |.......X..U.....|
00000090  7e b7 e5 ee 7e c5 bc 4d  02 ea df a6 6a 3b 2b 01  |~...~..M....j;+.|

Code: Select all

00000000  eb 00 90 20 20 20 20 20  20 20 20 00 02 40 92 04  |...        ..@..|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 20 00 00  |........?.... ..|
00000020  00 04 b7 03 b7 1d 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 33 34 32 37 4e  49 4b 4f 4e 20 44 36 30  |..)3427NIKON D60|
00000050  30 20 46 41 54 33 32 20  20 20 00 00 00 00 00 00  |0 FAT32   ......|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200  52 52 61 41 00 00 00 00  00 00 00 00 00 00 00 00  |RRaA............|
How can i make the photorec.sig?
Thanks all idea!

Arment
Posts: 3
Joined: 03 Jan 2015, 13:40

Re: *.dmg Apple Disk Images

#2 Post by Arment »

Hi

I'm looking for add .dmg too.

Does anyone get success with .dmg ?

Thanks for help


PS : french speaking too

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: *.dmg Apple Disk Images

#3 Post by cgrenier »

Concerning the first 3 files, you can use the signature

Code: Select all

dmg 0 0x78 0x01 0xed 0xd7 0x41 0x6a 0xc2

Arment
Posts: 3
Joined: 03 Jan 2015, 13:40

Re: *.dmg Apple Disk Images

#4 Post by Arment »

Hi,

I'm trying to understand but I think I don't have enough skills :)

I don't understand where may I put the new signature :

http://www.cgsecurity.org/wiki/Add_your ... o_PhotoRec

Can you help with details please.

Mac OS Yosemite with testdisk-7.0-WIP.mac_intel

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: *.dmg Apple Disk Images

#5 Post by cgrenier »


Arment
Posts: 3
Joined: 03 Jan 2015, 13:40

Re: *.dmg Apple Disk Images

#6 Post by Arment »

I read first before I posted my ask.
I don't understand this way. It's too hard for me.
I got HexEdit for mac. What must I do after ? Open a .dmg in HexEdit. It's not clear for me. I'm sorry :|
I know, I must create the photorec.sig with textedit

Locked