Dirty_Mike

Q: Can't see Bootcamp Partition after adjusting size with Disk Utility

I have the same question as the others but can't solve myself with my partition setting.

I've created new partition for later merging in Windows7. After resize had been made with Disk Utility the Bootcamp partition with Windows7 won't boot.

 

diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *1.0 TB     disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS Macintosh HD            850.0 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:                  Apple_HFS Untitled                50.2 GB    disk0s4

   5:       Microsoft Basic Data BOOTCAMP                99.0 GB    disk0s5

 

sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 1953525167

       start        size  index  contents

           0           1         PMBR

           1           1         Pri GPT header

           2          32         Pri GPT table

          34           6      

          40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

      409640  1660156248      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

  1660565888     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

  1661835424    98068320      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

  1759903744      262144      

  1760165888   193357824      5  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  1953523712        1423      

  1953525135          32         Sec GPT table

  1953525167           1         Sec GPT header

 

sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 121601/255/63 [1953525168 sectors]

Signature: 0xAA55

         Starting       Ending

#: id  cyl  hd sec -  cyl  hd sec [     start -       size]

------------------------------------------------------------------------

1: EE 1023 254  63 - 1023 254  63 [         1 - 1953525167] <Unknown ID>

2: 00    0   0   0 -    0   0   0 [         0 -          0] unused   

3: 00    0   0   0 -    0   0   0 [         0 -          0] unused   

4: 00    0   0   0 -    0   0   0 [         0 -          0] unused

iMac, OS X El Capitan (10.11), null

Posted on Oct 15, 2015 11:16 AM

Close

Q: Can't see Bootcamp Partition after adjusting size with Disk Utility

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Oct 15, 2015 11:34 AM in response to Dirty_Mike
    Level 7 (24,795 points)
    Safari
    Oct 15, 2015 11:34 AM in response to Dirty_Mike

    You have a 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.

     

    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 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.

  • by Dirty_Mike,

    Dirty_Mike Dirty_Mike Oct 15, 2015 11:58 AM in response to Loner T
    Level 1 (5 points)
    Oct 15, 2015 11:58 AM in response to Loner T

    Next issue is compatibility El Capitan with GPT

     

    Screen Shot 2015-10-15 at 21.49.40.png

     

    Screen Shot 2015-10-15 at 21.49.52.png

  • by Loner T,

    Loner T Loner T Oct 15, 2015 1:29 PM in response to Dirty_Mike
    Level 7 (24,795 points)
    Safari
    Oct 15, 2015 1:29 PM in response to Dirty_Mike

    ELC has System Integrity Protection enabled by default. To disable it temporarily for diagnostics purposes.

     

         a. Boot into Local Recovery. Power down your Mac, power it back up, and hold the Command+R.

         b. Run Utilities -> Terminal

         c. Type csrutil disable

         d. Exit Terminal

         e. Reboot normally.

     

    Install GPT Fdisk.

  • by Dirty_Mike,

    Dirty_Mike Dirty_Mike Oct 15, 2015 2:00 PM in response to Loner T
    Level 1 (5 points)
    Oct 15, 2015 2:00 PM in response to Loner T

    csrutil disable command not found

    IMG_7037.JPG

  • by Loner T,

    Loner T Loner T Oct 15, 2015 2:14 PM in response to Dirty_Mike
    Level 7 (24,795 points)
    Safari
    Oct 15, 2015 2:14 PM in response to Dirty_Mike

    Did you see a spinning globe when you started Local Recovery? If yes, you are in Internet Recovery.

     

    You can also run the following in Terminal.

     

    find / -name csrutil -print

  • by Dirty_Mike,

    Dirty_Mike Dirty_Mike Oct 15, 2015 3:07 PM in response to Loner T
    Level 1 (5 points)
    Oct 15, 2015 3:07 PM in response to Loner T

    Yes, I've saw the globe.

    No such file or directory

    image.jpeg

  • by Loner T,

    Loner T Loner T Oct 15, 2015 3:21 PM in response to Dirty_Mike
    Level 7 (24,795 points)
    Safari
    Oct 15, 2015 3:21 PM in response to Dirty_Mike

    If you used Command+Opt+R you will see the globe. This is Internet Recovery. If you use Command+R and see the spinning globe it indicates that your Local Recovery is corrupt, and your falling back to Internet Recovery.

     

    Either you can repair local recovery or use How to install OS X on an external drive connected to your Mac - Apple Support to install El Capitan on an external disk and boot from it using Command+R.