Comment 3 for bug 232175

Revision history for this message
Colin Watson (cjwatson) wrote : Re: parted gets partitions wrong

It looks like this disk originally had a FAT filesystem on it, and was then overwritten with a normal partition table; however, a fresh boot sector was never written, and so the remnants of the old FAT filesystem are still hanging around. This makes a safety check in libparted kick in, because it thinks that the whole disk is a single FAT filesystem and so it shouldn't do anything with it.

The Linux kernel uses a different check for this, namely checking the active flag for each entry in the partition table and bailing out if it's neither 0 nor 0x80. I'll check this with upstream.