Recovering Bootcamp partition after resize
As suggested here, here's the outputs:
> diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *240.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Mac Home 119.6 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data Windows 7 119.6 GB disk0s4
> sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 29185/255/63 [468862128 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 1023 254 63 [ 1 - 235272191] <Unknown ID>
*2: 07 1023 254 63 - 1023 254 63 [ 235272192 - 233588736] 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 gpt -r -vv show disk0
gpt show: disk0: mediasize=240057409536; sectorsize=512; blocks=468862128
gpt show: disk0: Suspicious MBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 468862127
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 233591448 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
234001088 1269544 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
235270632 1560
235272192 233588736 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
468860928 1167
468862095 32 Sec GPT table
468862127 1 Sec GPT header
And I cannot boot to Windows as the option doesn't come up in the bootloader.
MacBook Pro (15-inch Early 2011), OS X Mavericks (10.9.1)