bootcampheadache

Q: Bootcamp partition trouble

Used bootcamp to install windows 10 on my mac.

 

Mac is running OS X El Capitan.

 

Right at the end of the partitioning the computer froze, through I would leave it for a little while, may be doing what it's meant to.

 

Left it for about half an hour, nothing changed so i decided to reboot. Once I rebooted, my hard drive is missing the 32 gb I was giving to the partition and not a single program can find the new partition. Bootcamp and disk utility don't recognise it's there. Disk utility shows my mac storage as being 120gb but there only being the mac partition and it being only 88gb. I assume the computer freezing during the partition program is what caused this, what I need is a solution. I can't use bootcamp to delete the partition because bootcamp doesn't even recognise a partition exists. When I use first aid from disk utility it says there's probably a problem with the partition map. How can I solve this, I've been to every forum and post I can find and short of taking into apple I don't know what else I can do.

MacBook Air, OS X El Capitan (10.11.5)

Posted on Jul 23, 2016 3:30 AM

Close

Q: Bootcamp partition trouble

  • All replies
  • Helpful answers

Previous Page 2
  • by Loner T,

    Loner T Loner T Jul 23, 2016 9:15 AM in response to bootcampheadache
    Level 7 (23,828 points)
    Safari
    Jul 23, 2016 9:15 AM in response to bootcampheadache

    In GPT Fdisk, there is a 't' command, which allows you to change the partition type. It needs to be EF00.

     

    sudo gdisk /dev/disk0

    p

    t

    1

    EF00

    p

    w

    y

     

    Reboot and post the output of

     

    diskutil list

    sudo gpt -vv -r show /dev/disk0

  • by bootcampheadache,

    bootcampheadache bootcampheadache Jul 23, 2016 9:39 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 23, 2016 9:39 AM in response to Loner T

    Do you want to proceed? (Y/N): y

    OK; writing new GUID partition table (GPT) to /dev/disk0.

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    Unable to open device '/dev/disk0' for writing! Errno is 1! Aborting write!


    This is what I get after I try to write GPT data, it says that disk0 is unable to be opened for writing and it aborts...

  • by Loner T,

    Loner T Loner T Jul 23, 2016 9:44 AM in response to bootcampheadache
    Level 7 (23,828 points)
    Safari
    Jul 23, 2016 9:44 AM in response to bootcampheadache

    Disable SIP and re-enable it once all the issues are addressed.

     

    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.

  • by bootcampheadache,

    bootcampheadache bootcampheadache Jul 23, 2016 9:52 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 23, 2016 9:52 AM in response to Loner T

    diskutil list

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *121.3 GB   disk0

       1:                        EFI                         209.7 MB   disk0s1

       2:          Apple_CoreStorage Macintosh HD            120.5 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.1 MB   disk0s3

    /dev/disk1 (internal, virtual):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS Macintosh HD           +88.0 GB    disk1

                                     Logical Volume on disk0s2

                                     43806D1C-FC4D-4C7D-88A0-CBDDDE56E1DB

                                     Unlocked Encrypted



    sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

    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 236978175

          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  235298736      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

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

      236978136          7        

      236978143         32         Sec GPT table

      236978175          1         Sec GPT header

  • by Loner T,

    Loner T Loner T Jul 23, 2016 10:43 AM in response to bootcampheadache
    Level 7 (23,828 points)
    Safari
    Jul 23, 2016 10:43 AM in response to bootcampheadache

    bootcampheadache wrote:

     

    diskutil list

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *121.3 GB   disk0

      1:                        EFI                         209.7 MB   disk0s1

       2:          Apple_CoreStorage Macintosh HD            120.5 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.1 MB   disk0s3

    /dev/disk1 (internal, virtual):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS Macintosh HD           +88.0 GB    disk1

                                     Logical Volume on disk0s2

                                     43806D1C-FC4D-4C7D-88A0-CBDDDE56E1DB

                                     Unlocked Encrypted



    sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

    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 236978175

          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  235298736      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

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

      236978136          7        

      236978143         32         Sec GPT table

      236978175          1         Sec GPT header

     

    This shows GPT1 as EFI with the correct GUID Type.

     

    diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *121.3 GB   disk0

      1:       Microsoft Basic Data                         209.7 MB   disk0s1

       2:          Apple_CoreStorage                         120.5 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.1 MB   disk0s3

    This shows GPT1 as Microsoft Basic Data.

     

    Can you post the output of

     

    sudo fdisk /dev/disk0

  • by bootcampheadache,

    bootcampheadache bootcampheadache Jul 23, 2016 10:52 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 23, 2016 10:52 AM in response to Loner T

    Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

    1: EE 1023 254  63 - 1023 254  63 [         1 -  236978175] <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 

  • by Loner T,Helpful

    Loner T Loner T Jul 23, 2016 11:21 AM in response to bootcampheadache
    Level 7 (23,828 points)
    Safari
    Jul 23, 2016 11:21 AM in response to bootcampheadache

    I have the same GDisk, GPT and Fdisk, but diskutil list is different.

     

    sudo fdisk /dev/disk0

    Password:

    Disk: /dev/disk0 geometry: 121643/255/63 [1954210120 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

    1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>

    2: AF   25 127  15 - 1023  54  16 [    409640 - 1448624648] HFS+       

    3: AB 1023  54  17 - 1023  60  39 [1449034288 -    1269536] Darwin Boot

    *4: 07 1023  87  51 - 1023 238   3 [1450305536 -  503904256] HPFS/QNX/AUX

     

    sudo gdisk -l /dev/disk0

    GPT fdisk (gdisk) version 1.0.0

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    Partition table scan:

      MBR: hybrid

      BSD: not present

      APM: not present

      GPT: present

     

    Found valid GPT with hybrid MBR; using GPT.

    Disk /dev/disk0: 1954210120 sectors, 931.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 6ED0C429-00D1-4759-B50E-04B6FB80D0E3

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 1954210086

    Partitions will be aligned on 8-sector boundaries

    Total free space is 2013 sectors (1006.5 KiB)

     

    Number  Start (sector)    End (sector)  Size       Code  Name

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640      1449034287   690.8 GiB   AF00  Customer

       3      1449034288      1450303823   619.9 MiB   AB00  Recovery HD

       4      1450305536      1954209791   240.3 GiB   0700  BOOTCAMP

     

    diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *1.0 TB     disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            741.7 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data rMBPBCMP                258.0 GB   disk0s4

  • by bootcampheadache,

    bootcampheadache bootcampheadache Jul 23, 2016 11:07 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 23, 2016 11:07 AM in response to Loner T

    I'm leaning towards a full reset...

  • by Loner T,Helpful

    Loner T Loner T Jul 23, 2016 11:21 AM in response to bootcampheadache
    Level 7 (23,828 points)
    Safari
    Jul 23, 2016 11:21 AM in response to bootcampheadache

    If you have a Time Machine Backup, you can use Re: failed windows 8.1 installation through bootcamp to get your disk space back and restore from TM backup, both, without any loss of data or files.

  • by bootcampheadache,

    bootcampheadache bootcampheadache Jul 23, 2016 11:21 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 23, 2016 11:21 AM in response to Loner T

    Thanks for all your help

  • by Loner T,

    Loner T Loner T Jul 23, 2016 11:22 AM in response to bootcampheadache
    Level 7 (23,828 points)
    Safari
    Jul 23, 2016 11:22 AM in response to bootcampheadache

    No worries. Please post back if you run into any issues when using these steps.

Previous Page 2