I created a partition on an 1.5 TB external USB drive and cloned the 320 GB internal HDD of my notebook onto the partition. To create a partition the same size as the HDD in my notebook, I had to calculate the binary size as reported by Windows. I'm hoping someone can help be find a better way perform the calculation.
Using Win 7's Disk Management tool, I had to enter the amount of space to shrink the USB drive, in order to make room for the partition. Below is what I formulated, but surely there is a more accurate and efficient way.
Total size before shrink: 1,430,796 MB
Size available shrink space: 663,230 (free space on drive that contains stored files)
Enter the amount of space to shrink: 294,796
Total size after shrink: 1,136,000
So shrinking the drive by 294,796 gives 287,890 MB of unallocated space for the partition, just a tad larger than the target size of 286,9700 MB.
Rounding off to the nearest GB, I calculated the "the amount of space to shrink" as 294,796 MB to create a partition of 287.89 GB (287,890 MB) as follows.
Decimal size: 320,000 MB
Windows reports binary size: 286,970 MB
Size difference: 33,030 MB
Difference: 10.3219 %
But shrinking the size by 286,970 + 10.3219% (29,621) = 316,591 MB that is too large.
However, entering 294,796 MB for the amount of space to shrink creates 287,890 MB of unallocated space for the partition, which is close enough. So I figure that when entering the amount of space to shrink, I need to enter a size that is 2.72727% larger than the target size.
286,970 MB + 2.73% (7,826 MB) = 294,796 MB
Is there a better method than I used here?
Using Win 7's Disk Management tool, I had to enter the amount of space to shrink the USB drive, in order to make room for the partition. Below is what I formulated, but surely there is a more accurate and efficient way.
Total size before shrink: 1,430,796 MB
Size available shrink space: 663,230 (free space on drive that contains stored files)
Enter the amount of space to shrink: 294,796
Total size after shrink: 1,136,000
So shrinking the drive by 294,796 gives 287,890 MB of unallocated space for the partition, just a tad larger than the target size of 286,9700 MB.
Rounding off to the nearest GB, I calculated the "the amount of space to shrink" as 294,796 MB to create a partition of 287.89 GB (287,890 MB) as follows.
Decimal size: 320,000 MB
Windows reports binary size: 286,970 MB
Size difference: 33,030 MB
Difference: 10.3219 %
But shrinking the size by 286,970 + 10.3219% (29,621) = 316,591 MB that is too large.
However, entering 294,796 MB for the amount of space to shrink creates 287,890 MB of unallocated space for the partition, which is close enough. So I figure that when entering the amount of space to shrink, I need to enter a size that is 2.72727% larger than the target size.
286,970 MB + 2.73% (7,826 MB) = 294,796 MB
Is there a better method than I used here?