“Windows cannot be installed on to this disk. The selected disk is of the GPT partition style”

Ok so basically I was trying to install Windows 10, but then I got this error: “Windows cannot be installed on to this disk. The selected disk is of the GPT partition style.” I think the reason is because the partition scheme is GUID Partition Map. I have macOS Mojave, and the Macintosh HD is APFS. The third partition I have there is where I installed Linux Fedora. I’m trying to install Windows to the Bootcamp partition, but I keep getting this error. Do I need to format my computer to a Master Boot Record or do I need to select EFI Boot? I have a MacBook Pro 13" Mid 2012.

MacBook Pro 13", 10.14

Posted on Feb 18, 2019 5:19 PM

Reply

Similar questions

95 replies

Feb 20, 2019 5:39 PM in response to eraldm349

Disk: /dev/disk0 geometry: 91201/255/63 [1465149168 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 254  63 [    409640 -  585937496] HFS+        

 3: 07 1023 254  63 - 1023 254  63 [ 586348544 -  585674752] HPFS/QNX/AUX

*4: EF 1023 254  63 - 1023 254  63 [1172285440 -     409600] <Unknown ID>

Your MBR is still the one created by GDisk, but it should be


Disk: /dev/disk0 geometry: 91201/255/63 [1465149168 sectors]

Offset: 0 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 254  63 [    409640 -  585937496] HFS+        

*3: 07 1023 254  63 - 1023 254  63 [ 586348544 -  585674752] HPFS/QNX/AUX

 4: EF 1023 254  63 - 1023 254  63 [1172285440 -  292861952] <Unknown ID>

We need to rebuild it again. Did the 'w' command give you any error?

Feb 20, 2019 6:43 PM in response to Loner T

This is what it said before I typed w

Disk: /dev/disk0 geometry: 91201/255/63 [1465149168 sectors]


Offset: 0 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 254  63 [    409640 -  585937496] HFS+        


*3: 07 1023 254  63 - 1023 254  63 [ 586348544 -  585674752] HPFS/QNX/AUX


 4: EF 1023 254  63 - 1023 254  63 [1172285440 -     409600] <Unknown ID>


fdisk:*1> e 4


         Starting       Ending


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


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


 4: EF 1023 254  63 - 1023 254  63 [1172285440 -     409600] <Unknown ID>


Partition id ('0' to disable)  [0 - FF]: [EF] (? for help) 


Do you wish to edit in CHS mode? [n] n


Partition offset [0 - 1465149168]: [1172023296] 1172285440


Partition size [1 - 292863728]: [292863728] 292861952


And this is what it said after I typed w


Device could not be accessed exclusively.


A reboot will be needed for changes to take effect. OK? [n] 


Should I type n, return, and reboot?

Feb 18, 2019 6:29 PM in response to Loner T

   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *750.2 GB   disk0


   1:                        EFI EFI                     209.7 MB   disk0s1


   2:                 Apple_APFS Container disk1         300.0 GB   disk0s2


   3:       Microsoft Basic Data BOOTCAMP                299.9 GB   disk0s3


   4:                        EFI NO NAME                 209.7 MB   disk0s4


   5:                  Apple_HFS Linux HFS+ ESP          209.7 MB   disk0s5


   6:           Linux Filesystem                         1.1 GB     disk0s6


   7:                  Linux LVM                         148.5 GB   disk0s7




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +300.0 GB   disk1


                                 Physical Store disk0s2


   1:                APFS Volume Macintosh HD            211.4 GB   disk1s1


   2:                APFS Volume Preboot                 43.3 MB    disk1s2


   3:                APFS Volume Recovery                513.9 MB   disk1s3


   4:                APFS Volume VM                      4.3 GB     disk1s4

Feb 19, 2019 2:30 PM in response to Loner T

gpt show: /dev/disk0: mediasize=750156374016; sectorsize=512; blocks=1465149168


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 1465149167


       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   585937496      2  GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC


   586347136        1408         


   586348544   585674752      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7


  1172023296      262144         


  1172285440      409600      4  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B


  1172695040      409600      5  GPT part - 48465300-0000-11AA-AA11-00306543ECAC


  1173104640     2097152      6  GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4


  1175201792   289945600      7  GPT part - E6D6D379-F507-44C2-A23C-238F2A3DF928


  1465147392        1743         


  1465149135          32         Sec GPT table


  1465149167           1         Sec GPT header

Feb 19, 2019 2:31 PM in response to Loner T

Disk: /dev/disk0 geometry: 91201/255/63 [1465149168 sectors]


Signature: 0xAA55


         Starting       Ending


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


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


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

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

“Windows cannot be installed on to this disk. The selected disk is of the GPT partition style”

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.