Hi. I inadvertently deleted the Mac and EFI partitions of an HD inserted on a Macbook Pro (2009). Fortunately I have the Linux one (with Debian XFCE) that I am writing from. I tried to recover with Gparted (by installing gpart), but after more than an hour I stopped having no recovery signal. Then I installed test disk and this is the screen. <TestDisk 7.1, Data Recovery Utility, July 2019 Christophe GRENIER <gren...@cgsecurity.org> https://www.cgsecurity.org
Disk /dev/sda - 480 GB / 447 GiB - CHS 58369 255 63 Partition Start End Size in sectors P EFI System 40 409639 409600 [EFI System Partition] >P Mac HFS 409640 700519039 700109400 P Linux filesys. data 700520448 759113727 58593280 P Linux Swap 759113728 761114607 2000880 P Linux filesys. data 761114624 937701375 176586752 Structure: Ok. Use Up/Down Arrow keys to select partition. Use Left/Right Arrow keys to CHANGE partition characteristics: P=Primary D=Deleted Keys A: add partition, L: load backup, T: change type, Enter: to continue HFS+ blocksize=4096 + Backup, 358 GB / 333 GiB> All partitions appear highlighted in green. What can I do to reset Mac OS? I don't dare shut down because I'm afraid it won't reboot anymore having wiped the EFI partition as well. How can I do without loosing the Mac data? Thanks in advance Francesco