Unable to add back storage from Linux partition after deleting ( FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF Drive) [duplicate]

Solution 1:

Boot to macOS Recovery. Enter diskutil list to verify the FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFF partition is still disk0s2. Enter the following commands.

gpt -f remove -i 2 disk0
gpt -f add -i 2 -b 409640 -s 1269426984 -t apfs disk0