[Bug 1187560] Re: parted rejects GPT as corrupt, kernel + gdisk think it's ok
Phillip Susi
psusi at ubuntu.com
Thu Jun 6 18:12:56 UTC 2013
It thinks the crc doesn't match because it still runs the crc on 128
entries even though this table does not have that many. Basically, it
initializes the count of entries to 128, and doesn't update it from the
value in the header until *after* it checks the crc of the entries.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1187560
Title:
parted rejects GPT as corrupt, kernel + gdisk think it's ok
Status in “parted” package in Ubuntu:
Triaged
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
ProcVersionSignature: Ubuntu 3.9.0-3.8-generic 3.9.4
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1187560/+subscriptions
More information about the foundations-bugs
mailing list