When I run
fdisk, I get a warning message:
Partition table entries are not in disk order
Here is an example of the command I'm executing and its output:
sudo fdisk -l [sudo] password for phil: Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x6058406e Device Boot Start End Sectors Size Id Type /dev/sda1 63 1012094 1012032 494.2M 83 Linux /dev/sda2 1026048 1348251647 1347225600 642.4G 5 Extended /dev/sda3 * 1348251648 1953523711 605272064 288.6G 7 HPFS/NTFS/exFAT /dev/sda5 1244766208 1314039807 69273600 33G 83 Linux /dev/sda6 1314041856 1348251647 34209792 16.3G 82 Linux swap / Solaris /dev/sda7 1028096 1244764159 1243736064 593.1G 83 Linux Partition 2 does not start on physical sector boundary. Partition table entries are not in disk order.
According to my online research, this warning occurs when the partition's sector doesn't start on the "right sector", as it produces speed penalties when writing. One way to identify this issue is supposedly to check if the sector is divisible by 8; if so, the partition is correct.
The output above, except for the first partition, shows that all the partitions have the first sector divisible by 8, i.e. the Extended Partition 2 and its logical partitions.
Am I correct about that? And if so, why am I receiving this warning?
I don't have any encripted partition (neither in linux nor in windows).
The version of fdisk is:
sudo fdisk -version fdisk from util-linux 2.25.2