Katli121

Q: Bootcamp option disappeared after partitioning hard disk

MR loner

i have been following your steps to recover bootcamp boot option if by mistake  I partitioned my hard disk on mac.

here are the screenshots image.pngimage.png

MacBook Pro (13-inch Mid 2012), OS X El Capitan (10.11)

Posted on Feb 17, 2016 11:01 PM

Close

Q: Bootcamp option disappeared after partitioning hard disk

  • All replies
  • Helpful answers

Page 1 Next
  • by Loner T,

    Loner T Loner T Feb 18, 2016 5:07 AM in response to Katli121
    Level 7 (24,307 points)
    Safari
    Feb 18, 2016 5:07 AM in response to Katli121

    1. Do you want to keep this new partition?

    2. Please download GPT Fdisk - https://sourceforge.net/projects/gptfdisk/ - and install it. Post back when you have it installed.

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 8:32 AM in response to Loner T
    Level 1 (0 points)
    Feb 18, 2016 8:32 AM in response to Loner T

    Actually i did tried installing this package but it failed, don't know why.

    Here is a screenshot.Screen Shot 2016-02-18 at 9.57.05 PM.png

    And about the new partition, i want to expand the capacity of my windows partition by this new partition.

    can this be done???

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 8:33 AM in response to Katli121
    Level 1 (0 points)
    Feb 18, 2016 8:33 AM in response to Katli121

    Actually I tried it again and it worked this time.

    So now it is installed.

    Please state the further steps.

    Thanks

  • by Loner T,

    Loner T Loner T Feb 18, 2016 8:41 AM in response to Katli121
    Level 7 (24,307 points)
    Safari
    Feb 18, 2016 8:41 AM in response to Katli121

    Please post the output of

     

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

     

    This will show us the first block of the Windows partition. Do you want to keep the 'Untitled' partition?

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 8:49 AM in response to Loner T
    Level 1 (0 points)
    Feb 18, 2016 8:49 AM in response to Loner T

    Screen Shot 2016-02-18 at 10.17.37 PM.png

    Here it is sir..

    as i said i want to expand the storage of the windows partition.

    i dont need untitled one. I made it to expand windows partition.

     

    what to do next sir?

  • by Loner T,

    Loner T Loner T Feb 18, 2016 9:05 AM in response to Katli121
    Level 7 (24,307 points)
    Safari
    Feb 18, 2016 9:05 AM in response to Katli121

    You will need to convert Untitled to Free Space, and use Gparted to absurd the space into Windows. Once you complete that, we can created a new MBR.

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 9:37 AM in response to Loner T
    Level 1 (0 points)
    Feb 18, 2016 9:37 AM in response to Loner T

    How should i do that??

    Can that be done later.

    First let us solve the issue of not showing the option in boot menu.

    And can we connect on facebook so that conversation can go simultaneously.

  • by Loner T,

    Loner T Loner T Feb 18, 2016 9:40 AM in response to Katli121
    Level 7 (24,307 points)
    Safari
    Feb 18, 2016 9:40 AM in response to Katli121

    I do not use Facebook.

     

    Can you use Re: [Help] Can't boot to windows (8.1) after resizing partition and rebuild your MBR and test Windows?

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 9:44 AM in response to Loner T
    Level 1 (0 points)
    Feb 18, 2016 9:44 AM in response to Loner T

    Sir, Please tell me the steps. As you know my case now. I have been trying it from different post of yours but didnt worked. So please specifically for me according to the screenshots i shared with you. It would be a great help.

    Thanks

  • by Loner T,Solvedanswer

    Loner T Loner T Feb 18, 2016 9:50 AM in response to Katli121
    Level 7 (24,307 points)
    Safari
    Feb 18, 2016 9:50 AM in response to Katli121

    A. We need to disable SIP.

     

    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 all individual entries are still disabled.

     

    B. Rebuild non-standard MBR.

     

    The following steps are non-standard because there is a third user-visible partition. Typically, there are two such partitions in a normal configuration on a single-disk Mac with OS X and Bootcamp. This is fragile and lack of proper backups can lead to potential data loss. Download GPT Fdisk from http://sourceforge.net/projects/gptfdisk/ and install it on the OS X side. The following steps are executed when booted in OS X. If the 79G is converted to Free Space, these numbers (3 4 5) will change back to (2 3 4).

     

    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: 3 4 5
    7. Y  (Good for GRUB question)
    8. N  (part 3 boot flag)
    9. N  (part 4 boot flag)
    10. Y  (part 5 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. Accept defaults offered by Gdisk.

     

    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 or AB): 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 or 0B or 0C): 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

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 10:02 AM in response to Loner T
    Level 1 (0 points)
    Feb 18, 2016 10:02 AM in response to Loner T

    Ok  sir,

    Let me try

    Will get back to u once done.

    Thanks.

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 10:19 AM in response to Loner T
    Level 1 (0 points)
    Feb 18, 2016 10:19 AM in response to Loner T

    Sir option came

    but Windows is not loading I mean bootcamp option is visible

    i click on it window logo come with loading symbol

    but after that screen blacks out

    nothing further..

    i used 3 4 5 number.

    should I repeat the steps with 2 3 4??

  • by Loner T,

    Loner T Loner T Feb 18, 2016 10:45 AM in response to Katli121
    Level 7 (24,307 points)
    Safari
    Feb 18, 2016 10:45 AM in response to Katli121

    You cannot use 2 3 4 because you have untitled. Run Windows Startup Repair.

  • by Katli121,

    Katli121 Katli121 Feb 18, 2016 10:48 AM in response to Loner T
    Level 1 (0 points)
    Feb 18, 2016 10:48 AM in response to Loner T

    how to do that?

    sorry not a tech guy.

    you almost solved my problem sir.

    last few steps please.

     

    And how to assign this untitled space to windows partition

Page 1 Next