Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zoesdad

macrumors newbie
Original poster
Feb 29, 2008
13
0
Wondering if anyone can help with this. Was able to clone my XP Bootcamp partition with Winclone. Upon trying to restore, I am getting an error from Winclone. Log file below.

Thanks!

Mon Feb 21 17:47:29 PST 2011: Partition is : /dev/disk0s3
Mon Feb 21 17:47:32 PST 2011
Mon Feb 21 17:47:32 PST 2011: Restoring:
Mon Feb 21 17:47:32 PST 2011: '/Applications/Winclone.app/Contents/Resources/winclone.perl' -restore -copy_bcd '/Applications/Winclone.app/Contents/Resources/BCD' -disk_device /dev/disk0 -ntfs_partition /dev/disk0s3 -v -update_bootini -q -image_dir='/Users/Brian/Desktop/xpclone.winclone' -gptrefresh_path='/Applications/Winclone.app/Contents/Resources' -ntfstools_dir=/Library/NTFSProgs >> ~/Library/Logs/Winclone.log 2>&1 &
restoring.....
getting fdisk info.....
validating partition type.....
checking image size.....
image size file exists, opening.....
reading image file.../Users/Brian/Desktop/xpclone.winclone/size..
read image file.../Users/Brian/Desktop/xpclone.winclone/size..
done calculating..
done checking size..
Unmounting /dev/disk0s3
/usr/sbin/diskutil unmount "/dev/disk0s3"return value of unmount is 0

==============mounting sparse image==============
/usr/bin/hdiutil attach -nomount "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
diskimages-helper(1611,0x100704000) malloc: *** error for object 0x102002010: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
hdiutil: attach failed - No child processes

disk device is
=====restoring image from disk image=============

"/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s3" 1>&2
ntfsclone v2.0.0 (libntfs 10:0:0)
ERROR: You must specify a device file.

Usage: ntfsclone [OPTIONS] SOURCE
Efficiently clone NTFS to a sparse file, image, device or standard output.

-o, --output FILE Clone NTFS to the non-existent FILE
-O, --overwrite FILE Clone NTFS to FILE, overwriting if exists
-s, --save-image Save to the special image format
-r, --restore-image Restore from the special image format
--rescue Continue after disk read errors
-m, --metadata Clone *only* metadata (for NTFS experts)
--ignore-fs-check Ignore the filesystem check result
-f, --force Force to progress (DANGEROUS)
-h, --help Display this help

If FILE is '-' then send the image to the standard output. If SOURCE is '-'
and --restore-image is used then read the image from the standard input.

Developers' email address: linux-ntfs-dev@lists.sf.net
Linux NTFS homepage: http://www.linux-ntfs.org
return value of "/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s3" 1>&2 is 256

"/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s3" 1>&2 did not complete successfully
cleaning up: Mounting Disk
Volume BOOTCAMP on /dev/disk0s3 mounted
Mon Feb 21 17:47:41 PST 2011
 
Can you try running just the line that is failing from Terminal.app and post the output in a CODE block. (# in the edit box here).

Code:
sudo /usr/bin/hdiutil attach -verbose -nomount "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"

I added sudo and -verbose to give more output and make sure privileges are set (you will have to give your account password for sudo).

EDIT: Could you possibly post the whole Winclone.log file somehow? Maybe as a ZIP attachment?

B
 
Last edited:
Here's the results from Terminal:

Code:
Initializing…
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIDiskImageInstantiatorProbe: interface  0, score        0, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  1, score        0, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  2, score        0, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  3, score    -1000, CUDIFDiskImage
diskimages-helper(2454,0x100487000) malloc: *** error for object 0x10012ceb0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
2011-02-21 21:05:44.997 hdiutil[2452:2203] helper died
DIHLDiskImageAttach() returned 10
(null)
hdiutil: attach failed - No child processes
Brians-Macbook-Pro:~ Brian$

Zip File of Winclone Log is attached.

Thanks.
 

Attachments

  • Winclone.log.zip
    2.9 KB · Views: 157
It seems like your image may be damaged, but something else may be getting in the way.

Can you try it without your time machine backup disk connected?

B
 
Turning off Time Machine and disconnecting the TM discs did not help - still getting the same error.
 
Turning off Time Machine and disconnecting the TM discs did not help - still getting the same error.

Still sounding like you have a broken image :(

Try
Code:
sudo /usr/bin/hdiutil imageinfo -verbose "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
just for fun.

Did you move the image around from disk to disk? was it archived anywhere before it came back to your desktop... Was it created with a version of Winclone other than 2.2?

EDIT: FWIW the output from a "good" image I have looks like

Code:
DIDiskImageInstantiatorProbe: interface  0, score        0, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  1, score        0, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  2, score        0, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  3, score    -1000, CUDIFDiskImage
[B]DIDiskImageInstantiatorProbe: interface  5, score        0, CRawDiskImage[/B]
DIDiskImageInstantiatorProbe: interface  6, score     -100, CShadowedDiskImage
DIDiskImageInstantiatorProbe: interface  7, score     -100, CSparseDiskImage
DIDiskImageInstantiatorProbe: interface  8, score     1000, CSparseBundleDiskImage
DIDiskImageInstantiatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
DIDiskImageInstantiatorProbe: interface 10, score     -100, CWrappedDiskImage
DIDiskImageInstantiatorProbe: selecting CSparseBundleDiskImage

Probably the test for CRawDiskImage is what's causing it to bomb. (The first line not output is bolded). I wonder if you can somehow force it to use CSparseBundleDiskImage instead.

EDIT2: Found it in the man page examples.

Try adding
Code:
-imagekey diskimage-class=CSparseBundleDiskImage
To the attach command and see if that works. After that you would have to perform the restore manually. I can lead you through it if you can get that to work.

B
 
Last edited:
Okay - the first code you had me try didn't work.

Code:
Last login: Tue Feb 22 16:43:34 on console
Brians-Macbook-Pro:~ Brian$ sudo /usr/bin/hdiutil imageinfo -verbose "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
Password:
hdiutil: imageinfo: processing "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIDiskImageInstantiatorProbe: interface  0, score        0, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  1, score        0, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  2, score        0, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  3, score    -1000, CUDIFDiskImage
hdiutil(280,0x7fff70fc5ca0) malloc: *** error for object 0x100128560: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap
Brians-Macbook-Pro:~ Brian$

You lost me at "-imagekey diskimage-class=CSparseBundleDiskImage" -- where do you want me to add that to? I'm pretty weak in the terminal commands.

I also attached another WinClone log that includes the creation of the clone. I am using Winclone Ver 2.2

FWIW - I cloned the partition as I am having to swap out my hard drive due to bad sectors in the Bootcamp Partition, which Winclone sees during the clone, but completes the clone anyways. This led me to believe that Winclone wasn't having a problem with the bad sectors. Hoping this is not causing the hickup.

Let me know if you still want me to try and add the "-imagekey diskimage-class=CSparseBundleDiskImage" code, and to what.

Thanks!
 

Attachments

  • Winclone.log.zip
    107.2 KB · Views: 109
Sorry. I meant:

Code:
sudo /usr/bin/hdiutil imageinfo -verbose -imagekey diskimage-class=CSparseBundleDiskImage "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"

or

Code:
sudo /usr/bin/hdiutil attach -nomount -verbose -imagekey diskimage-class=CSparseBundleDiskImage "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"

That's supposed to force it to know what kind of image it is, but I can't test it since my images don't bomb like yours does.

B
 
No love on this first one:

Code:
Last login: Tue Feb 22 16:44:32 on ttys000
Brians-Macbook-Pro:~ Brian$ sudo /usr/bin/hdiutil imageinfo -verbose -imagekey diskimage-class=CSparseBundleDiskImage "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
hdiutil: imageinfo: processing "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIDiskImageInstantiatorProbe: interface  0, score     -100, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  1, score    -1000, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  2, score    -1000, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  3, score    -1000, CUDIFDiskImage
DIDiskImageInstantiatorProbe: interface  5, score    -1000, CRawDiskImage
DIDiskImageInstantiatorProbe: interface  6, score     -100, CShadowedDiskImage
DIDiskImageInstantiatorProbe: interface  7, score     -100, CSparseDiskImage
DIDiskImageInstantiatorProbe: interface  8, score     9999, CSparseBundleDiskImage
DIDiskImageInstantiatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
DIDiskImageInstantiatorProbe: interface 10, score     -100, CWrappedDiskImage
DIDiskImageInstantiatorProbe: selecting CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: instantiator returned 0
hdiutil(318,0x7fff70fc5ca0) malloc: *** error for object 0x100128720: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap
Brians-Macbook-Pro:~ Brian$

Not sure if this second one did what you are looking for:

Code:
Last login: Tue Feb 22 16:55:25 on ttys000
Brians-Macbook-Pro:~ Brian$ sudo /usr/bin/hdiutil attach -nomount -verbose -imagekey diskimage-class=CSparseBundleDiskImage "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
Initializing…
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIDiskImageInstantiatorProbe: interface  0, score     -100, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  1, score    -1000, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  2, score    -1000, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  3, score    -1000, CUDIFDiskImage
DIDiskImageInstantiatorProbe: interface  5, score    -1000, CRawDiskImage
DIDiskImageInstantiatorProbe: interface  6, score     -100, CShadowedDiskImage
DIDiskImageInstantiatorProbe: interface  7, score     -100, CSparseDiskImage
DIDiskImageInstantiatorProbe: interface  8, score     9999, CSparseBundleDiskImage
DIDiskImageInstantiatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
DIDiskImageInstantiatorProbe: interface 10, score     -100, CWrappedDiskImage
DIDiskImageInstantiatorProbe: selecting CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: instantiator returned 0
Attaching…
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000004 seconds
2011-02-22 16:58:54.124 diskimages-helper[333:4113] DIHelperHDID serveImage: attaching drive
{
    autodiskmount = 0;
    "hdiagent-drive-identifier" = "075FEAFA-1454-4F3F-956C-17332DA5615E";
    "unmount-timeout" = 0;
}
2011-02-22 16:58:54.132 diskimages-helper[333:4113] DIHelperHDID serveImage: connecting to myDrive 0x4A0B
2011-02-22 16:58:54.133 diskimages-helper[333:4113] DIHelperHDID serveImage: register _readBuffer 0x102683000
2011-02-22 16:58:54.133 diskimages-helper[333:4113] DIHelperHDID serveImage: activating drive port 0x4b07
2011-02-22 16:58:54.134 diskimages-helper[333:4113] DIHelperHDID serveImage: set cache enabled=TRUE returned FAILURE.
2011-02-22 16:58:54.134 diskimages-helper[333:4113] DIHelperHDID serveImage: set on IO thread=TRUE returned SUCCESS.
2011-02-22 16:58:54.135 diskimages-helper[333:4113] DIHelperHDID serveImage: terminating UI Agent
2011-02-22 16:58:54.135 diskimages-helper[333:4113] DIHelperHDID serveImage: starting server loop - myPort is 0x4b07
Finishing…
Finishing…
/dev/disk2          	                               	
Brians-Macbook-Pro:~ Brian$ 2011-02-22 16:59:10.129 diskimages-helper[333:4113] -processKernelRequest: will sleep received
 
Code:
/dev/disk2

Yes. It did.

It actually attached the image so that the next step Winclone tries should work.

The next step is supposed to be :

Code:
sudo "/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s3" "/dev/disk2"

(ignore the redirection at the end of the command from the log file since you will be running it from Terminal).

NOTE: You will be overwriting /dev/disk0s3 and should only proceed if you have a verified backup of all your important data.

B
 
Ah - so close - but it says the resource is busy.

Code:
Last login: Tue Feb 22 17:20:22 on console
Brians-Macbook-Pro:~ Brian$ sudo /usr/bin/hdiutil attach -nomount -verbose -imagekey diskimage-class=CSparseBundleDiskImage "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
Password:
Initializing…
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIDiskImageInstantiatorProbe: interface  0, score     -100, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  1, score    -1000, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  2, score    -1000, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  3, score    -1000, CUDIFDiskImage
DIDiskImageInstantiatorProbe: interface  5, score    -1000, CRawDiskImage
DIDiskImageInstantiatorProbe: interface  6, score     -100, CShadowedDiskImage
DIDiskImageInstantiatorProbe: interface  7, score     -100, CSparseDiskImage
DIDiskImageInstantiatorProbe: interface  8, score     9999, CSparseBundleDiskImage
DIDiskImageInstantiatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
DIDiskImageInstantiatorProbe: interface 10, score     -100, CWrappedDiskImage
DIDiskImageInstantiatorProbe: selecting CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: instantiator returned 0
Attaching…
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000004 seconds
2011-02-22 17:22:33.179 diskimages-helper[270:4113] DIHelperHDID serveImage: attaching drive
{
    autodiskmount = 0;
    "hdiagent-drive-identifier" = "A4EF2B50-A75F-485D-A07F-C4722B75ED42";
    "unmount-timeout" = 0;
}
2011-02-22 17:22:33.189 diskimages-helper[270:4113] DIHelperHDID serveImage: connecting to myDrive 0x4A0B
2011-02-22 17:22:33.189 diskimages-helper[270:4113] DIHelperHDID serveImage: register _readBuffer 0x102683000
2011-02-22 17:22:33.190 diskimages-helper[270:4113] DIHelperHDID serveImage: activating drive port 0x4b07
2011-02-22 17:22:33.190 diskimages-helper[270:4113] DIHelperHDID serveImage: set cache enabled=TRUE returned FAILURE.
2011-02-22 17:22:33.194 diskimages-helper[270:4113] DIHelperHDID serveImage: set on IO thread=TRUE returned SUCCESS.
2011-02-22 17:22:33.195 diskimages-helper[270:4113] DIHelperHDID serveImage: terminating UI Agent
2011-02-22 17:22:33.195 diskimages-helper[270:4113] DIHelperHDID serveImage: starting server loop - myPort is 0x4b07
Finishing…
Finishing…
/dev/disk2          	                               	
Brians-Macbook-Pro:~ Brian$ 2011-02-22 17:22:49.185 diskimages-helper[270:4113] -processKernelRequest: will sleep received
O "/dev/disk0s3" "/dev/disk2"clone" --rescue -f -f - 
ntfsclone v2.0.0 (libntfs 10:0:0)
2011-02-22 17:23:04.997 diskimages-helper[270:4113] -processKernelRequest: will sleep received
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 38053867520 bytes (38054 MB)
Current device size: 910533066752 bytes (910534 MB)
ERROR(16): Opening file '/dev/disk0s3' failed: Resource busy
Brians-Macbook-Pro:~ Brian$ 2011-02-22 17:23:20.996 diskimages-helper[270:4113] -processKernelRequest: will sleep received
 
Ah - so close - but it says the resource is busy.
Sorry. Forgot to tell you to unmount it first. Winclone does it for you, but not if you do it manually.

Code:
sudo /usr/bin/hdiutil attach -nomount -verbose -imagekey diskimage-class=CSparseBundleDiskImage "/Users/Brian/Desktop/xpclone.winclone/Windows.sparsebundle"
sudo /usr/sbin/diskutil unmount "/dev/disk0s3"
sudo "/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s3" "/dev/disk2"

B
 
Glad to hear it. There may be more to do after this to make it bootable again, but this is the hard part.

Let us know how it turns out.

B
 
Okay - the BOOTCAMP drive has been restored. I can see it in the finder, and can see the files on the disc. As you surmised, it is not bootable (holding down the Option key on start-up only shows the Mac OSX drive).

Awaiting further instructions . . . .
 
As you surmised, it is not bootable (holding down the Option key on start-up only shows the Mac OSX drive).

I'll have to dig a bit so it may take until tomorrow AM. I've worked out short notes on the image creation process Winclone uses, but haven't fully tackled restore yet.

EDIT: Would help to know if the OS is XP/Vista or 7.

B
 
Last edited:
Try this:
Code:
sudo "/Volumes/Winclone/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Users/Brian/Desktop/xpclone.winclone/boot.mbr" -a 3 -u -i 0x07 "/dev/disk0"

That's all for tonight.

B
 
Returns "command not found".

Thanks for the help -- see you tomorrow.
 
Returns "command not found".

Sorry, I borrowed that from a Winclone log that had Winclone is an unusual spot and didn't fix it.

In order to see what it is doing it would be helpful to run showpart before and after gptrefresh. I posted it to a thread here: https://forums.macrumors.com/threads/1070175/ (post #6). Download it and put it on your desktop.

Your Winclone seems to be at the "normal" spot so try:

Code:
sudo ~/Desktop/showpart /dev/disk0 
sudo "/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Users/Brian/Desktop/xpclone.winclone/boot.mbr" -a 3 -u -i 0x07 "/dev/disk0"
sudo ~/Desktop/showpart /dev/disk0

Please post the output.

B
 
Sorry, I borrowed that from a Winclone log that had Winclone is an unusual spot and didn't fix it.

In order to see what it is doing it would be helpful to run showpart before and after gptrefresh. I posted it to a thread here: https://forums.macrumors.com/threads/1070175/ (post #6). Download it and put it on your desktop.

Your Winclone seems to be at the "normal" spot so try:

Code:
sudo ~/Desktop/showpart /dev/disk0 
sudo "/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Users/Brian/Desktop/xpclone.winclone/boot.mbr" -a 3 -u -i 0x07 "/dev/disk0"
sudo ~/Desktop/showpart /dev/disk0

Please post the output.

543.jpg
B
Wanna try it too. I'll kee you guys posted..
 
Okay - that worked great! You are truly my hero for today.

I attached the output in Code block (had to add a disk unmount).

I've been able to boot in Bootcamp and VMWare - so I think I am covered.

I'm making another clone now off of the Bootcamp partition -- do you think I'm going to encounter this problem again as long as I continue to use a clone of this XP set-up?

I will keep all the info in this thread in a safe place in case I encounter this nightmare again.

Thanks again for all of your support of WinClone as the apparent resident expert on it -- too bad you can't "repackage" the original Winclone as a new product - I think most people would even be willing to purchase it as shareware (well, at least I would).

Cheers!

Code:
Last login: Tue Feb 22 21:53:46 on console
Brians-Macbook-Pro:~ Brian$ 
Brians-Macbook-Pro:~ Brian$ sudo ~/Desktop/showpart /dev/disk0
Password:

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1             40       409639  EFI System (FAT)
 2         409640    893796391  Mac OS X HFS+
 3      894060544    976773119  Basic Data

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1              1       409639  ee  EFI Protective
 2         409640    893796391  af  Mac OS X HFS+
 3      894060544    976773119  0b  FAT32 (CHS)

MBR contents:
 Boot Code: Unknown, but bootable

Partition at LBA 40:
 Boot Code: None (Non-system disk message)
 File System: FAT32
 Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
 Boot Code: None
 File System: HFS Extended (HFS+)
 Listed in GPT as partition 2, type Mac OS X HFS+
 Listed in MBR as partition 2, type af  Mac OS X HFS+

Partition at LBA 894060544:
 Boot Code: Windows NTLDR
 File System: NTFS
 Listed in GPT as partition 3, type Basic Data
 Listed in MBR as partition 3, type 0b  FAT32 (CHS)

Brians-Macbook-Pro:~ Brian$ sudo "/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Users/Brian/Desktop/xpclone.winclone/boot.mbr" -a 3 -u -i 0x07 "/dev/disk0"
 -------------------------------------- GPT ----------------------------------
      start       size  index  contents
        40      409639      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    409640   893796391      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
 894060544   976773119      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7


 ----------------------------- BIOS Partition Table--------------------------
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE 1023 254  63 - 1023 254  63 [         1 -     409639]
 2: AF 1023 254  63 - 1023 254  63 [    409640 -  893386752]
 3: 0B 1023 254  63 - 1023 254  63 [ 894060544 -   82712576]
 4: 00    0   0   0 -    0   0   0 [         0 -          0]
start_head is different: 0 254
start_sector is different: 2 63
start_track is different: 0 1023
end_head is different: 127 254
end_sector is different: 14 63
end_track is different: 25 1023
The GPT and BIOS partitions appear to be inconsistent with each other!


---------------------------------------------------------------
-----------------New Partition Table to write------------------
---------------------------------------------------------------


 ----------------------------- BIOS Partition Table--------------------------
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE    0   0   2 -   25 127  14 [         1 -     409639]
 2: AF   25 127  15 - 1023  64  20 [    409640 -  893386752]
*3: 07 1023 177  14 - 1023  80  15 [ 894060544 -   82712576]
 4: 00    0   0   0 -    0   0   0 [         0 -          0]
error writing /dev/disk0s3
error while opening file to write: Resource busy
Brians-Macbook-Pro:~ Brian$ sudo ~/Desktop/showpart /dev/disk0

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1             40       409639  EFI System (FAT)
 2         409640    893796391  Mac OS X HFS+
 3      894060544    976773119  Basic Data

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1              1       409639  ee  EFI Protective
 2         409640    893796391  af  Mac OS X HFS+
 3 *    894060544    976773119  07  NTFS/HPFS

MBR contents:
 Boot Code: Unknown, but bootable

Partition at LBA 40:
 Boot Code: None (Non-system disk message)
 File System: FAT32
 Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
 Boot Code: None
 File System: HFS Extended (HFS+)
 Listed in GPT as partition 2, type Mac OS X HFS+
 Listed in MBR as partition 2, type af  Mac OS X HFS+

Partition at LBA 894060544:
 Boot Code: Windows NTLDR
 File System: NTFS
 Listed in GPT as partition 3, type Basic Data
 Listed in MBR as partition 3, type 07  NTFS/HPFS, active

Brians-Macbook-Pro:~ Brian$ sudo /usr/sbin/diskutil unmount "/dev/disk0s3"
Volume BOOTCAMP on disk0s3 unmounted
Brians-Macbook-Pro:~ Brian$ sudo "/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Users/Brian/Desktop/xpclone.winclone/boot.mbr" -a 3 -u -i 0x07 "/dev/disk0"
 -------------------------------------- GPT ----------------------------------
      start       size  index  contents
        40      409639      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    409640   893796391      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
 894060544   976773119      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7


 ----------------------------- BIOS Partition Table--------------------------
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE    0   0   2 -   25 127  14 [         1 -     409639]
 2: AF   25 127  15 - 1023  64  20 [    409640 -  893386752]
*3: 07 1023 177  14 - 1023  80  15 [ 894060544 -   82712576]
 4: 00    0   0   0 -    0   0   0 [         0 -          0]
The GPT and BIOS partitions appear to be consistent with each other.


---------------------------------------------------------------
-----------------New Partition Table to write------------------
---------------------------------------------------------------


 ----------------------------- BIOS Partition Table--------------------------
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE    0   0   2 -   25 127  14 [         1 -     409639]
 2: AF   25 127  15 - 1023  64  20 [    409640 -  893386752]
*3: 07 1023 177  14 - 1023  80  15 [ 894060544 -   82712576]
 4: 00    0   0   0 -    0   0   0 [         0 -          0]
Updating start sector offset

Brians-Macbook-Pro:~ Brian$ sudo ~/Desktop/showpart /dev/disk0

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1             40       409639  EFI System (FAT)
 2         409640    893796391  Mac OS X HFS+
 3      894060544    976773119  Basic Data

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1              1       409639  ee  EFI Protective
 2         409640    893796391  af  Mac OS X HFS+
 3 *    894060544    976773119  07  NTFS/HPFS

MBR contents:
 Boot Code: Unknown, but bootable

Partition at LBA 40:
 Boot Code: None (Non-system disk message)
 File System: FAT32
 Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
 Boot Code: None
 File System: HFS Extended (HFS+)
 Listed in GPT as partition 2, type Mac OS X HFS+
 Listed in MBR as partition 2, type af  Mac OS X HFS+

Partition at LBA 894060544:
 Boot Code: Windows NTLDR
 File System: NTFS
 Listed in GPT as partition 3, type Basic Data
 Listed in MBR as partition 3, type 07  NTFS/HPFS, active

Brians-Macbook-Pro:~ Brian$
 
Glad it worked!

Thanks again for all of your support of WinClone as the apparent resident expert on it -- too bad you can't "repackage" the original Winclone as a new product - I think most people would even be willing to purchase it as shareware (well, at least I would).

I am actually actively working on a replacement for Winclone designed specifically to support Snow Leopard and Windows 7, which is part of my interest in understanding how it fails.

B
 
That sounds great -- look forward to seeing it sometime down the road.

Thanks again for all your help and patience.

Cheers!
 
Glad it worked!

I am actually actively working on a replacement for Winclone designed specifically to support Snow Leopard and Windows 7, which is part of my interest in understanding how it fails.

B

Balamw, I must say, you are truly a hero...

I was wondering if you could take a look at my case, I´m having a similar problem.

I backed up my BOOT CAMP partition with Winclone, trying to restore I get the same error message... the last lines of the log are these ones:

Code:
Tue Mar  8 01:37:06 VET 2011: '/Applications/Winclone.app/Contents/Resources/winclone.perl' -restore  -copy_bcd '/Applications/Winclone.app/Contents/Resources/BCD' -disk_device /dev/disk0 -ntfs_partition /dev/disk0s2 -v -update_bootini -q -image_dir='/Volumes/JucHDD1/Untitled.winclone' -gptrefresh_path='/Applications/Winclone.app/Contents/Resources' -ntfstools_dir=/Library/NTFSProgs >> ~/Library/Logs/Winclone.log  2>&1 &
restoring.....
getting fdisk info.....
validating partition type.....
checking image size.....
image size file exists, opening.....
reading image file.../Volumes/JucHDD1/Untitled.winclone/size..
read image file.../Volumes/JucHDD1/Untitled.winclone/size..
done calculating..
done checking size..
Unmounting /dev/disk0s2
/usr/sbin/diskutil unmount "/dev/disk0s2"return value of unmount is 0

==============mounting sparse image============== 
/usr/bin/hdiutil attach  -nomount "/Volumes/JucHDD1/Untitled.winclone/Windows.sparsebundle"
diskimages-helper(1074,0x100504000) malloc: *** error for object 0x10011bd00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
hdiutil: attach failed - No child processes

disk device is 
=====restoring image from disk image=============

 "/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s2"   1>&2
ntfsclone v2.0.0 (libntfs 10:0:0)
ERROR: You must specify a device file.

Usage: ntfsclone [OPTIONS] SOURCE
    Efficiently clone NTFS to a sparse file, image, device or standard output.

    -o, --output FILE      Clone NTFS to the non-existent FILE
    -O, --overwrite FILE   Clone NTFS to FILE, overwriting if exists
    -s, --save-image       Save to the special image format
    -r, --restore-image    Restore from the special image format
        --rescue           Continue after disk read errors
    -m, --metadata         Clone *only* metadata (for NTFS experts)
        --ignore-fs-check  Ignore the filesystem check result
    -f, --force            Force to progress (DANGEROUS)
    -h, --help             Display this help

    If FILE is '-' then send the image to the standard output. If SOURCE is '-'
    and --restore-image is used then read the image from the standard input.

Developers' email address: linux-ntfs-dev@lists.sf.net
Linux NTFS homepage: http://www.linux-ntfs.org
return value of  "/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s2"   1>&2 is 256

 "/Library/NTFSProgs/ntfsclone" --rescue -f -f -O "/dev/disk0s2"   1>&2 did not complete successfully
cleaning up: Mounting Disk
Volume (null) on /dev/disk0s2 mounted
Tue Mar  8 01:37:10 VET 2011

I used the following command as I saw you told Zoesdad...

Code:
sudo /usr/bin/hdiutil imageinfo -verbose -imagekey diskimage-class=CSparseBundleDiskImage "/Volumes/JucHDD1/Untitled.winclone/Windows.sparsebundle"

and I got this in return...

Code:
hdiutil: imageinfo: processing "/Volumes/JucHDD1/Untitled.winclone/Windows.sparsebundle"
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score    -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface  2, score    -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface  4, score    -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface  5, score    -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface  6, score    -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
CCachedBackingStore::readDataFork returning 29
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CMacBinaryEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CAppleSingleEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CUDIFEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIFileEncodingInstantiatorProbe: interface  0, score    -1000, CSegmentedNDIFEncoding
DIFileEncodingInstantiatorProbe: interface  1, score    -1000, CSegmentedUDIFEncoding
DIFileEncodingInstantiatorProbe: interface  2, score    -1000, CSegmentedUDIFRawEncoding
DIFileEncodingInstantiatorProbe: nothing to select.
DIDiskImageInstantiatorProbe: interface  0, score     -100, CDARTDiskImage
DIDiskImageInstantiatorProbe: interface  1, score    -1000, CDiskCopy42DiskImage
DIDiskImageInstantiatorProbe: interface  2, score    -1000, CNDIFDiskImage
DIDiskImageInstantiatorProbe: interface  3, score    -1000, CUDIFDiskImage
DIDiskImageInstantiatorProbe: interface  5, score    -1000, CRawDiskImage
DIDiskImageInstantiatorProbe: interface  6, score     -100, CShadowedDiskImage
DIDiskImageInstantiatorProbe: interface  7, score     -100, CSparseDiskImage
DIDiskImageInstantiatorProbe: interface  8, score     9999, CSparseBundleDiskImage
DIDiskImageInstantiatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
DIDiskImageInstantiatorProbe: interface 10, score     -100, CWrappedDiskImage
DIDiskImageInstantiatorProbe: selecting CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: CSparseBundleDiskImage
DIDiskImageNewWithBackingStore: instantiator returned 0
hdiutil(964,0x7fff7091fbe0) malloc: *** error for object 0x100124490: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

Do you think you could lend me a hand friend?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.