corrupted partition table, need help fixing
Hello (Loner T),
I have an issue with my partition table and need to rebuild it. Would you please assist ?
Output of:
sudo gdisk /dev/disk0
GPT fdisk (gdisk) version 1.0.4
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): P
Disk /dev/disk0: 490234752 sectors, 233.8 GiB
Sector size (logical): 512 bytes
Disk identifier (GUID): 57ECCA5D-3ED3-4ECC-B8F8-568B5DF9C6D0
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 4035 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 195858431 93.2 GiB AF0A
3 195858432 469830561 130.6 GiB 0700 Basic data partition
4 469831680 470835199 490.0 MiB 2700
5 470837248 490233855 9.2 GiB AF00 Apple HFS/HFS+
Output of:
sudo gpt -r show /dev/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-BA4B-00A0C93EC93B
409640 195448792 2 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
195858432 273972130 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
469830562 1118
469831680 1003520 4 GPT part - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
470835200 2048
470837248 19396608 5 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
490233856 863
490234719 32 Sec GPT table
490234751 1 Sec GPT header
MacBook Pro Retina