jeudi 5 mars 2015

Fix formatted GPT in SSD


I accidentally formatted my SSD's GPT while formatting a USB in Linux's gparted. Now, when running gpt in Mac's command line, this is how my SSD looks like:



My-MacBook-Pro:~ user$ sudo gpt -r show disk2
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 1000215149
1000215183 32 Sec GPT table
1000215215 1 Sec GPT header


I used to have 2 partitions on this drive: Mac OSX and a Windows 8.1 bootcamp partition. I wouldn't mind loosing the latter.


I have heard about being able to restore the partition with the gpt command in Mac. Is this possible in my case?


Thanks, Martin





Aucun commentaire:

Enregistrer un commentaire