Filesystem Problems with DMG


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Filesystem Problems with DMG
# 1  
Old 11-28-2012
Filesystem Problems with DMG

Hi all! I have a task that has been giving me problems.I have my sister-in-law's external hard drive that has been damaged and the filesystem is not mountable.

I am on a Mac running OSX 10.6.8

Using ddrescue, I recovered the contents and transferred to my external drive:

Code:
sudo ddrescue -v /dev/disk5 /volumes/backup/jj-recover.dmg jj-recover.log

Upon completion, I tried to mount the image by double-clicking it but received the error:

Code:
"No mountable filesystem"

So I tried using hdiutil:
Code:
sudo hdiutil attach -nomount /volumes/backup/jj-recover.dmg

Success!
Code:
/dev/disk6

So I try to mount:

Code:
sudo mkdir /volumes/jj-drive
sudo mount -t hfs -r /dev/disk6 /volumes/jj-drive

Error

Code:
hfs: failed to load catalog file

So I ran Testdisk and got this information:

Code:
Disk /dev/rdisk5 - 1000 GB / 931 GiB - 1953525168 sectors                       
     Partition               Start        End    Size in sectors                
>P CramFS                 313874337  319333484    5459148 [     L  ^Og~Yo]      
 P HFS+                  1952521844 1953058783     536940


1952521844
1953058783

So here I am debating what to do. I was hoping that someone may have had similar issue or may have some recommendation as to what to do next.

I appreciate any and all help!!

Thank you!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Restore .dmg containing multiple partitions to bootable USB flash drive

I have a .dmg file which was created from a disk consisting of two partitions. When I mount the dmg both partitions pop up, so I know the imaging worked properly. One partition is HFS+ and the other is FAT32. So far, I've been unable to find a way to restore the dmg to a flash drive where both... (17 Replies)
Discussion started by: paulcristo
17 Replies

2. HP-UX

Problems after filesystem housekeeping

I have noticed that after I clear up the /var filesystem, there are always problems. Does deleting the OLDsyslog.log file cause problems like missing directories and problems accessing crontabs? There were two situations where I faced problems. 1) Deleted OLDsyslog.log (Of course I created... (5 Replies)
Discussion started by: anaigini45
5 Replies

3. OS X (Apple)

How to install .dmg using shell script

I want to write a script to install an application using .dmg file. .dmg file already exists in the folder. working on MAC OS. (8 Replies)
Discussion started by: zorosinister
8 Replies

4. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

5. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

6. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

7. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

8. Shell Programming and Scripting

Filesystem Monitoring script problems

Hi there all, #!/usr/bin/ksh Set -x MIN_MB_FREE="100MB" # Min. MB of Free FS Space MAX_PERCENT="85%" # Max. FS percentage value FSTRIGGER="1000MB" # Trigger to switch from % Used to MB Free WORKFILE="/tmp/df.work" # Holds filesystem data >$WORKFILE #... (0 Replies)
Discussion started by: draco
0 Replies

9. UNIX for Advanced & Expert Users

Problems filesystem

Hi, I've a Unixware 7.1.4, the machine has 3 disks, the second disk is not mounted, he said the message "WARNING: msgcnt 2 vxfs: mesg 021: vx_fs_init - /dev/dsk/c0b0t1d0s1 file system validation failure". I use the fsck command to check and repair, during the pocess apears messages to... (3 Replies)
Discussion started by: By_Jam
3 Replies

10. UNIX for Advanced & Expert Users

'make' problems (compliation problems?)

I'm trying to compile and install both most recent version of 'make' and the most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies
Login or Register to Ask a Question