Ramhound is confusing you. There's no partition to fix, here. It is the partition table that needs fixing.
Your master copy of the EFI partition table, stored in blocks #1 et seq. of your disc has, as the utility says, an invalid signature. The utility is therefore using the backup copy of the EFI partition table, that is (for optimal results) stored at the end of the disc, in its highest-numbered blocks.
The utility is reporting that the backup copy has two entries. One has the type "Microsoft Reserved" and the other has the type "Basic data". Neither of these mean "does not have a standard filesystem". Partition types don't imply filesystem types. (They control visibility to operating systems.) As the utility is telling you, the signatures that do imply filesystem types, variously stored in "superblock"s and "BIOS Parameter Blocks" within the partitions, are missing from both of those partitions.
For repairing:
- The
gpart
command in FreeBSD has a recover
subcommand that can copy the backup copy over to the main copy (or vice versa).
- TestDisk can build an EFI partition table from scratch, using information such as in the screenshot, and rewrite it to disc.
gdisk
, as mentioned in Milind R
's answer, can repair the case of a corrupted main copy and a valid backup copy, as here.
Further reading
1You are already using the Tool that should be able to resolve the problem. There are others most are paid. Don't feel convertible making a specific product suggestion. – Ramhound – 2014-01-26T18:08:15.737
all the tools i have found can only repair the partitions, but i dont want to repair those, i want to repair the GPT header NOT the partitions. if you think testdisk can do that, can you please tell me how? because i dont seem to find the option – x4rf41 – 2014-01-26T18:18:25.640
Perhaps I am dense. The error message says exactly "bad GPT Partition, invalid signature" this indicates if you were to fix that partition the problem would be solved. – Ramhound – 2014-01-26T18:21:56.257
1Well, GPT is the format of the partiton table, the entries of the partition table are correct (the information testdisk shows is correct). but gpt consists of more than just the adresses of the partitions, therefore i probably need to rebuild the gpt header. but i dont know how and what exactly do you mean with "fix that partition"? – x4rf41 – 2014-01-26T18:56:08.830