Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Boot Camp is no longer visible in OS X

Hi all,

after installing Yosemite last update last week, when mac rebooted, the windows partition has disappeared.

Following other posts, I executed some controls, pasted below.

Do someone can help me.

Thanks in advance,

Ax

MacBook Pro (Retina, 15 '', late 2013)

OS : Yosemite, 10.10.3 (14D136)

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

sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

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 977105059

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

195722136 1269544 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

196991680 193361216

390352896 586752000 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

977104896 131

977105027 32 Sec GPT table

977105059 1 Sec GPT header

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

sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60821/255/63 [977105060 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 - 195312496] HFS+

3: AB 1023 254 63 - 1023 254 63 [ 195722136 - 1269544] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [ 390352896 - 586752000] Win95 FAT32L

MacBook Pro with Retina display, OS X Yosemite (10.10.3)

Posted on May 28, 2015 2:01 PM

Reply
9 replies

May 29, 2015 7:14 AM in response to Loner T

TestDisk 7.0, Data Recovery Utility, April 2015

Christophe GRENIER <grenier@cgsecurity.org>

http://www.cgsecurity.org


Disk /dev/rdisk0 - 500 GB / 465 GiB - 977105060 sectors (RO)

Partition Start End Size in sectors

>P EFI System 40 409639 409600 [EFI]

P Mac HFS 409640 195722135 195312496

P Mac HFS 195722136 196991679 1269544

D MS Data 196993024 977104888 780111865

D MS Data 196993031 977104895 780111865

D Mac HFS 975835480 977105023 1269544

May 29, 2015 8:42 AM in response to Barax

Can you scroll down to each of these and use 'P' to list files? These are 7 sectors apart. The first one appears to be the most likely candidate.

D MS Data 196993024 977104888 780111865

D MS Data 196993031 977104895 780111865

Using the first MS Data entry, the verification table is


User uploaded file


The output from the 'P' command should look like

User uploaded file

May 29, 2015 12:35 PM in response to Barax

Leave your Testdisk display and start a new Terminal Window. You need to use the following steps.


If you see any error messages during the following steps, please stop and post back here with the error message. The following steps have values from your Testdisk output (and you can verify) in Steps 7 and 8. Please notice the '+' sign in Step 8.


Rebuild GPT4 using start/end offsets


  1. Sudo gdisk /dev/rdisk0
  2. P (print the full list of parts)
  3. D (delete)
  4. 4 (part 4)
  5. N (new part)
  6. 4 (part 4)
  7. 196993024 - Start offset in bytes (start point for Bootcamp part)
  8. +780111865 (Size offset as opposed to End offset)
  9. 0700 (Windows part type)
  10. P (print list of all parts just to see what changes will be made)
  11. W (Write the new GPT)
  12. Y (Yes! really write the new GPT)

This will delete and re-write the GPT partition info for /dev/disk0s4.

Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes). The only values that need modifications are the Boot flags and step 10. Accept all other defaults that Gdisk offers. Please notice thesample Q&A after the steps.

  1. Sudo gdisk /dev/disk0
  2. P (Print list of parts)
  3. R (Recover)
  4. O (print current Hybrid MBR)
  5. H (chooses Hybrid)
  6. Partitions numbers to be hybridized: 2 3 4
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. N (part 3 boot flag)
  10. Y (part 4 boot flag make NTFS bootable partition)
  11. O (print current Hybrid MBR)
  12. W (Write the new MBR)
  13. Y (Yes! write the new MBR)
  14. Reboot


Here is sample Q&A for this section. Please notice the Press Enter/Return.


Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y


Creating entry for GPT partition #2 (MBR partition #2)

Enter an MBR hex code (default AF): Press Enter/Return

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #3 (MBR partition #3)

Enter an MBR hex code (default AB): Press Enter/Return

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): Press Enter/Return

Set the bootable flag? (Y/N): Y


Test 1 - Does Bootcamp Volume show up in Finder?

Test 2 - Can you see files in Bootcamp Volume?

Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?

Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.

Boot Camp is no longer visible in OS X

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