Boot Camp Cannot Partition Disk, Files Could Not Be Moved Error
by James on Oct.23, 2008, under Tech Support

You’ve cleared out enough space on your hard drive. You’ve got the Windows install disc ready to go. When you try to use Boot Camp to create a Windows partition, you come across the following error: “The disk cannot be partitioned because some files could not be moved.” The suggested solution of reformatting the disk and restoring the data will work, but is quite a hassle. Surely there is an easier solution? Well, there is.
The Problem
Before getting into the solution, we must first understand the cause of this problem. Boot Camp tries to create the Windows partition by allocating it a contiguous area at the end of the disk. To do this, it tries to move all of the files currently residing there onto another part of the drive. However, it has a problem moving large files (larger than several hundred megabytes in size) and will time out before succeeding, returning the above error. The most common files causing this problem are large video files.
The Solution
The solution then, is to move these large files residing at the end of the disk using another method. There are a few different ways to do this.
- Manually: If you have another hard drive (external or networked computer, for example), you could move the large files off temporarily. Of course, this would require some knowledge of which files are the culprit. You can use a utility such as Disk Inventory X to determine the largest files on the drive and move those off. This is how I solved the problem.
- Defrag: You could also use a defrag utility to move the files towards the front of the drive. I do not know of any free programs that would do this, though a paid one that would work is iDefrag ($34.95). You would have to do the full defrag, which requires rebooting. Even if you don’t pay for it, the demo is useful for showing you a mapping of where files reside on your drive, giving you an indication of how much you have to move. The demo version will not do the full defrag necessary to move the files to the front, however.
Once the large files are moved away, Boot Camp should have no problem moving the smaller files itself. Now you can continue with the Windows install to make your Mac much more versatile.
October 24th, 2008 on 8:05 am
Woah. A new revamp of the site. Nice.
Advice is nice too. Thanks!
May 10th, 2009 on 7:05 am
Disk Inventory advice worked great for me, many thanks !
November 28th, 2009 on 5:19 pm
wow ! finally. disk inventory did the job. i then used drive genius to defrag and was able to partition. thanks for the solution
June 28th, 2010 on 3:29 pm
SOLUTION!
here’s what i did after a few hours of tinkering around and not wanting to wait for defrag… Turn off your mac, hold shift and reboot. Mac boots into safe mode and bootcamp assistant works fine!
August 15th, 2010 on 6:55 am
my problem is that i only have one hard disk
[IMG]http://i480.photobucket.com/albums/rr166/music47ell/Screenshot2010-08-14at75140PM.png[/IMG]
so how can i do the defragment to my mac hard disk?