Excerpt from
http://lorenzo.yellowspace.net/corrupt-sparseimage.html:
"The case handled here is: when the Finder or the terminal (hdiutil) say 'corrupt image - not when they say 'no mountable filesystems'. For the latter (whether it is an image or a real disk), there's no better tool than Disk Warrior."
Even if this is true I can't get the image to mount so DiskWarrior can't see it. But, am I wrong that it looks as if the image is attaching as disk5 (see below Terminal output)?
*hdiutil attach -nomount -noverify -noautofsck /Users/srogers/Desktop/Mac\ OS\ X.dmg*
/dev/disk5
*hdiutil attach -nomount -noverify -noautofsck -debug /Users/srogers/Desktop/Mac\ OS\ X.dmg*
calling DIHLDiskImageAttach with
mount-attempted: false
agent: hdiutil
auto-fsck: false
drive-options:
debug: true
skip-verify: true
image-options:
verbose: false
quiet: false
main-url: /Users/srogers/Desktop/Mac OS X.dmg
mount-required: false
2009-07-02 11:19:55.838 hdiutil[771:1c03] using helper tool at "/System/Library/PrivateFrameworks/DiskImages.framework/Resources/diskimages-he lper".
2009-07-02 11:19:55.860 hdiutil[771:1c03] connectToFramework
2009-07-02 11:19:55.961 hdiutil[771:1c03] sendOperationToHelper: about to ask proxy to start operation
status proc called: initialize
2009-07-02 11:19:55.981 diskimages-helper[773:1603] _imageOptions: {
"enable-keychain" = 1;
}
2009-07-02 11:19:55.983 diskimages-helper[773:1603] _driveOptions: {
"auto-fsck" = 0;
autodiskmount = 0;
"unmount-timeout" = 0;
}
2009-07-02 11:19:55.983 diskimages-helper[773:1603] DIHelperAttach: initializing framework
DILoadDriver: checking for disk image driver...DILoadDriver: DI_kextExists() returned 0x00000000 (0)...DIIsInitialized: returning NO2009-07-02 11:19:55.992 diskimages-helper[773:1603] -checkForPreviouslyAttachedImage: entry
2009-07-02 11:19:55.992 diskimages-helper[773:1603]
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg - (null) ((null), (null)). perm=0
DIIsInitialized: returning YESDIBackingStoreNewWithCFURL: entry with
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
skip-permissions-check: true
DIBackingStoreInstantiatorProbe: entry
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
skip-permissions-check: true
DIBackingStoreInstantiatorProbe: probing interface 0 CBSDBackingStore
CBSDBackingStore::newProbe score 100 for
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
DIBackingStoreInstantiatorProbe: probing interface 1 CBundleBackingStore
CBundleBackingStore::newProbe score -1000 for
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
DIBackingStoreInstantiatorProbe: probing interface 2 CRAMBackingStore
CRAMBackingStore::probe: scheme "file": not ram: or ramdisk: scheme.
CRAMBackingStore::probe: score -1000 for
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
DIBackingStoreInstantiatorProbe: probing interface 3 CCarbonBackingStore
CCarbonBackingStore::newProbe: setting initial rval to +100
CCarbonBackingStore::newProbe score 100 for
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
DIBackingStoreInstantiatorProbe: probing interface 4 CDevBackingStore
CDevBackingStore::newProbe: not /dev/disk or /dev/rdisk (/Users/srogers/Desktop/Mac OS X.dmg).CDevBackingStore::newProbe score -1000 for
DIBackingStoreInstantiatorProbe: probing interface 5 CCURLBackingStore
CCURLBackingStore::probe: scheme is
file
CCURLBackingStore::probe: not recognized URL scheme.
CCURLBackingStore::probe: score -1000 for
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
DIBackingStoreInstantiatorProbe: probing interface 6 CVectoredBackingStore
CVectoredBackingStore::newProbe not "vectored" scheme.
CVectoredBackingStore::newProbe score -1000 for
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg
DIBackingStoreNewWithCFURL: CBSDBackingStore
DIBackingStoreNewWithCFURL: instantiator returned 0
DIBackingStoreNewWithCFURL: returning 0x00000000
2009-07-02 11:19:55.994 diskimages-helper[773:1603] -checkForPreviouslyAttachedImage: resolving
file://localhost/Users/srogers/Desktop/Mac%20OS%20X.dmg returned 0
2009-07-02 11:19:55.994 diskimages-helper[773:1603] -checkForPreviouslyAttachedImage: imageUID (
"d234881039:i50701"
) shadowUID (null)
*** testing:
0: d234881026:i958123
(null)
(null)
*** testing:
0: d234881026:i958123
(null)
(null)
*** testing:
0: d234881026:i958123
(null)
(null)
*** testing:
0: d234881039:i50701
(null)
(null)
2009-07-02 11:19:55.997 diskimages-helper[773:1603] -[DIHelperHDID initWithDiskImage:]
2009-07-02 11:19:56.000 diskimages-helper[773:1603] DIHelperAttach: attaching disk image
2009-07-02 11:19:56.001 diskimages-helper[773:1603] performAttach: entry
status proc called: attach
2009-07-02 11:19:56.002 diskimages-helper[773:1603] setMountFlags: 0x00000000
2009-07-02 11:19:56.002 diskimages-helper[773:1603] 0x00000000
2009-07-02 11:19:56.002 diskimages-helper[773:1603] performAttach: about to remountReturningDictionary
2009-07-02 11:19:56.003 diskimages-helper[773:1603] -remountReturningDictionary:
2009-07-02 11:19:56.005 diskimages-helper[773:1603] _diskAppearedCallback: disk5
2009-07-02 11:19:56.005 diskimages-helper[773:1603] : (null)
2009-07-02 11:19:56.008 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got 2BE3FA15-D4AB-4015-BAB1-CEAF3AD68451
2009-07-02 11:19:56.009 diskimages-helper[773:1603] _diskAppearedCallback: disk4s1
2009-07-02 11:19:56.010 diskimages-helper[773:1603] : (null) Apple
partitionmap
2009-07-02 11:19:56.012 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got 811B8DE2-B68B-42D3-BC4E-10195F5F4FAF
2009-07-02 11:19:56.013 diskimages-helper[773:1603] _diskAppearedCallback: disk4s2
2009-07-02 11:19:56.014 diskimages-helper[773:1603] : /Users/srogers Apple_HFS
2009-07-02 11:19:56.016 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got 811B8DE2-B68B-42D3-BC4E-10195F5F4FAF
2009-07-02 11:19:56.017 diskimages-helper[773:1603] _diskAppearedCallback: disk4
2009-07-02 11:19:56.017 diskimages-helper[773:1603] : (null) Apple
partitionscheme
2009-07-02 11:19:56.019 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got 811B8DE2-B68B-42D3-BC4E-10195F5F4FAF
2009-07-02 11:19:56.020 diskimages-helper[773:1603] _diskAppearedCallback: disk1
2009-07-02 11:19:56.020 diskimages-helper[773:1603] : (null) Apple
partitionscheme
2009-07-02 11:19:56.022 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.023 diskimages-helper[773:1603] _diskAppearedCallback: disk1s1
2009-07-02 11:19:56.024 diskimages-helper[773:1603] : (null) Apple
partitionmap
2009-07-02 11:19:56.026 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.027 diskimages-helper[773:1603] _diskAppearedCallback: disk1s3
2009-07-02 11:19:56.027 diskimages-helper[773:1603] : (null) Apple_HFS
2009-07-02 11:19:56.029 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.029 diskimages-helper[773:1603] _diskAppearedCallback: disk2
2009-07-02 11:19:56.030 diskimages-helper[773:1603] : (null) GUID
partitionscheme
2009-07-02 11:19:56.032 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.032 diskimages-helper[773:1603] _diskAppearedCallback: disk2s1
2009-07-02 11:19:56.033 diskimages-helper[773:1603] : (null) C12A7328-F81F-11D2-BA4B-00A0C93EC93B
2009-07-02 11:19:56.035 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.036 diskimages-helper[773:1603] _diskAppearedCallback: disk2s2
2009-07-02 11:19:56.037 diskimages-helper[773:1603] : (null) 48465300-0000-11AA-AA11-00306543ECAC
2009-07-02 11:19:56.039 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.039 diskimages-helper[773:1603] _diskAppearedCallback: disk3
2009-07-02 11:19:56.040 diskimages-helper[773:1603] : (null) GUID
partitionscheme
2009-07-02 11:19:56.042 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.043 diskimages-helper[773:1603] _diskAppearedCallback: disk3s1
2009-07-02 11:19:56.044 diskimages-helper[773:1603] : (null) C12A7328-F81F-11D2-BA4B-00A0C93EC93B
2009-07-02 11:19:56.045 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.046 diskimages-helper[773:1603] _diskAppearedCallback: disk3s2
2009-07-02 11:19:56.046 diskimages-helper[773:1603] : (null) 48465300-0000-11AA-AA11-00306543ECAC
2009-07-02 11:19:56.048 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.049 diskimages-helper[773:1603] _diskAppearedCallback: disk0
2009-07-02 11:19:56.049 diskimages-helper[773:1603] : (null) GUID
partitionscheme
2009-07-02 11:19:56.051 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.052 diskimages-helper[773:1603] _diskAppearedCallback: disk0s1
2009-07-02 11:19:56.052 diskimages-helper[773:1603] : (null) C12A7328-F81F-11D2-BA4B-00A0C93EC93B
2009-07-02 11:19:56.054 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.055 diskimages-helper[773:1603] _diskAppearedCallback: disk0s2
2009-07-02 11:19:56.055 diskimages-helper[773:1603] : / 48465300-0000-11AA-AA11-00306543ECAC
2009-07-02 11:19:56.057 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.058 diskimages-helper[773:1603] _diskAppearedCallback: disk0s3
2009-07-02 11:19:56.058 diskimages-helper[773:1603] : /Volumes/Windows Vista EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
2009-07-02 11:19:56.060 diskimages-helper[773:1603] looking for UUID BBFB526F-0F26-4654-8AAE-D7908EC61B7B, got (null)
2009-07-02 11:19:56.061 diskimages-helper[773:1603] buildReturnDictionary:
2009-07-02 11:19:56.062 diskimages-helper[773:1603] adding (disk5): {
"dev-entry" = "/dev/disk5";
"potentially-mountable" = 0;
}
2009-07-02 11:19:56.063 diskimages-helper[773:1603] -remountReturningDictionary: _buildReturnDictionary returned 0
2009-07-02 11:19:56.063 diskimages-helper[773:1603] -remountReturningDictionary: kicked off hdiejectd
2009-07-02 11:19:56.064 diskimages-helper[773:1603] performAttach: remountReturningDictionary returned 0
2009-07-02 11:19:56.064 diskimages-helper[773:1603] -[DIHelperHDID dealloc:]
2009-07-02 11:19:56.065 diskimages-helper[773:1603] performAttach: returned 0
2009-07-02 11:19:56.065 diskimages-helper[773:1603] DIHelperAttach: post-processing disk image
status proc called: post-process
2009-07-02 11:19:56.066 diskimages-helper[773:1603] postProcessing: devEntry: /dev/disk5 mountPoint: (null)
2009-07-02 11:19:56.067 diskimages-helper[773:1603] performPostProcessing: returning 0.
status proc called: cleanup
2009-07-02 11:19:56.067 diskimages-helper[773:1603] DIHelperAttach performOperation: returning 0
2009-07-02 11:19:56.068 diskimages-helper[773:10b] DIHelper
reportresults: reporting {
payload = {
"system-entities" = (
{
"dev-entry" = "/dev/disk5";
"potentially-mountable" = 0;
}
);
};
"result-code" = 0;
}
2009-07-02 11:19:56.068 diskimages-helper[773:1603] -decrementBackgroundThreadCount: _backgroundThreadCount is now 0.
2009-07-02 11:19:56.069 hdiutil[771:1c03] reportResultsToFramework: proxy has finished operation
2009-07-02 11:19:56.070 hdiutil[771:1c03] reportResultsToFramework: results are: {
payload = {
"system-entities" = (
{
"dev-entry" = "/dev/disk5";
"potentially-mountable" = 0;
}
);
};
"result-code" = 0;
}
2009-07-02 11:19:56.073 hdiutil[771:1c03] reportResultsToFramework: _threadResultsError is 0
2009-07-02 11:19:56.073 hdiutil[771:1c03] reportResultsToFramework: disconnecting from helper.
2009-07-02 11:19:56.174 hdiutil[771:1c03] disconnectFromHelper: removing observers
2009-07-02 11:19:56.174 hdiutil[771:1c03] disconnectFromHelper: terminating proxy
2009-07-02 11:19:56.176 diskimages-helper[773:10b] DIHelper: terminateHelper: entry.
2009-07-02 11:19:56.177 hdiutil[771:1c03] disconnectFromHelper: terminated proxy
2009-07-02 11:19:56.277 diskimages-helper[773:10b] -DIHelperAgentMaster terminateUIAgentConnection.
DIHLDiskImageAttach() returned 0
system-entities:
0:
potentially-mountable: 0
dev-entry: /dev/disk5
/dev/disk5
2009-07-02 11:19:56.280 diskimages-helper[773:10b] DIHelper dealloc.
2009-07-02 11:19:56.281 diskimages-helper[773:10b] -DIHelperAgentMaster terminateUIAgentConnection.