I booted to a live ubuntu USB, wanting to delete partitions on an SD card, and ended up deleting all my partitions on my mac book pro's internal hd.
I have already tried gpart (which gets stuck at "Begin scan...") and testdisk (which can't create partitions since "Function write_part_mac not implemented"!).
I did try "cmd + r" at boot, but gave it up as it was taking a long time. I thought there would be an easier and faster alternative.
Is there a way to recover data with partitions on my hd?
***EDIT: Here's my testdisk o/p for the mac hd:
Partition Start End Size in sectors
P DOS_FAT_32 40 409639 409600 [EFI]
P HFS 409640 489972567 489562928