A client has a MacBook Pro Retina with a FileVault2 encrypted boot drive, and the Mac used to dual boot with Linux. Disk Utility apparently showed 4 partitions [Mac HD, Linux, and other 2 small partitions, likely used by Linux as it too was full disk encrypted.
He managed somehow to delete one of the small partitions, and now all disk utility shows are disk0s1, disk0s2, and so on, without even the containing physical drive above in the list.
The os was 12.12.4 [likely, definitely 12.12.x].
This is an image from Recovery > Disk Utility:
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-BA4B-00A0C93EC93B
409640 813902408 2 GPT part - FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
814312048 1269536 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
815581584 1648
815583232 80498047 4 GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
896081279 641
896081920 2244608 5 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
898326528 262144
898588672 78516224 6 GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
977104896 131
977105027 32 Sec GPT table
977105059 1 Sec GPT header
Of course he doesn't have a backup. He has the recovery key for FileVault2. Any ideas?
diskutil list
andsudo gpt -r show disk0
entered in menubar > Utilities > Terminal booted to Internet Recovery Mode (or another external boot drive)! Text version preferred - in Internet Recovery Mode a pic taken with some kind of digital camera is sufficient. – klanomath Feb 14 '18 at 16:29