Boot camp parition missing after upgrade to OS X Yosemite

Lately I upgraded my Mac OS X to Yosemite, and my Boot camp parition is gone.

It would be nice if someone would help me to recover it.

$ diskutil list


/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *120.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macbook 79.5 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Apple_HFS 9.6 GB disk0s4

5: Microsoft Basic Data 30.0 GB disk0s5

$ diskutil cs list

No CoreStorage logical volume groups found

$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=120034123776; sectorsize=512; blocks=234441648

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 234441647

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 155242608 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

155652248 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

156921784 18665544 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

175587328 262144

175849472 58591232 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

234440704 911

234441615 32 Sec GPT table

234441647 1 Sec GPT header

$ sudo fdisk /dev/disk0

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 0 0 2 - 1023 254 63 [ 1 - 175849471] <Unknown ID>

*2: 07 1023 254 63 - 1023 254 63 [ 175849472 - 58591232] 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


I've followed the instructions: http://nerdr.com/bootcamp-partition-lost-repairing-mac-partitions/ and added partition 5 to MBR, now when my mac is booting up and I hold ALT key, I can choose Windows, but when I do there is info: Missing operating system.


Is there any way to fix it?


Thanks!

MacBook Pro, OS X Yosemite (10.10.1), half of 2010

Posted on Dec 8, 2014 10:15 AM

Reply
17 replies

Dec 12, 2014 1:36 PM in response to Loner T

I tried photorec, but it doesn't support *.cs files.


I've created custom signature as in: http://www.cgsecurity.org/wiki/Add_your_own_extension_to_PhotoRec

but when I try fidentify and select a cs file it returns unkown, can you help me with that?


cs 0 ...namespace

cs 0 namespace

cs 0 using

cs 0 ...using

sln 0 .....Microsoft V

userprefs 0 ...<Properties>.

it's the content of photorec.sig file which I put in the same directory as program.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Boot camp parition missing after upgrade to OS X Yosemite

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.