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

Bootcamp Wont Load After Yosemite Install

Loner T,


My bootcamp does not load after Yosemite install.


Thanks

iMac, OS X Yosemite (10.10), Also Windows 7

Posted on Jan 10, 2015 11:47 AM

Reply
72 replies

Apr 7, 2015 3:27 PM in response to Loner T

the only one starting higher than 880585424 that contained anything of note was the following:


MS Data 938043392 977104895 39061504 [04]

Directory /


>-rwxr-xr-x 0 0 4096 30-Mar-2015 23:00 ._.Trashes

drwxr-xr-x 0 0 0 30-Mar-2015 23:00 _RASHE~1.YXL

drwxr-xr-x 0 0 0 30-Mar-2015 23:00 .Trashes

drwxr-xr-x 0 0 0 31-Mar-2015 17:04 .Spotlight-V100

drwxr-xr-x 0 0 0 31-Mar-2015 17:04 .fseventsd

I accidentally quit in TestDisk so it now reanalysing!

With the two numbers you gave as a range, did you mean between 57457968 to 880585424?

Apr 13, 2015 4:51 AM in response to Loner T

I have been following the TestDisk screenshots. When i get to the screen (text pasted below) the numbers are not exactly the same as teh ones you posted, is this a problem?


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

Partition Start End Size in sectors

P EFI System 40 409639 409600 [EFI]

D Mac HFS 409640 878590759 878181120

D MS Data 784068616 880586752 96518137

D Mac HFS 879315888 880585423 1269536

>D MS Data 880586752 977104888 96518137

D Mac HFS 975835488 977105023 1269536














Structure: Ok. Use Up/Down Arrow keys to select partition.

Use Left/Right Arrow keys to CHANGE partition characteristics:

P=Primary D=Deleted

Keys A: add partition, L: load backup, T: change type, P: list files,

Enter: to continue

NTFS, blocksize=4096, 49 GB / 46 GiB

If i keep hitting ENTER as the screenshots suggest when i get to the end of the Deeper Search, i get the very very long list of numbers but again, none of them are exactly the same as the ones you posted. Of that very long list, the part where the numbers were closest to starting at teh number you suggested were this:

D Mac HFS 879332074 880601609 1269536

D Mac HFS 879332314 880601849 1269536

D Mac HFS 880585420 881854955 1269536

D MS Data 880586752 977104888 96518137

D MS Data 909316096 977104888 67788793

D MS Data 938043392 977104895 39061504 [04]

D MS Data 938043398 977104901 39061504 [04]

>D Mac HFS 975835488 977105023 1269536

Structure: Ok. Use Up/Down Arrow keys to select partition.

Use Left/Right Arrow keys to CHANGE partition characteristics:

P=Primary D=Deleted

Keys A: add partition, L: load backup, T: change type,

Enter: to continue

HFS+ found using backup sector!, 650 MB / 619 MiB


I am somewhat confused as i must be missing something here. Are you able to help?

Do you think this issue is caused by the Yosemite upgrade?

Will it be easier to wipe everything and start again? I have Time Capsule back ups but am concerned that Time Capsule will bring the same problems with it anyway.

Appreciate your time, thanks.

Apr 13, 2015 8:30 AM in response to andyfrombondi

My screen shot is an example. Each disk will have unique numbers.


andyfrombondi wrote:


D MS Data 880586752 977104888 96518137

This seems to be the correct candidate. Here is a table with numbers specific to your case.


GPT 3 StartGPT 3 SizeGPT 3 EndNTFS StartSector OffsetNTFS SizeNTFS EndSector Offset (MB)
8793158881269536880585424880586752132896518137977104889 1


Here are two sets of steps that you need to execute. 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. 880586752 - Start offset in bytes (start point for Bootcamp part)
  8. +96518137 (Size offset as opposed to End offset. Please ensure you use the '+' sign)
  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


This is sample Q&A for these steps. Please notice Press Enter/Return in questions where you should accept the default offered by Gdisk.

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.

Apr 13, 2015 1:30 PM in response to andyfrombondi

Were you able to verify that you could see valid files using 'P - List files' in the following MS Data entry?


D MS Data 880586752 977104888 96518137


Rebuild GPT4 set of steps should be down first, because the MBR is derived from the values. If you notice there is a gap between GPT3 End and NTFS Start (of 1328 sectors), which is used for boundary alignment.


The GPT3 End and NTFS Start are different and they are 880585424 and 880586752 respectively.


If you run the following two commands,


sudo gpt -vv -r show /dev/disk0

sudo fdisk /dev/disk0


They should be aligned completely. If you want, post the output of the two commands and I can verify.


If you rebuilt the GPT4 after the Hybrid MBR steps were executed, it will not work. Third-party NTFS software will also interfere with the visibility of Windows partition in System Preferences -> Startup Disk.

Apr 13, 2015 1:34 PM in response to Loner T

The results of the two tests:

User uploaded file


Although i posted the screenshots in reverse order I did follow the steps in the way you suggested.

I am unsure what the implications of "Third-party NTFS software will also interfere with the visibility of Windows partition in System Preferences -> Startup Disk." are, and what third-party NTFS software could be. Is there a way to check?

Bootcamp Wont Load After Yosemite Install

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