How to create exact 10 GB, 50 GB, 100 GB or 1.00 TB partition?

Status
Not open for further replies.

tapu4u

Honorable
Jun 1, 2014
18
1
10,510
How to create exact 10 GB, 50 GB, 100 GB, 1.00 TB partition? Whenever I tried to create 100 GB partition I create 102400 MB it alwas create less than 100 GB partition like 98.99 or 99.99 GB etc. How much extra MBs are required to create exact partition?
 


I tried the following:
102400 MB + 500 MB = 102900 MB = 100 GB Partition

20580 MB = Exact 20 GB Partition
154100 MB = Exact 150 GB Partition
1049000 MB = Exact 1.00 TB Partition

Whats the logic or formula?
 
  • Like
Reactions: shabirahmadmbl


Then why 102400 MB is no giving/creating 100 GB Partition?
 
I think you're basing your question on a misconception of what a Gigabyte is. It's not 1,000,000,000 bytes as you might think. Normally in numbers we think in terms of base 10 however that doesn't work well with computers which ultimately are base 2 (AKA ones and zeros)

The smallest unit of drive storage is a sector which is generally 512 bytes (newer drives are 4096 bytes). Which doesn't tend to divide nicely into round base 10 numbers. That's the same reason why you notice that RAM in computers usually jumps in numbers like 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024Mb (aka 1Gb). A true Gb is actually 1073741824 bytes(1024*1024*1024), a number which your computer understands better.

If you really want to set it to be a true Gb then you should figure out exactly how many sectors that is (kb/2 = sectors) and manually set the partition size to that. A ending LBA that is 2097152 sectors off from the starting LBA should show as a true Gb.

Though it seems to be an awful amount of work to go through just to be anal retentive.
 
Status
Not open for further replies.