I'm Unable to Boot into Mac OS Partition, partition type FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF I've seen similar answered questions like this.

I'm unable to boot into my MacOS partition.

Long story short, I had Windows BootCamp, removed it and then later installed Ubuntu Linux, then tried to delete the Linux partition and I think I ended up deleting the Boot recovery partition. And then tried to run repair, and now my main mac partition now shows FFFFFFF something.

My Macbook is this one https://everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-i5-2.6-13-mid-2014-retina-display-specs.html#macspecs1

I'm guessing my Macbook got updated to Mojave 10.14 before this happened but I'm not 100% sure of it, it may be on High Sierra but I'm guessing.

I'm booting into Internet Recovery and this is what I've pulled up in the pictures below.

I would like to be able to boot into my regular Mac OS partition.


I'm unable to figure out if the partition is a OS X Standard Partition or CoreStorage or APFS or etc.
Is my recovery boot system too old if I need to use gpt to set it to an APFS argument?
Should I check if the EFI partition and the Recovery HD partition are corrupted
Would the 650 MB boot/recovery partion always be the last 650 MB of the disk
Does the partition table contains an MBR instead of an PMBR and would the MBR need to be replaced by a PMBR?
Previously the main MacOS partition was resized by me, how and when would be the best time and way for me to resize it to occupy the entire free space like stock?


Please Help.

It default boots into this.

If type exit, I get this.

Holding Option on boot shows


This is rest of the stuff I pulled from internet recovery







Please Help!
Based on klanomath's answer to the question OS volume shows as type 'FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF', it would appear you are missing a APFS type partition.

I believe you should enter the following commands while booted to Recovery Mode. See klanomath's answer for an explanation.

diskutil unmountdisk disk0
gpt remove -i 2 /dev/disk0
diskutil unmountdisk disk0
gpt add -i 2 -b 409640 -s 168232920 -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk0