doktor5000 is correct here:
If i were you, and were concerned about my harddrive, i'd back it up, delete the whole partition table, and recreate it from scratch.
But I think, he is also correct in this statement:
Well if there is an error message, but no related error, why bother with it?
Why I said that?
Because I have never used cfdisk. I always use GParted & fdisk (mostly from the GParted Live CD), and the partition tool, that
comes with the Installer (of the distro I want to install).
After your post, I "tested" the cfdisk command in my hard disks for the first time. Guess what...
For my 2nd hard drive, it gave me this output (and still does):
- Code: Select all
# cfdisk /dev/sdb
FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder
Press any key to exit cfdisk
I never had any kind of error (from GParted or fdisk) for my partitions for many months. At least, for the first two hard drives, with the various installations in them.
So I started searching for that "FATAL ERROR". And for yours too (I found also your post in the archlinux forum about it)
I spend hours & hours in various forums and documentation or tutorial pages.
Couldn't find any "concrete" answers. Only questions, doubtful opinions & suggestions. Like yours, mine or doktor5000's, that I find justifying as I wrote in the beginning.
I stopped searching when I came across in a thread (from 2007, in linuxquestions.org), about my "FATAL ERROR".
In that thread, I found an opinion, that it was "present" in some other threads, in various forums too (in different words):
...The main problem here is the use of cfdisk.
There are lots of things that confuse/irritate cfdisk and cause it to crash, particularly with SATA disks, and especially when partitions appear in other than their logical order. Fdisk is old, but is far, far more reliable.
Ignore the "Partition n does not end on cylinder boundary" messages. They're relatively worthless warnings, and all they mean is that there's going to be a few sectors wasted at the end of that partition...
And I didn't find any argue about that "type" of opinion, anywhere (as long as I searched).
Well, I stop here.
Since there is no documentation for these "FATAL ERROR" messages, I accept both doktor5000's suggestions.
It's up to me, or you, to choose what to do.
In my case of "FATAL ERROR", I choose to do nothing.
My /dev/sdb3 (it's the /home partition, for both Mageia Cauldron & Mageia 1, my "testing stable"), works perfectly well.
At least for now.