A few months ago someone installed Linux on my computer using rEFInd for a project. I am using a 2015 13" Macbook Pro with 256GB SSD. The partition for linux was made to be 60GB. After the project I somehow deleted rEFInd and completely forgot about the rest.
A few days ago I noticed that I had only 190GB of fully usable space and remembered that Linux was probably still there. After trying to use diskutil I thought deleting the Linux partition and resizing the Apple AFS partition everything would work. But sadly after deleting it,the partition with my data on had type FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF on my main bootable drive. Now after restarting my computer I get a black screen followed by GRUB Minimal Bash screen.
After following instructions on Data Not Backed Up, Partition Type: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF I tried the commands to change my partition type to a normal OS-X partition. After doing that verifyDisk didn't give me any problems but verifying that volume returned
Error: -69845: File system verify or repair failed.
Underlying error: 8: POSIX reports: Exec format error
These are the photos of $ diskutil list and $ gpt -r show disk0.
I'm not the most knowledgeable when it comes to commands like this so any help is appreciated. I have important data on the disk that I hope is not erased and won't be erased that is not backed up anywhere else.