Suddenly my Boot Camp partition vanished: not visible in Finder, not visible on startup. In Disk Utility I can see the volume, but it's broken (verification log):
Verifying volume "disk0s4"
Verifying file system.
** /dev/rdisk0s4
Invalid BS_jmpBoot in boot block: 2b0601
File system check exit code is 8.
Error: This disk needs to be repaired. Click Repair Disk.
…and cannot be repaired:
Verify and Repair volume “disk0s4”
Repairing file system.
** /dev/rdisk0s4
Invalid BS_jmpBoot in boot block: 2b0601
File system check exit code is 8.
Updating boot support partitions for the volume as required.
Error: Disk Utility can’t repair this disk.
Back up as many of your files as possible, reformat the disk,
and restore your backed-up files.
Before there was another message, something about
Mount of disk0s4 blocked by dissenter.
Terminal's diskutil list
command:
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 596.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 199.3 GB disk0s4
and another one:
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 1165055256 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1165464896 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
1166734432 397446048
1564180480 389343232 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1953523712 1423
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
Once, I had as similar problem after partition resizing and had successfully solved it with this guide. But here I see some differences - now naming is not detected and you can't see BOOTCAMP in Finder sidebar. So, I'm not taking chances and won't follow this guide until someone will advise me so.
iMac14,3 (21.5-inch, Late 2013) , OS X Yosemite (10.10.4)
Here is 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 0 0 2 - 1023 254 63 [ 1 - 1564180479] <Unknown ID>
*2: 07 1023 254 63 - 1023 254 63 [1564180480 - 389343232] HPFS/QNX/AUX
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
sudo fdisk /dev/disk0
. Also, add the model of you computer. – David Anderson Jul 20 '15 at 21:01