# Linux – Warning: Partition X does not end on cylinder boundary. Should I care/how to fix

fdiskhard drivelinux

My output of

fdisk -l


is

Disk /dev/sda: 750 GB, 750153761280 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        5860    47070418   83  Linux
/dev/sda2            5861       91201   685493550    5  Extended
/dev/sda5            5861        6103     1943865   82  Linux swap
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda6            6104       91201   683541652   83  Linux
Warning: Partition 6 does not end on cylinder boundary.


/dev/sda1 is my root partion, /dec/sda5 is swap and /dev/sda6 us my home partition.

I'm not sure if these warnings are new, or if I had them since I set up the sytsem in the first place.

What do these warnings tell me? Should I care or be worried? And if so, how to fix it?

I searched the internet, but found a lot of different informations, some of them obviously wrong, so I hope to find some answers here.

They tell you exactly what they say. No, you shouldn't care about that. Your cylinders are complete fictions and no actual operating system, not even MS-DOS, has actually itself cared about such alignment. This is a pointless message from fdisk, which is over three years behind other disc partitioning utilities and showing no signs of improving. Get yourself an up-to-date partitioning tool that doesn't have this silliness, and that does 4KiB alignment or similar, such as gdisk.