broken partition
Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
2: AC 1023 254 63 - 1023 254 63 [ 409640 - 782752720] <Unknown ID>
3: AB 1023 254 63 - 1023 254 63 [ 783162360 - 1269536] Darwin Boot
*4: 07 1023 254 63 - 1023 254 63 [ 914274304 - 62498816] HPFS/QNX/AUX
Dons-MBP:~ donjuan$ sudo gdisk /dev/disk0
sudo: gdisk: command not found
Dons-MBP:~ donjuan$ sudo gdisk /dev/disk0
sudo: gdisk: command not found
Dons-MBP:~ donjuan$ apt-get install gdisk
-bash: apt-get: command not found
Dons-MBP:~ donjuan$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 400.8 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 32.0 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD *400.4 GB disk1
Logical Volume on disk0s2
93AD0652-9C39-4475-9BEB-150850788B28
Unencrypted
Dons-MBP:~ donjuan$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 2C289549-9A2D-452A-A72D-575127C97990
=========================================================
Name: Macintosh HD
Status: Online
Size: 400769392640 B (400.8 GB)
Free Space: 18980864 B (19.0 MB)
|
+-< Physical Volume 58BE8589-BBA6-4C74-80BC-320D5AD29392
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 400769392640 B (400.8 GB)
|
+-> Logical Volume Family B0ECE937-2837-47EF-B07F-62BD3C297331
----------------------------------------------------------
Encryption Status: Unlocked
Encryption Type: None
Conversion Status: NoConversion
Conversion Direction: -none-
Has Encrypted Extents: No
Fully Secure: No
Passphrase Required: No
|
+-> Logical Volume 93AD0652-9C39-4475-9BEB-150850788B28
---------------------------------------------------
Disk: disk1
Status: Online
Size (Total): 400398090240 B (400.4 GB)
Conversion Progress: -none-
Revertible: Yes (no decryption required)
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
Dons-MBP:~ donjuan$ sudo gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=500107862016; sectorsize=512; blocks=976773168
gpt show: /dev/disk0: Suspicious MBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: /dev/disk0: Sec GPT at sector 976773167
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 782752720 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
783162360 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
784431896 129842408
914274304 62498816 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
976773120 15
976773135 32 Sec GPT table
976773167 1 Sec GPT header
*I tried to apt-get install G-parted LOL
MacBook Pro, OS X Yosemite (10.10)