Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
No antivirus in OSX, and no NTFS drivers or anything. pretty much just straight out of the box in that respect.

and I'm pretty much a newbie when it comes to terminal.

Something is attaching itself to the image when it is created, what other thrid party software are you running? You might be able to see a list in Activity Monitor.

EDIT: I see the source of the problem. Apple_HFS WD SmartWare can you disable it?

B
 
ok so I took it off of the external drive that it was on (A western digital, which was the cause of that software blockage), and now I get a new error, which is this I believe:

Code:
ERROR: Output device is too small (58454966272) to fit the NTFS image (161534177792).
return value of  "/Library/NTFSProgs/ntfsclone" --rescue -f -f -f -O "/dev/disk0s3"  /dev/disk1 1>&2 is 256

 "/Library/NTFSProgs/ntfsclone" --rescue -f -f -f -O "/dev/disk0s3"  /dev/disk1 1>&2 did not complete successfully
cleaning up: Mounting Disk
Volume BOOTCAMP on /dev/disk0s3 mounted
Sun Jan 16 17:53:39 EST 2011
 
What do you think the size of the image and destination are supposed to be? It thinks ~160 GB and ~58 GB.

B

the destination is 55gb, and the image reads as 29gb. what should I be doing here?

And thanks for all of the help so far.
 
the destination is 55gb, and the image reads as 29gb. what should I be doing here?

And thanks for all of the help so far.

You're welcome.

Can you post/PM/e-mail me the entire Winclone.log file again?

Was the image created on a larger partition, just with not too much data on it?

B
 
To ntfsclone (the helper function that Winclone is using) the image is too big. So you should

  • make a copy of the image (just in case)
  • Run Winclone -> Tools -> Shrink Partition or Image
  • Select your image
  • After the resize is complete, try restoring again

B
 
when I go to shrink I get this message

2lxbiow.png


and then I just see this until I force quit.

256tw6s.png


EDIT: And I've let it run for hours before force quitting.
 
The only thing that comes to mind is launching ntfsresize from Terminal. That's all Winclone is trying to do.

B
 
Have you tried

In winclone preference to "use ASR instead of ntsf clones to restore.."?
 
In winclone preference to "use ASR instead of ntsf clones to restore.."?

You left off the last part of that option "use ASR instead of ntsf clones to restore compressed dmgs" and the associated note:

Note: if you select this option and restore to a larger partition, the restored partition will only be as large as the original filesystem

The format recommended by the author for Snow Leopard and W7 is uncompressed dmg, so if you are following the recommendation, this option will have no effect and it does not look like it will handle size changes as well as using ntfsclone.

Nothing to lose by giving it a try though.

B
 
hear you all too clear bud. busy busy busy...

Sorry. Wrote it, just didn't post it.

The full man page for ntfsresize is here: http://linux.die.net/man/8/ntfsresize

As previously reported, make a backup copy of your Winclone image and set it aside.

Open Terminal.app then type:
Code:
 sudo /usr/bin/hdiutil attach  -nomount "/Users/[B]<username>[/B]/Desktop/Win7.winclone/Windows.dmg"
Where <username> is your username. (Not posted here for your privacy).
It should return something like "/dev/disk1" use what it returned bin what follows, I call that /dev/diskXXX below. It will ask you for a password, use the password for your account.

Then type:
Code:
sudo /Library/NTFSProgs/ntfsresize -n -i /dev/[B]diskXXX[/B]

it should return something like:

Code:
Device name        : /dev/diskXXX
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 130529882624 bytes (130530 MB)
Current device size: 130529886208 bytes (130530 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use       : 81059 MB (62.1%)
Collecting resizing constraints ...
You might resize at 81058263040 bytes or 81059 MB (freeing 49471 MB).
Please make a test run using both the -n and -s options before real resizing!

Use the number from the last line in the next command
Code:
sudo /Library/NTFSProgs/ntfsresize -n -s [B]81058263040[/B] /dev/[B]diskXXX[/B]

If all goes well, repeat. This time without the "-n"

Code:
sudo /Library/NTFSProgs/ntfsresize -s [B]81058263040[/B] /dev/[B]diskXXX[/B]

Then detach the image:
Code:
 sudo /usr/bin/hdiutil detach  /dev/[B]diskXXX[/B]

B
 
Can't restore windows 7 winclone image

Hello:

I'm adding this this older thread.

I just recently bought a new MacBook pro (10.6.7) and am trying to restore a winclone (2.2) windows 7 image (31Gb, stored on a external HD) to a new bootcamp partition (110Gb, MS-DOS (FAT32)), and when I mount the image and attempt to restore, I get the following error:

=====restoring image from disk image=============

"/Library/NTFSProgs/ntfsclone" --rescue -f -f -f -O "/dev/disk0s3" /dev/disk3 1>&2
ntfsclone v2.0.0 (libntfs 10:0:0)
ERROR(16): Opening '/dev/disk3' as NTFS failed: Resource busy
return value of "/Library/NTFSProgs/ntfsclone" --rescue -f -f -f -O "/dev/disk0s3" /dev/disk3 1>&2 is 256

"/Library/NTFSProgs/ntfsclone" --rescue -f -f -f -O "/dev/disk0s3" /dev/disk3 1>&2 did not complete successfully
cleaning up: Mounting Disk
Volume BOOTCAMP on /dev/disk0s3 mounted
Fri Mar 25 14:45:36 PDT 2011



Also, I have attempted to restore, and it did work once, but then when I tried to boot up windows, I got an error command screen (black and white) stating that there were problems. So I tried the following:

1. Put the windows 7 disk in and boot from disk, clicked repair computer
2. Selected try to start normally.
3. Selected other start options (safe, etc.)

Nothing seems to fix the problem here.


Does anyone know what I'm doing wrong here? This should be a simple restore, but I've read the forums and I can't seem to find a solution.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.