Boot Camp Trouble

I have installed windows on my Mac computers many times over the years, but I am completely stumped on installing windows 10 on Mojave.


  • iMac (Retina 5K, 27-inch, Late 2014)
  • macOS Mojave 10.14.4
  • Win10_1809Oct_v2_English_x64.iso on a USB flash drive (I also tried an external hard drive with same results). The flash drive is USB 2.0 to the best of my knowledge, because it has 4 prongs)


Here is what happened:

  1. I opened boot camp assistant
  2. The first issue that I encountered was that it was unable to partition. I did some research and it turned out to be related to time machine. I ran a command to delete the local time machine snapshots with priority 4 and solved the issue.
  3. I ran boot camp assistant again, everything went great this time, but upon the restart I see the windows logo - then the circle at the bottom of the screen starts moving, but when it moves to the next screen I received a blue screen that says "Your PC ran into a problem and needs to restart. We'll restart for you." - Stop code: SYSTEM_SERVICE_EXCEPTION / What failed: win32kfull.sys
  4. I tried restarting by holding the option key
    1. If I select the "EFI Boot" the same thing that happens in #3 above happens - blue screen.
    2. If I select the "Windows" it proceeds and I am able to move through the windows installer, but when I get to the screen where you pick the partition to install to, I can format the BOOTCAMP partition, but it says "Windows cannot be installed to this disk. The selected disk is of the GPT partition style."


I have tried searching for hours, tried looking in to ways to possibly cover the BOOTCAMP partition to be MBR instead of GPT, but I am completely stumped. Is this due to a new update, are other people having this issue? I'm not sure where to go from here.


Thank you,

Brandon

iMac with Retina 5K display, macOS 10.14

Posted on May 4, 2019 6:12 PM

Reply
Question marked as Top-ranking reply

Posted on May 5, 2019 6:30 PM

You will temporarily need to disable SIP using csrutil in Local Recovery (not Internet Recovery) otherwise GDisk will fail. Once SIP is disabled, the GDisk steps are as follows. Be aware that Reboots can change the disk numbers. I will assume disk0 is the 3TB HDD. Change it, if necessary, after you check the output of diskutil list.


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
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. Y (part 3 boot flag make NTFS bootable partition)
  10. O (print current Hybrid MBR)
  11. W (Write the new MBR)
  12. Y (Yes! write the new MBR)
  13. 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 07): Press Enter/Return
Set the bootable flag? (Y/N): Y



Similar questions

42 replies
Question marked as Top-ranking reply

May 5, 2019 6:30 PM in response to brandonschuk

You will temporarily need to disable SIP using csrutil in Local Recovery (not Internet Recovery) otherwise GDisk will fail. Once SIP is disabled, the GDisk steps are as follows. Be aware that Reboots can change the disk numbers. I will assume disk0 is the 3TB HDD. Change it, if necessary, after you check the output of diskutil list.


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
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. Y (part 3 boot flag make NTFS bootable partition)
  10. O (print current Hybrid MBR)
  11. W (Write the new MBR)
  12. Y (Yes! write the new MBR)
  13. 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 07): Press Enter/Return
Set the bootable flag? (Y/N): Y



May 4, 2019 6:44 PM in response to brandonschuk

Assuming this is related to "Your disk could not be partitioned&#… - Apple Community,


  • Try using W10 1803 (April) instead of W10 1809 (October)
  • Your Mac supports both EFI and BIOS boots. Mojave defaults to EFI Boot. If you need to create a MBR, you can use GPT Fdisk (https://sourceforge.net/projects/gptfdisk/).
  • The ISO should be on the Mac's internal disk in any folder other than Downloads.
  • If BCA prompts you for a USB to create an installer, use a USB2 Flash drive, which will be erased and formatted by BCA.

May 12, 2019 8:00 PM in response to alisheikhpour

Please do not switch macOS versions, yet! There are some peculiarities that need to be understood. Under Sierra


  • BC Assistant forces W7 installation to use BIOS, EFI is not supported, even though the 2014 iMac is capable of EFI. BC drivers used are 5.1.5679.
  • BC Assistant uses EFI during W10 installation, not BIOS, which causes a BSoD in win32kfull.sys. No MBR is created for W10.
  • Mojave only supports W10 and EFI only for new installations, similar to Sierra, and ends up with the same BSoD.
  • I manually partitioned the Fusion drive (CoreStorage, not APFS Fusion) using diskutil cs resizeStack command to get an MBR. This allowed me to install W10 1803 (April) using BIOS mode. Mojave has no equivalent of resizeStack command, but GPT FDisk can be used to create a MBR.
  • My assumption is that Mojave supports grandfathered installations of non-W10 versions on ALL Macs, and should allow existing installations to continue. I have tested this on a 2012 MBP which was upgraded from macOS Yosemite to Mojave directly. I do not want Mojave on my 2014 iMac.
  • I have seen some discussions, where users have lost their MBR, but Windows worked properly after MBR was recreated. See
  • The second link is still work-in-progress.
  • I need to check which driver(s) may be causing the BSoD under Mojave/EFI on the 2014 iMacs.



May 5, 2019 1:40 PM in response to brandonschuk

brandonschuk wrote:

I have successfully removed the current partition, and I created a partition slightly over 1TiB. There is a "$WinPEDriver$" folder and here is a link to the PasteBin of my AutoUnattend.xml file: https://pastebin.com/YVzkf5xe

Looks fine and as expected.


Since it may have something to do with drivers on the windows boot drive, I am toying around right now with what happens if I use these contents instead of what the Windows10 boot drive has and/or a combination - no success yet, but will let you know.
https://support.apple.com/kb/DL1837?viewlocale=en_US&locale=en_US

BC 5.x drivers will fail on W10. You need to use BC6 drivers. Can you post a two-level file structure of $WinPEDriver$ using macOS Finder. Check the Product Version line in Bootcamp.xml referenced in the AutoUnattend.xml.


Lastly, what do you think of me trying to install windows 7 instead of windows 10 and then upgrading to windows 10? I would give it a shot, but I have been stuck for a few hours on how to make a windows 7 boot flash drive, because boot camp assistant will only let me make a windows 10 one, and will not allow me to make a windows 7 one. None of the manual ways seem to be working.

Mojave does not support W7. If you downgrade to Sierra, you may be able to, but EFI updates can lead to other issues.

May 12, 2019 10:08 AM in response to alisheikhpour

W7 on the 2014 iMac 5K.



AMD Driver from 2014...



Disk layout (with MBR/BIOS).


 diskutil list 
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage Macintosh HD            121.0 GB   disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:          Apple_CoreStorage Macintosh HD            743.3 GB   disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
   4:       Microsoft Basic Data BOOTCAMP                256.0 GB   disk1s4

/dev/disk2 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           +858.8 GB   disk2
                                 Logical Volume on disk0s2, disk1s2
                                 E42F07F4-DBC6-4718-A535-5F0E83C319C5
                                 Unencrypted Fusion Drive

sudo fdisk /dev/disk1
Password:
Disk: /dev/disk1	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 -     409639] <Unknown ID>
 2: AC 1023 254  63 - 1023 254  63 [    409640 - 1451845952] <Unknown ID>
 3: AB 1023 254  63 - 1023 254  63 [1452255592 -    1269536] Darwin Boot 
*4: 07 1023 254  63 - 1023 254  63 [1453527040 -  499996672] HPFS/QNX/AUX


I will post W10 EFI shortly.

May 4, 2019 8:45 PM in response to Loner T

Thank you for the reply and information. I just finished trying everything again with the April ISO (instead of the October ISO) and came out with the same results. Boot camp assistant made it all the way through to the part where it restarts for the windows install, but then blue screened right after the windows logo. I tried option restarting and selecting both methods again with the same results - blue screen on EFI and unable to install due to GPT partition style with other.


I tried looking up information on how to use gdisk, and spent the entire day today trying to learn how to either convert my GPT partition style to MBR or create a MBR hybrid and nothing is working.


Is this something that Apple is aware of, or may make an update to fix?

May 5, 2019 7:16 AM in response to Loner T

Yes, thank you for your help. Here is the output of diskutil list:


Brandons-iMac:~ brandonschuk$ diskutil list


/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *121.3 GB   disk0


   1:                        EFI EFI                     209.7 MB   disk0s1


   2:                 Apple_APFS Container disk2         121.1 GB   disk0s2




/dev/disk1 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *3.0 TB     disk1


   1:                        EFI EFI                     209.7 MB   disk1s1


   2:                 Apple_APFS Container disk2         2.4 TB     disk1s2


   3:       Microsoft Basic Data BOOTCAMP                629.5 GB   disk1s3




/dev/disk2 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +2.5 TB     disk2


                                 Physical Stores disk1s2, disk0s2


   1:                APFS Volume  Macintosh HD           888.3 GB   disk2s1


   2:                APFS Volume Preboot                 59.3 MB    disk2s2


   3:                APFS Volume Recovery                522.7 MB   disk2s3


   4:                APFS Volume VM                      2.1 GB     disk2s4

May 5, 2019 9:10 AM in response to Loner T

Good information, but the trouble is that when I try to alt/option boot in to EFI I see the windows logo, then the circle starts spinning, but then it blue screens. The blue screen says "Your PC ran into a problem and needs to restart. We'll restart for you." - Stop code: SYSTEM_SERVICE_EXCEPTION / What failed: win32kfull.sys. This may be a problem specific to this 2014 iMac, based on what I am seeing online. This has happened with three different ISOs on both USB 2 flash drive WinInstall and an external hard drive WinInstall connected via USB.


When I boot in to "windows" instead of EFI it will not allow me to install because of the GPT partition style.

May 5, 2019 1:16 PM in response to Loner T

I have successfully removed the current partition, and I created a partition slightly over 1TiB. There is a "$WinPEDriver$" folder and here is a link to the PasteBin of my AutoUnattend.xml file: https://pastebin.com/YVzkf5xe


Since it may have something to do with drivers on the windows boot drive, I am toying around right now with what happens if I use these contents instead of what the Windows10 boot drive has and/or a combination - no success yet, but will let you know.

https://support.apple.com/kb/DL1837?viewlocale=en_US&locale=en_US


Lastly, what do you think of me trying to install windows 7 instead of windows 10 and then upgrading to windows 10? I would give it a shot, but I have been stuck for a few hours on how to make a windows 7 boot flash drive, because boot camp assistant will only let me make a windows 10 one, and will not allow me to make a windows 7 one. None of the manual ways seem to be working.

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.

Boot Camp Trouble

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