Q: Bootcamp partition missing at startup after macos sierra
I have iMac Late 2012 with 1Tb HDD. After updating to macOS Sierra Bootcamp partition missed from startup. I can see it copy/write files, but cannot start.
output for commands:
iMac-Volodymyr:~ vampire$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 799.6 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 199.6 GB disk0s4
iMac-Volodymyr:~ vampire$ diskutil cs list
No CoreStorage logical volume groups found
iMac-Volodymyr:~ vampire$ sudo gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168
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 1953525167
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 1561750864 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1562160504 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
1563430040 389832944 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1953262984 262151
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
iMac-Volodymyr:~ vampire$ sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 121601/255/63 [1953525168 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 - 1561750864] HFS+
3: AB 1023 254 63 - 1023 254 63 [1562160504 - 1269536] Darwin Boot
*4: 0C 1023 254 63 - 1023 254 63 [1563430040 - 389832944] Win95 FAT32L
iMac, macOS Sierra (10.12), null
Posted on Sep 29, 2016 9:56 PM
You have either El Capitan or Sierra. You will need to disable SIP by booting into Local Recovery (using Command+R - not Internet Recovery) and click on Utilities -> Terminal and type
csrutil status
csrutil disable
csrutil status
Boot normally and check the output of csrutil status which should now be disabled.
Run the following commands (ignore the i386 MBR error but not any others) and test.
sudo fdisk -e /dev/disk0
p
setpid 4
07
flag 4
p
w
y
Reboot and Test.
Posted on Sep 30, 2016 11:50 AM