Post Preview
postName: anonym
postWebsite: ''
postComment: "If you get Card's error (\"output is disk0s4 was already unmounted\") on restoring your winclone image and it occurs after the bootcamp partition itself is restored, you can run these two commands manual and the restoration should work:\n\n/Applications/Winclone.app/Contents/Resources/gptrefresh -f -w -m /win7.winclone/boot.mbr -a 4 -u -i 0x07 /dev/disk1\n\n/Library/NTFSProgs/ntfscp -f /dev/disk1s4 /Applications/Winclone.app/Contents/Resources/BCD /Boot/BCD\n\n/dev/disk1 : disk with bootcamp-partition\n/dev/disk1s4 : bootcamp-partition\n/win7.winclone : winclone-image\n\nto make things clearer, this is the end of my winclone log with the described error:\n…\nSpace in use : 60041 MB (72.5%) \nCloning NTFS …\n 0.00 percent completed\n100.00 percent completed\nSyncing …\nreturn value of \"/Library/NTFSProgs/ntfsclone\" —rescue -f -f -O \"/dev/disk0s4\" /dev/disk5 1>&2 is 0\n\n=====unmounting disk image==============\n\n/usr/bin/hdiutil detach /dev/disk5\nreturn value of /usr/bin/hdiutil detach /dev/disk5 is 0\n\n\"disk5\" unmounted.\n\"disk5\" ejected.\nVolume BOOTCAMP on /dev/disk0s4 mounted\ndestination_path is /Volumes/BOOTCAMP\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 0\n\n=====expanding=====\n\n\"/Library/NTFSProgs/ntfsresize\" -f -f \"/dev/disk0s4\"\nreturn value of \"/Library/NTFSProgs/ntfsresize\" -f -f \"/dev/disk0s4\" is 0\n\nntfsresize v2.0.0 (libntfs 10:0:0)\nDevice name : /dev/disk0s4\nNTFS volume version: 3.1\nCluster size : 4096 bytes\nCurrent volume size: 82837500416 bytes (82838 MB)\nCurrent device size: 83247497216 bytes (83248 MB)\nNew volume size : 83247493632 bytes (83248 MB)\nChecking filesystem consistency …\n 0.00 percent completed\n100.00 percent completed\nAccounting clusters …\nSpace in use : 60041 MB (72.5%)\nCollecting resizing constraints …\nSchedule chkdsk for NTFS consistency check at Windows boot time …\nResetting $LogFile … (this might take a while)\nUpdating $BadClust file …\nUpdating $Bitmap file …\nUpdating Boot record …\nSyncing device …\nSuccessfully resized NTFS on device '/dev/disk0s4'.\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\nUnmounting /dev/disk0s4\nUse of uninitialized value $command in concatenation (.) or string at /Applications/Winclone.app/Contents/Resources/winclone.perl line 551.\n/usr/sbin/diskutil unmount \"/dev/disk0s4\"return value of unmount is 256\n\noutput is disk0s4 was already unmounted\n\n did not complete successfully\ncleaning up: Mounting Disk\nVolume BOOTCAMP on /dev/disk0s4 mounted"