pyoky

Q: repair bootcamp after creating new partition

I installed windows 10 via bootcamp, without any external drives, on my 256GB ssd. I then used disk utitlity to create a shared partition by shrinking the OSX partition. After that, when I boot into windows it shows me the recovery screen. Please, help me with each step. I don't want to mess anything up.

Thanks.

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

Posted on Jan 25, 2016 6:13 AM

Close

Q: repair bootcamp after creating new partition

  • All replies
  • Helpful answers

first Previous Page 4 of 4
  • by Loner T,

    Loner T Loner T Oct 6, 2016 8:09 PM in response to cmrtex
    Level 7 (24,760 points)
    Safari
    Oct 6, 2016 8:09 PM in response to cmrtex

    cmrtex wrote:

     

    $ sudo fdisk /dev/disk0

    Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

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

    2: AC 1023 254  63 - 1023 254  63 [    409640 -  537818704] <Unknown ID>

    3: AB 1023 254  63 - 1023 254  63 [ 538228344 -    1269760] Darwin Boot

    4: 0C 1023 254  63 - 1023 254  63 [ 539498104 -   95441288] Win95 FAT32L

     

    and this from the Aug 6 post...

     

    $ sudo fdisk /dev/disk0

    Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

    1: EE    0   0   2 - 1023 254  63 [         1 -  538228343] <Unknown ID>

    2: AB 1023 254  63 - 1023 254  63 [ 538228344 -    1269760] Darwin Boot

    3: 07 1023 254  63 - 1023 254  63 [ 539498104 -   95441288] HPFS/QNX/AUX

    *4: 07 1023 254  63 - 1023 254  63 [ 635201536 -  341903360] HPFS/QNX/AUX

     

    do not match. The last bootable entry with Windows is gone.

     

    Please post the output of

     

    sudo gpt -vv -r show /dev/disk0

    diksutil list

  • by cmrtex,

    cmrtex cmrtex Oct 6, 2016 8:15 PM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Oct 6, 2016 8:15 PM in response to Loner T

    $ sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

    gpt show: /dev/disk0: Suspicious MBR at sector 0

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

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

          start       size  index  contents

              0          1         MBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

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

         409640  537818704      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

      538228344    1269760      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      539498104   95441288      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      634939392     262144        

      635201536  341903360      5  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      977104896        131        

      977105027         32         Sec GPT table

      977105059          1         Sec GPT header


    $ diskutil list

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.3 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage Macintosh HD            275.4 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.1 MB   disk0s3

       4:       Microsoft Basic Data SHARED                  48.9 GB    disk0s4

       5:       Microsoft Basic Data BOOTCAMP                175.1 GB   disk0s5

     

    /dev/disk1 (internal, virtual):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            Macintosh HD           +275.0 GB   disk1

                                     Logical Volume on disk0s2

                                     51A357D4-5496-4E2C-B59A-771968A2AE74

                                     Unlocked Encrypted

     

    /dev/disk2 (external, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:     FDisk_partition_scheme                        *30.8 GB    disk2

       1:             Windows_FAT_32 RECOVERY                30.8 GB    disk2s1

     

  • by Loner T,

    Loner T Loner T Oct 6, 2016 8:34 PM in response to cmrtex
    Level 7 (24,760 points)
    Safari
    Oct 6, 2016 8:34 PM in response to cmrtex

    Your MBR has no matching entry for GPT5. You need to re-create the MBR and it should look exactly like the one that I posted in the previous post. Once you have it, test Windows and OS X boot ability.  The Windows re-installation used the old MBR and the OS X upgrade created a standard one. After you rebuild it, if it gives you a black screen, please run Startup Repair or bootrec.exe. The C: you have been using so far is the SHARED partition which has no Windows entries and is not bootable.

     

    I suggest you create a new discussion at this point to avoid confusion with the OP.

  • by cmrtex,

    cmrtex cmrtex Oct 6, 2016 9:58 PM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Oct 6, 2016 9:58 PM in response to Loner T

    Thank you so much!  Rebuilding the MBR solved problem with Bootcamp.  The extraneous windows entry still remains at startup, and I've had no luck with using bcdedit or rebuildbcd to remove it.  I'll start a separate discussion later and perhaps you could walk me through the process to remove it.

  • by Loner T,

    Loner T Loner T Oct 7, 2016 12:36 AM in response to cmrtex
    Level 7 (24,760 points)
    Safari
    Oct 7, 2016 12:36 AM in response to cmrtex

    Excellent. Please back up OS X, Windows and create Windows System Restore Point.

first Previous Page 4 of 4