Make a partition of an exact size for cloning |
|
|
It is very difficult to create a disk partition of the exact same size as an existing partition of another disk using Apple's Disk Utility. Whenever I try this, I always find the size of the partition created by Disk Utility is slightly different from the partition I'm trying to clone. Here's a way using the command line that allows you to get the size exactly right.The standard warning applies: Be very careful. This will wipe the entire disk that you are repartitioning. One small typo could result in the wrong disk being wiped!
Here's how to do it:Open Terminal, and if your account doesn't have administrator privileges, su to the administrator user.Type diskutil info /Volumes/partition_to_clone/ to find the size of the partition you want to clone. The output should include something like this ...
|