Red Hat Bugzilla – Bug 577915
parted doesn't recognise/show msdos partition
Last modified: 2010-03-31 03:19:10 EDT
Description of problem:
my hard drive has a MBR/msdos partitioning scheme, but also some remaining GPT data structures from an previous OS installation. GPT fails to show the msdos partitions.
Version-Release number of selected component (if applicable):
Name : parted
Architektur : x86_64
Version : 1.9.0
Ausgabe : 17.2.fc12
Grösse : 1.9 M
Repo : installed
Aus repo : updates
Steps to Reproduce:
1. parted /dev/sdb
2. in parted enter command "print"
3. parted shows error "Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.
However, it does not have a valid fake msdos partition table, as it should.
Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables. Or perhaps you deleted the GPT table, and are now using an
msdos partition table. Is this a GPT partition table
4. answer with "No".
5. nothing happens; parted is unable to show the actual msdos partitions.
6. enter "print" again and you get above warning again, again and again
No partitions are displayed
parted should show the msdos partitions.
Thanks for the bug report!
Can you please retest with the latest parted, parted-2.1-xx ?
You can either use an existing F-12 install, and update libblkid and parted
manually to the F-13 versions:
Or boot from the F-13 alpha livecd and run parted from there.
sorry, but I got impatient and had a look at the structure of the GPT partition layout. It turned out all I had to do was:
dd if=/dev/zero of=/dev/sdxN seek=1 count=1
to remove/zero out the old GPT data.
After that parted worked as expected.
So feel free to close this bug.
But hopefully this bug is been fixed in the new version of parted!
Closing this out then.