Attempted to install Linux on my MacBook Pro 15" 2015 one day for school, but then the install failed and I had a GRUB issue similar to this: How do I recover/fix my OS X partition?.
Weirdest part was that before this I was able to boot into macOS Catalina just fine, and then after taking a look at Disk Utility (noticed swap partition exists, but not ext4) and shutting down (and then rebooting), the drive disappears.
Being shocked, I thought that deleting the Linux partition would solve my problems. WRONG (don't ask why plz). I formatted it to FAT32, then realized that did nothing. The linux partition(s) should be around 115 GB (since I allocated 40 GB for swap and 75 GB for Linux - tho I could be wrong). So, then I combined those two partitions and had a ~110 GB FAT32 partition.
I went into recovery ALT+CMD+R, and the drives couldn't be repaired.
I followed these directions: MacOS Disk Partition FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
However, I realized that I typed in the incorrect start and size for all of my partitions and I don't remember the size of original partitions. Now I'm just stuck wondering how I could recover the data off my drive.
My main issue is after running
gpt destroy ..., how would I know the original contents and can I still recover my files?
In Disk Utility, I wiped the FAT32 partition and replaced it with APFS, but the mac partition will not mount.
I'm also quite bad with terminal commands, but I'm willing to type whatever is necessary to get the data from my computer, since there's a lot of schoolwork on it.
I'm using an OWC Aura Pro 2 TB SSD, and I'm wondering if this could also be a factor.
diskutil list and
gpt -r show disk1:
Edit: scratch that, I only see disk1s1 now, and that the other two partitions are gone completely:
Edit2: heres the output from running commands from klanomath (thank you!)
-bash-3.2# export LC_CTYPE="ASCII"
-bash-3.2# dd if=/dev/disk1s2 bs=512 count=1 2>/dev/null | vis -wc;