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): Installierte Pakete Name : parted Architektur : x86_64 Version : 1.9.0 Ausgabe : 17.2.fc12 Grösse : 1.9 M Repo : installed Aus repo : updates How reproducible: Always 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 Yes/No?" 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 Actual results: No partitions are displayed Expected results: parted should show the msdos partitions. Additional info:
Hi, 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: http://koji.fedoraproject.org/koji/buildinfo?buildID=162993 http://koji.fedoraproject.org/koji/buildinfo?buildID=157221 Or boot from the F-13 alpha livecd and run parted from there. Thanks, Hans
Hi Hans, 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!
Ok, Closing this out then. Regards, Hans