Bootcamp not accessible after Yosemite update

So here I start a new thread...


What I did:


I updated my Mavericks to Yosemite and after installing it my bootcamp partition seemed to be gone!

Just possible to boot the Mac partition and I saw that I now have a recovery partition which I didn't have yet.

In Disk Utility I can see that there is a partition but its called disk0s4 and is inaktive...cant activate it.


Due several tries i could manage that while restarting the mac and pressing ALT the Bootcamp Partition came up again but choosing it it says "Operating System is missing"


What am I to do now?

I really need that data on the BC partition but I can't even read the data.


Would be very thankful if someone helped me...thanks.


Its a MBP 17" mid 2009. On a 500GB Samsung 840 Evo SSD

Posted on Mar 22, 2015 8:26 AM

Reply
55 replies

Mar 26, 2015 12:29 AM in response to Loner T

I did one recovery..


my result was this:


PhotoRec 6.14, Data Recovery Utility, July 2013

Christophe GRENIER <grenier@cgsecurity.org>

http://www.cgsecurity.org


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

Partition Start End Size in sectors

4 P MS Data 571383808 0 1 976773119 0 1 405389312 [BOOTCAMP]



265829 files saved in /Users/.../Documents/recup_dir directory.

Recovery completed.


You are welcome to donate to support further development and encouragement

http://www.cgsecurity.org/wiki/Donation



the recovered files are in total 53GB...which is not enough.


does it just recover files that were deleted?

Mar 26, 2015 12:47 PM in response to Loner T

with the new version...


PhotoRec 7.0-WIP, Data Recovery Utility, March 2015

Christophe GRENIER <grenier@cgsecurity.org>

http://www.cgsecurity.org


Disk /dev/disk0 - 500 GB / 465 GiB (RO)

Partition Start End Size in sectors

4 P MS Data 571383808 0 1 976773119 0 1 405389312 [BOOTCAMP]



268995 files saved in /Users/....../Documents/Recov 1.1/recup_dir directory.

Recovery completed.


You are welcome to donate to support further development and encouragement

http://www.cgsecurity.org/wiki/Donation

Mar 27, 2015 12:01 AM in response to Loner T

these are the results...


same as the last!


TestDisk 7.0-WIP, Data Recovery Utility, March 2015

Christophe GRENIER <grenier@cgsecurity.org>

http://www.cgsecurity.org


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

Partition Start End Size in sectors

P EFI System 40 409639 409600 [EFI]

D Mac HFS 409640 558397919 557988280

D Mac HFS 12125992 570114271 557988280

D MS Data 433719265 839163872 405444608

D MS Data 436503201 841947808 405444608

D Mac HFS 558397920 559667455 1269536

D Mac HFS 570114272 571383807 1269536

D MS Data 571326464 976771071 405444608

D MS Data 571383808 976773119 405389312

D MS Data 578531259 578537432 6174

D MS Data 578537432 578543605 6174 [Boot]

D MS Data 578537451 578543624 6174

D MS Data 578543624 578549797 6174 [Boot]

D MS Data 578543643 578549816 6174

D MS Data 578549816 578555989 6174 [Boot]

D MS Data 578555992 578558871 2880 [EFISECTOR]

D MS Data 578558872 578561751 2880 [EFISECTOR]

D Mac HFS 580316100 588704709 8388610 [ D^A]

D MS Data 608137196 608142955 5760

D Mac HFS 608816208 608816302 95

D Mac HFS 664010245 664010339 95

D Mac HFS 664977397 664977491 95

>D MS Data 786288772 786294531 5760

Mar 27, 2015 3:14 PM in response to Nosedragon

If we assume entry 2 to be the correct one, here is a table that I use to verify numbers.


GPT 3 StartGPT 3 SizeGPT 3 EndNTFS StartSector OffsetNTFS SizeNTFS EndSector Offset (MB)
5583979201269536559667456571326464116590084054446089767710725,693


If you notice there is a ~5.6GB gap. Do you recall any resizing/repartitioning of Windows at any point in time? The following steps only manipulate the partition offsets. They do not change any other data on disk.


Leave your Testdisk display and start a new Terminal Window. Please 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.


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. 571326464 - Start offset in bytes (start point for Bootcamp part)
  8. +405444608 - (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 6. Accept all other defaults that Gdisk offers.

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


Here is an example Q&A session with Gdisk (for the second set of Gdisk commands).

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): 07

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.

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.

Bootcamp not accessible after Yosemite update

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