Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Command : cfdisk -P s /dev/sdb gives the output FATAL ERROR: Bad primary partition 0: Partition ends in the final partial cylinder

while "Parted -l" successfully lists the partition table for the drive.

Plz explain the FATAL ERROR part. How can i list the partition table using the cfdisk command itself?

share|improve this question

The partition table might be invalid. How did you partition this disk? Some OSes and tools do make technically invalid partitions. They still work with that OS, but do not play well with other OSes. This could be what is happening.

You could try plain old fdisk:

fdisk -lu /dev/sdb

I've seen cfdisk be quite strict(this is good in most cases), but fdisk or others will be able to show disk info rather than exiting with an error - as you have seen with parted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.