parted rejects GPT as corrupt, kernel + gdisk think it's ok
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
parted rejects the GPT on my N4 as invalid:
# parted /dev/mmcblk0
GNU Parted 2.3
Using /dev/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Error: Both the primary and backup GPT tables are corrupt. Try making a fresh
table, and using Parted's rescue feature to recover partitions.
but the kernel has no problem with this table, and gdisk also works with it just fine. The backup table *is* corrupt, everyone agrees - but the primary seems to be valid from the kernel's POV, so parted ought to read it.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: parted 2.3-13ubuntu1
ProcVersionSign
Uname: Linux 3.9.0-3-generic x86_64
ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
Date: Tue Jun 4 13:54:22 2013
InstallationDate: Installed on 2010-09-24 (984 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
MarkForUpload: True
SourcePackage: parted
UpgradeStatus: Upgraded to saucy on 2013-05-06 (28 days ago)
Changed in parted (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Phillip Susi (psusi) |
Changed in parted (Ubuntu): | |
status: | Triaged → Fix Committed |
status: | Fix Committed → Fix Released |
The first 16KiB does not cover the whole partition table; it's 2 sectors longer than that for the pbmr and the primary header.