Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Boot Camp Assistant says "The disk cannot be partitioned because some files cannot be moved." What can I do?

I am trying to install Windows 7 Ultimate on my MacBook Pro that runs OS X Lion. I have read through a lot of the other threads and I think I understand that the I need a clean, defragged part of the hard drive to do this on. Boot Camp Assistant tells me to "Back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again." That's all good and everything, but I don't have any idea how to do that. I don't want to risk losing any of my data and I don't want to download any "freeware" to try and help me accomplish this task. I would like a step by step guide on how to make this work. Also, is there anyway that I could have prevented this error? I don't understand why Boot Camp Assistant is even on my MacBook Pro if everyone that uses it will get the same error. I have done nothing but taken it out of the box and started using the Apple software that came installed on it. If there is not a simple way to do this in the Disc Utility, then I don't want to do it at all. I really don't like the idea of putting all my data on an external hard drive just to have this done.

MacBook Pro (15-inch Early 2011), Mac OS X (10.7)

Posted on Mar 14, 2012 11:35 PM

Reply
16 replies

Mar 16, 2012 4:02 AM in response to freelander87

What you are telling us is.... you never learned or know how to use a backup and backup program to actually do a restore.


Consolidating free space is not something built into Mac OS X.


Cloning your drive is the easy way. There is always TimeMachine. I take it you don't use that either.


Disk Utility has a tab "RESTORE" which will also 'clone' one drive to another and allow erase and restore.


Apple DU is not always the best method. You have a real issue and hung up on something.

Mar 18, 2012 1:50 PM in response to freelander87

Well, that's the reason to put your backup onto another drive is in case of emergency's or problems your facing now, it's to make sure your main HD has a backup in case when it dies. When it dies you have less then a 50/50 chance of being able to access the files again, and if so only a brief period of time, say one small file at a time before it dies again. And you would still need an external drive to get it from.

Here's most of the information you need for Time Machine. You learned how to use the Mac so you shouldn't have any problems learning one more thing, it's really not that hard, the trick is to read the manual and information a couple of times just to familiarize youself with everything it does.🙂


As far as WHY it gives the error is because at one time or another you filled your HD up, or close to it, and then deleted a bunch later. In the mean time the files get scattered all over the place. If a core file that is "anchored" is in the new partitioned area it can not be moved so you get the error. You either have to get a de-fragger application and de-fragg the HD, delete/reformat the HD and reinstall the OS new again then update everything all over again, or you can just erase/restore from a Time Machine backup (or any other backup program) and your good to go.


One thing you can try is to make the Windows partition slighlty smaller until you no longer get the error or until it gets too small of a partition.

Mar 18, 2012 2:03 PM in response to freelander87

Just installing OS updates and programs will


Write the installer

Uncompress the file at say 7x and write the actual installer in a free area that often may be anywhere but at the far end of the partition is common.

Write new version or copy of the files being changed/updated (myfile.new and myfile.old)

Delete the entry in the directory for the temp files and versions.


A program that can show your hard drive and where files are and where free space is, and show fragments.


OS X tries to eliminate small files with fragments when they are rewritten and when it can find contiguous free space to write the new file.

That can actually work against you, as it might fragment the free space also.


When a drive gets down to 20% free space there is a performance hit, you are using slower areas of the drive (inner tracks are usually 50% slower) and having more trouble finding filles and where to write files.


Clone Mac OS is one of the easiest and safest methods.

Click on source (Mac Harddrive), click on or drop the backup partition / drive into target icon.

Click "Run"

you end up with bootable (test it to be certain) exact copy.

Unplujg and keep it on a shelf

Update it before you inistall a new version etc of OS X or make changes.

Have two: one safe on the shelf from Week #1 and new Week #2


Disk Utility can do that.


With huge hard drives free space should not be an issue. The lack of a feature to defrag as part of Boot Camp or Disk Utility is why there are iDefrag and others, but they are slow and best run from.... a 2nd hard drive running OS X rather than from CD. and never great idea to do w/o backups or on live system.

Mar 21, 2012 4:52 PM in response to freelander87

Thanks for the replys. I always keep back ups, but I have never had to restore from one before. I could probably figure it out, but don't really want to. I think I'm going to retract my previous statement about "freeware", and do the following.


Make sure I have current back up saved to my external hard drive from Time Machine.


Download iDefrag and run it.


Hopefully don't screw anything up.


From the information that I've gathered from you guys I think this route will work the best. I'm not that computer savvy and I don't want to delete any pertinent files that keep my mac running, but if I do, at least I'll have a back up to restore from.


Is this the best way? A lot of the stuff you guys replied with I slightly understood, but am too scared to try.

Mar 21, 2012 5:29 PM in response to freelander87

Ok, I've changed my mind, the iDefrag program is only a demo and I'm not sure I like that idea anymore anyway. I have a current back up on my external hard drive and I'm at the restore tab in Disk Utility. I think what I need to do is make the source and destination the same, both being "Macintosh HD", and then click restore. If I understand correctly... this will restore all of my data back onto the "Macintosh HD", except now it won't be fragged? I know I'm missing something here. I might just break down and buy AppleCare if they will support something of this nature.

Mar 21, 2012 7:32 PM in response to freelander87

If your looking for a defragger you might as pay a little more and get an application that does more, like TechToolPro or similar, it does maintenance and other stuff and now does the defrag. It helped me out more often then not, but i'm one of the lazy ones so some people stay on top of things and don't need it.


I think I read some where that you can't boot to a Time Machine back up? You can only restore.

Mar 21, 2012 7:35 PM in response to Jaygyver

Jaygyver wrote:


If your looking for a defragger you might as pay a little more and get an application that does more, like TechToolPro or similar, it does maintenance and other stuff and now does the defrag. It helped me out more often then not, but i'm one of the lazy ones so some people stay on top of things and don't need it.


I think I read some where that you can't boot to a Time Machine back up? You can only restore.

My experience is that defragging (whether with iDefrag, TechTool or some other) fails to resolve this issue more often than it succeeds.

Dec 29, 2012 7:25 PM in response to freelander87

I was facing the same problem with my MacBook Pro. I used the following method and it resolved the issue. I hope that it works for you aswell.


1. Go to Disk Utility and erase free space on Macintosh HD (which took about two hours for me).

2. Restart your Mac and boot up by pressing CMD and R.

3. Choose Utilities, then Disk Utility in the menu and then Repair the HD.

4. Restart and then try partitioning using Boot Camp again.

Jan 10, 2013 4:32 PM in response to freelander87

Prob too late for OP but hope this will help someone facing a similar problem in future.

I found the easiest way to achieve the "defrag" of disk and subsequent successful installation of Win 7 simply by doing a complete restore from Time Machine. This process wipes the hard drive before restoring to the same hard drive, thus tidying up the non-contiguous areas on the drive which can prevent the creation of a new partition.


Obviously, this requires the user to have a fully backed up copy of his hard drive on Time Machine, as well as a boot disk.

I did this with an early 2009 MacBook (not Pro), running Mountain Lion with a Snow Leopard boot disk. Accordingly, I could only install the 32-bit version of Win7. If you don't have a boot disk, I believe you can create a legitimate one via Carbon Copy Cloner (30-day free download) if you purchased your OS via the Mac App Store, although I didn't need to try this step. No doubt there are other ways of achieving this.


Boot from OS disk and select Restore from Time Machine from the utilities menu. This took me about 40 minutes for 35GB of files, so this could take substantially longer if you have lots more data. But, hey, it's just a case of being patient.


Once this has been done, boot from your restored HDD as normal and use the BootCamp utility to create your new partition for Win7. Load your Win7 disk when appropriate and select the advanced options to format the new BootCamp partition with NTFS as is required for Windows OSes. Don't go looking for "NTFS" specifically as I don't remember even seeing it, just select Format and it will apply the correct formatting. (Clever Apple!)


Good luck!

Boot Camp Assistant says "The disk cannot be partitioned because some files cannot be moved." What can I do?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.