You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

windows doesn't show up after repartitioning

here is the outcome of the commands u asked for.User uploaded file

MacBook Pro with Retina display, OS X El Capitan (10.11.1)

Posted on Nov 23, 2015 7:07 PM

Reply
8 replies

Nov 24, 2015 5:20 AM in response to diederik notten

You have non-standard partitions (5 partitions). It can be corrected, but it is fragile and later Software Updates can still cause issues. You will need GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) . The following steps are non-standard and should not be used on standard configurations. You will lose visibility to OSX from Windows.


You have El Capitan, so we need to disable SIP first.


1. Boot into Local Recovery (Command+R).

2. Start Utilities -> Terminal.

3. Type csrutil disable in Terminal and press Enter/Return.

4. Type csrutil status.

5. Boot normally, and type csrutil status to confirm that it is still disabled.


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 see thesample Q&A as an example. These steps can be repeated if you make a mistake before you get to Step 12, otherwise start from Step 1 for these steps. Step 6 has numbers which are typed with a space between the numbers. Please see the sample Q&A before you execute these steps.

  1. Sudo gdisk /dev/rdisk0
  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: 3 4 5
  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 #3 (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 #4 (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 #5 (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.

Apr 7, 2016 12:26 PM in response to Loner T

Dear Brother i have same problem, wen i re-partitioned my mac then boot camp was disappeared and i followed your commands As i'm on El Capitan enabled csrutil in recovery used osx install media to boot into recovery as my recovery didn't boot and after that i followed the commands and get the message of successful repair of MBR and now i can select windows as startup disk and i can see windows(windows 10) disk in recovery but when i try to boot windows 10(clicked windows disk to enter) it stuck at black screen with blinking horizontal cursor please help i've been observing ur posts and replies to the users they were so helpful to them.

windows doesn't show up after repartitioning

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