I want to carve out some of the unused space on the Windows partition of my computer for other use. After defragmenting the free space, there are unmoveable files roughly in the middle of the partition. For now, I plan to just shrink the partition to where those files end.
Objective: I need to make an image backup of the Windows partition first as catastrophe insurance.
Problem: From everything I've read, restoring an image backup must be done into a space at least as big as what was copied. Since I'll be shrinking the partition, that won't be possible. I'm looking for a way to either make an image of just the portion ending with the unmoveable files, or restore a full image (mostly empty space), into the shrunken partition.
Questions:
Is there a way to do either using a Linux command, like
dd, or any of the usual built-in or readily available Linux or Windows system tools (my Google-fu hasn't come up with a solution)?If creating a partial image is possible, I assume I will need to specify something like a sector range. How do I determine what that is (I don't know what the unmoveable files are, their exact location, or how to determine this)?
UPDATE: It looks like Acronis can actually restore an image to a smaller partition (although it is expensive and complex, so not ideal).