FrankieG18

Q: Bootcamp won't boot after adding partition to HDD

After partitioning my HDD to use as a "shared" partition between Bootcamp and Mac, my Bootcamp won't launch anymore. It doesn't show up when I press the Options key while booting yet if I go to Startup Disk, it shows both Bootcamp and HDD. Screen Shot 2015-11-05 at 6.16.28 PM.pngScreen Shot 2015-11-05 at 8.24.54 PM.png

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

Posted on Nov 5, 2015 5:26 PM

Close

Q: Bootcamp won't boot after adding partition to HDD

  • All replies
  • Helpful answers

Page 1 Next
  • by Loner T,

    Loner T Loner T Nov 5, 2015 6:09 PM in response to FrankieG18
    Level 7 (24,439 points)
    Safari
    Nov 5, 2015 6:09 PM in response to FrankieG18

    Can you post the output of the following Terminal commands?

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

     

    The "sudo" commands will prompt for your password, and it will not be echoed back. You may also see a warning about improper use of "sudo" and potential data loss due to "abuse" of the command.

  • by FrankieG18,

    FrankieG18 FrankieG18 Nov 5, 2015 6:24 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2015 6:24 PM in response to Loner T

    Screen Shot 2015-11-05 at 9.20.18 PM.pngScreen Shot 2015-11-05 at 9.20.29 PM.png

    Here are the outcomes of the commands        

  • by Loner T,

    Loner T Loner T Nov 5, 2015 6:54 PM in response to FrankieG18
    Level 7 (24,439 points)
    Safari
    Nov 5, 2015 6:54 PM in response to FrankieG18

    The Shared partition no longer exists, so I assume it was removed. It invalidated the output that you see from the Fdisk command.

     

    Please download GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) and install it.

  • by FrankieG18,

    FrankieG18 FrankieG18 Nov 5, 2015 6:56 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2015 6:56 PM in response to Loner T

    Correct, I went ahead and deleted it earlier  today  thinking it might of have fixed the issue. I went ahead and installed the GPT you mentioned.

  • by Loner T,

    Loner T Loner T Nov 5, 2015 7:05 PM in response to FrankieG18
    Level 7 (24,439 points)
    Safari
    Nov 5, 2015 7:05 PM in response to FrankieG18

    1. Boot into Local Recovery (Command+R) during power up.

    2. Run Utilities -> Terminal.

    3. Type csrutil disable and press return/enter.

    4. Boot normally.

    5. Type csrutil status in OSX Terminal and verify that is it disabled. If still enabled, repeat.

     

    Once you have SIP disabled properly, please ignore the i386 MBR error message, but no others.

     

    sudo fdisk -e /dev/disk0

    p

    setpid 4

    07

    flag 4

    p

    w

    y

     

    Reboot and test.

     

    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.

  • by FrankieG18,

    FrankieG18 FrankieG18 Nov 5, 2015 7:40 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2015 7:40 PM in response to Loner T

    I've tried disabling the SIP several times again and same story: In the Local Recovery, it claims that i successfully disabled it but when i return to OSX Terminal status it says it's still enabled. I still went ahead and tried the fdisk but I can't "write" because it says I don't have permission.

    Test 1: Yes, it's under the "Devices" tab in finder.

    Test 2: Yes, I can see the files from my Windwos 10

    Test 3: Yes, I can see and select BootCamp from the startup disk.

    Test 4: When I try to "boot" into Bootcamp, I get the same error: No bootable device detected, insert boot device and click anything to continue

  • by Loner T,

    Loner T Loner T Nov 5, 2015 7:48 PM in response to FrankieG18
    Level 7 (24,439 points)
    Safari
    Nov 5, 2015 7:48 PM in response to FrankieG18

    1. Please post the output of csrutil status when booted normally.

    2. Post the output of

         sudo fdisk /dev/disk0

         sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C

  • by FrankieG18,

    FrankieG18 FrankieG18 Nov 5, 2015 7:52 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2015 7:52 PM in response to Loner T

    Screen Shot 2015-11-05 at 10.50.56 PM.png

  • by Loner T,

    Loner T Loner T Nov 5, 2015 7:52 PM in response to FrankieG18
    Level 7 (24,439 points)
    Safari
    Nov 5, 2015 7:52 PM in response to FrankieG18

    Can you post the other two commands, and a screen log of the Fdisk session?

  • by FrankieG18,

    FrankieG18 FrankieG18 Nov 5, 2015 8:01 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2015 8:01 PM in response to Loner T

    Screen Shot 2015-11-05 at 10.55.18 PM.pngScreen Shot 2015-11-05 at 10.50.56 PM.png

    Here are the three commands you said. Please forgive me, I'm not that familiar with all this terminal commands. How do I go about gathering the log for the Fdisk Session?

  • by FrankieG18,

    FrankieG18 FrankieG18 Nov 5, 2015 8:05 PM in response to FrankieG18
    Level 1 (0 points)
    Nov 5, 2015 8:05 PM in response to FrankieG18

    In case this is what you meant:

    Screen Shot 2015-11-05 at 11.03.56 PM.png

  • by Loner T,

    Loner T Loner T Nov 6, 2015 3:49 AM in response to FrankieG18
    Level 7 (24,439 points)
    Safari
    Nov 6, 2015 3:49 AM in response to FrankieG18

    Do you have GPT Fdisk installed?

  • by FrankieG18,

    FrankieG18 FrankieG18 Nov 6, 2015 5:08 AM in response to Loner T
    Level 1 (0 points)
    Nov 6, 2015 5:08 AM in response to Loner T

    Talking about the link you gave me before? If so, yes. I went ahead and installed it. Should i try installing it again?

  • by Loner T,

    Loner T Loner T Nov 6, 2015 5:18 AM in response to FrankieG18
    Level 7 (24,439 points)
    Safari
    Nov 6, 2015 5:18 AM in response to FrankieG18

    No. You do not need to install it again. With SIP disabled, Fdisk should be able to update the MBR. We should try the same with GPT Fdisk (gdisk).

     

    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 the sample 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: 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

Page 1 Next