How can I get back my data from the FFFF… partition which is ~350 GB by fixing the partition table?
977105059 1 Sec GPT header
Riccados—MacBook—Pro:~ Riccado$ sudo gpt —r show /dev/disk0s2
start size index contents
0 683645536
Riccados—MacBook—Pro:~ Riccado$ sudo gpt —r show /day/disk0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part — C12A7328—F81F-11D2-6A46-00A0C93EC938
409640 683645536 2 GPT part — FFFFFFFF—FFFF—FFFF—FFFF—FFFFFFFFFFFF
684055176 1269536 3 GPT part — 48465300-0000-11AA—AA11-00306543ECAC
685324712 49224610 4 GPT part — OFC63DAF-8483-4772-8E79-3D69D8477DE4
734549322 694
734550016 8073216 5 GPT part — 0657FD6D—A4AB-43C4-84E5-0933C84B4F4F
742623232 233212248 6 GPT part — 53746F72-6167-11AA—AA11-00306543ECAC
975835480 1269544 7 GPT part — 426F6F74-0000-11AA—AA11-00306543ECAC
977105024 3
977105027 32 Sec GPT table
977105059 1 Sec GPT header
Riccados—MacBook—Pro:~ Riccado$ diskutil unmountDisk /dev/disk1
Unmount of disk1 failed: at least one volume could not be unmounted
Riccados—MacBook—Pro:~ Riccado$
The disk is 500 GB in total. 350 GB is assigned for macOS, 120 GB for Windows and 30 GB for Ubuntu.
This morning when I woke up, I tried to boot my Mac but it didn't boot successfully as it is just showing the prohibitory sign. So I tried to fresh install macOS, pressing command ⌘-R when starting the Mac to enter Recovery Mode. But only the Windows partition (120 GB) is showing to reinstall macOS on instead of the original 350 GB partition. I reinstalled macOS on the 120 GB partition. Now I don't know how to retrieve my files back from the old 350 GB partition. They all are in same disk. Linux is not booting now too.