Missing BootCamp partition after installing OS X El Capitan
I used to have a 40GB Windows 10 BootCamp partition. I wanted to reduce the size of the partition but having installed El Capitan, I found the the BootCamp volume is 'missing' ie greyed out in Disk Utility and no longer visible as a startup disk.
I saw threads on similar issues (e.g. @Loner T: Boot camp missing after El Capitan - My output) and hoped I might be able to get some assistance in restoring it.
Thanks to anyone who can help!
User @Loner T asked for the following Terminal outputs to help to specify my particular issue:
Last login: Sun Nov 22 14:00:52 on console
Lisas-MacBook-Pro:~ lisa$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Holly 180.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 40.0 GB disk0s4
Lisas-MacBook-Pro:~ lisa$ diskutil cs list
No CoreStorage logical volume groups found
Lisas-MacBook-Pro:~ lisa$ sudo gpt -vv -r show /dev/disk0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
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 490234751
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 351562496 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
351972136 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
353241672 58869176
412110848 78123008 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
490233856 863
490234719 32 Sec GPT table
490234751 1 Sec GPT header
Lisas-MacBook-Pro:~ lisa$ sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 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: AF 1023 254 63 - 1023 254 63 [ 409640 - 351562496] HFS+
3: AB 1023 254 63 - 1023 254 63 [ 351972136 - 1269536] Darwin Boot
4: 0C 1023 254 63 - 1023 254 63 [ 412110848 - 78123008] Win95 FAT32L
MacBook Pro with Retina display, OS X El Capitan (10.11.1), 2.3 GHz Intel Core i7 16 GB