Benches Intel Macs

15

“Windows cannot be installed on to this d…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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.

15 replies

Sign in or join Beachball Help to reply.

  1. 0

    qazaqbro

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hey, Loner T✌️

    I turned GPT into MBR, but I got this error:

    "Windows cannot install required files the file may be corrupt or missing make sure all files required for installation are available "

    What should I have to do?

  2. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Also, you know how you can select a startup disk from system preferences? Is there a way to deselect it? I want it so that it doesn't always boot up on macOS.

    Take a look at Start up your Mac in Windows or macOS with Boot Camp - Apple Support. You can set a 'default' OS to boot when the Mac is restarted.

  3. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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 thesample 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: 2 3 4
    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 #2 (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 #3 (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 #4 (MBR partition #4)

    Enter an MBR hex code (default 07): Press Enter/Return

    Set the bootable flag? (Y/N): Y

  4. 0

    qazaqbro

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I turned GPT into MBR, but I got this error:

    "Windows cannot install required files the file may be corrupt or missing make sure all files required for installation are available "

    What should I have to do?

  5. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Not yet. Can you post the output of

    diskutil list

    from macOS Terminal.

    Since you also have Fedora in the mix, it is a bit more complicated to decide.

    What is the year/model of your Mac (do not post the serial number)?

  6. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

       #:                       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

  7. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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

  8. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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  

  9. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I created 150 gb of free space and during the install process, I clicked on automatic partition, otherwise I would have to make the partition manually for install, which is very convoluting. My computer is 750 gb. I am trying to make the macOS partition and bootcamp partition 300 gb, and the Linux fedora partition 150 gb.

  10. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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>

  11. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

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

    This entry should flagged for bootability, not entry 4. Entry 4 is currently flagged (marked active) to show what entry 3 should look like.

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

    Here the size is the same as GPT4, but we want the size to be (409600 + 409600 + 2097152  + 289945600 ) which is the total size of GPT4/5/6/7.

    We need to run (do not type such text)

    sudo fdisk -e /dev/disk0

    p (print)

    setpid 3

    07

    flag 3

    p

    We also need to edit MBR4. The following sequence illustrates the steps. Use values which are specific to your case. In MBR4, the only change is the size of the partition, the remaining MBR4 values remain unchanged.

    fdisk: 1> e 1 

             Starting       Ending

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

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

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

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

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

    Partition offset [0 - 1954210120]: [63] 

    Partition size [1 - 1954210057]: [1954210057] 

    Once you have updated MBR3 and 4, post the output, before we go further. Your Terminal should stay in FDisk utility.

  12. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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>

  13. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

    Enter 'help' for information

    fdisk: 1> p

    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> setpid 3

             Starting       Ending

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

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

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

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

    fdisk: 1> flag 3

    Partition 3 marked active.

    fdisk:*1> p

    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>

  14. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Looks good. For the remaining part...

    disk: 1> e 4

             Starting       Ending

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

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

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

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

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

    Partition offset [0 - 1954210120]: [63] 1172285440

    Partition size [1 - 1954210057]: [1954210057]  -<<<<<<<<< This should be the sum of the four sizes

  15. 0

    eraldm349

    Imported from the Apple Support Forums via the Wayback Machine 🔗

     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] 

    Partition size [1 - 293125872]: [293125872]