Comment 7 for bug 559110

Revision history for this message
nitrogen (i-am-nitrogen) wrote :

I must correct my previous post. The actual cause was possibly-overlapping partitions in the extended partition. Fdisk's numbers all look good, but cfdisk reported the following (very helpful) error:

   FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap

I deleted /dev/sda5 and /dev/sda6, and now parted and cfdisk work. I imagine that changing the end sector of /dev/sda6 would have worked too. It would be very helpful if parted, ubiquity, and partman could report this kind of error in more detail, instead of just showing an empty disk. This error appeared after using gparted (from 9.10) to move /dev/sda7 (NTFS) right by 15GB to make more room for /dev/sda6 (ext4).