I tried to partition disk (HDD) into several parts for Windows and Linux by parted, but I find some problem as follows:

  • Why doesn't the free space between #3 and #5 start from 106815488s to 106817535s?

  • Why doesn't free space show after /dev/sda5, /dev/sda7, /dev/sda9, and /dev/sda10?



It's a msdos partition table. For extended/logical partitions, some space is needed to store the data of the next logical partition. So a logical partition can not start on the same sector as the extended partition, nor can it end on the last sector before the next partition. You have gaps in between, since that's where each logical partition's metadata goes.

If you add other requirements to your partitioning such as MiB alignment, you end up with 1MiB sized gaps between partitions.

No gaps are necessary for primary partitions, so the numbers fit for the free space between your partition 1 and 2. But with msdos, primary are limited to four (including the extended partition).

If you don't want such gaps, you could go for GPT partition scheme instead, if your Windows supports it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.