Apple has released support for bootcamping Windows 10, but only on 2012 Macs and later. Despite not being supported. it is possible to install Windows 10 on earlier iMacs and it seems to run quite well.
IMPORTANT: Unplug all external and physical hard drives (where possible) that you won't be installing to to avoid accidentally erasing them. Also make note of which drives and partitions remain (e.g. System and Storage hard drives), and be super careful to not erase the wrong one.
RECOVERY: If you nuke your machine, restore your time machine backup. Instructions here.
- A mid-2011 iMac or similar running OSX El Capitan
- An 8GB or larger USB drive
- An ISO containing Windows 10 (I used Windows 10 Enterprise)
- 50GB free disk space, 100GB recommended
El Capitan ships with a new OS X feature: System Integrity Protection (SIP), also known as "rootless" mode. This reduces the attack surface for malware that relies on modifying system files by preventing any user, whether with system administrator ("root") privileges or not from modifying a number of operating system directories and files.
It is necessary to disable OSX's System Integrity Protection so you can modify the Bootcamp Utility in the next step.
- Restart your Mac.
- Before OS X starts up, hold down Command-R and keep it held down until you see an Apple icon and a progress bar. Release. This boots you into Recovery.
- From the Utilities menu, select Terminal.
- At the prompt type exactly the following and then press Return:
csrutil disable
- Terminal should display a message that SIP was disabled.
- From the menu, select Restart.
Once you have finished installing Windows you should enable SIP again by following the same steps but run csrutil enable
instead.
For some reason Apple decided that if your Mac has an optical drive, there could be no reason you need to Bootcamp off a USB. If you're like me, you haven't touched an optical disk in a few years and prefer the ease and speed of using a USB flash drive instead.
- Find out your Macs Model Identifier and Boot ROM Version:
- Open Terminal and run
system_profiler SPHardwareDataType
. Note down the values. - My mid-2011's Model Identifier was "iMac12,2" and the Boot ROM Version was "IM121.0047.B23".
- Open terminal and navigate to /Applications/Utilities/Boot Camp Assistant.app/Contents
- Change directory:
cd /Applications/Utilities/Boot Camp Assistant.app/Contents
- Show files in directory:
ls
- The file we are going to edit is the Info.plist file.
- Make a backup of this file by running:
sudo cp Info.plist Info.plist.bak
- You will need to enter your OSX user account password.
- If you get the error saying cp: Info.plist.bak: Operation not permitted, SIP is still enabled, please refer to step 1.
- Open the Info.plist in your favorite text editor, to keep this guide simple, I'll use nano.
sudo nano Info.plist
- You want to edit FOUR things:
- Add your Boot ROM Version to DARequiredROMVersions
- Delete the word "Pre" from UEFIModels and add your Model Identifier
- Delete the word "Pre" from USBBootSupportedModels and add your Model Identifier
- Remove your model from Win7OnlyModels (if it's there)
- Close and save the file by pressing
Ctrl+x
followed byy
on your keyboard. - The last step is to do a code sign. Boot Camp Assitant will not run if it's been edited. You need to resign it. Open Terminal (use spotlight to find it) and type this:
sudo codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app
- It will probably ask for your password. Then it will say you need to download a developer tool from Apple. Agree to download it. (You don't need to install the whole X-Code, if it asks.) Once its been installed (it's automatic), you need to go BACK to Terminal and run that command again. This time it will work.
This download will contain the Windows drivers you will need to run Windows on your Mac. Windows 10 will install and run without them but not very well and a lot of hardware either won't work, or won't work very well until you install the drivers.
- Open Boot Camp Assistant from Applications -> Utilities
- Click continue at the introduction, if you completed step 2 correctly, you should see three options.
- Create a Windows 7 or later version install disk
- Download the latest Windows support software from Apple
- Install Windows 7 or later version
- Choose none of three options, instead:
- From the Actions menu select Download Windows Support Software
- Select your Macs Desktop or Downloads folder as the destination for the download
- The download is 1.35GB so may take a few minutes
- Open Boot Camp Assistant from Applications -> Utilities
- Click continue at the introduction, and check the box in Create a Windows 7 or later version install disk. Ensure no other boxes are checked and click continue.
- If you have not already done so, insert the USB flash drive you want to burn the Windows 10 image to. Remember that any data on the USB drive you select will be erased.
- Continue the wizard, selecting the Windows 10 ISO file when prompted.
- After completing the wizard you will have your bootable Windows 10 installer USB.
- Copy the folder you downloaded in in Step 3 containing the Bootcamp Windows Support Software to root of USB flash drive.
You can do this using the Bootcamp Assistant, but it does reboot and attempt to boot from the optical drive as soon as it completes. I prefer to use the OSX Disk Utility instead.
- Open Disk Utility from Applications -> Utilities
- Choose your internal hard drive and select the Partition button along the top.
- Click the + button and create a new partition by shrinking the existing one.
- Create the new disk with at least 40GB disk space, I would recommend 60GB or higher.
- Name the partition BOOTCAMP and format using MS-DOS (FAT).
- Click Apply, this will take a few minutes, be patient.
During step 5, OSX tried to be helpful by converting our legal GPT disk partition into a hybrid MBR partition, which makes OSX see the disk as GPT and Windows it as MBR. Windows 10 requires a GPT disk when using EFI boot, so we need to revert this change using a tool called GPT fdisk (gdisk).
If this step is not completed you will get this error when installing Windows 10:
Windows cannot be installed to this disk. The selected disk is not of the GPT partition style
To avoid this:
- Download GPT fdisk from its Sourceforge page and install it. You will probably get a warning that it's not a signed application, if you do open OSX System Preferences -> Security and Privacy -> General and you should see a note down the bottom about the application you just tried to open with an offer to open it again.
- Find the device number for the internal hard disk:
- Open Disk Utility from Applications -> Utilities
- Choose your internal hard drive (not one of the partitions) and note down the Device, it's probably disk0.
- Open Terminal from Applications -> Utilities
- Launch gdisk on your internal hard disk by running
sudo gdisk /dev/disk0
, if your internal hard disk was not disk0 in the previous step, replace disk0 with what it was here. - Type
p
to view the partition table to verify you're working on the correct disk. You should see the BOOTCAMP partition we created in Step 5. If not, typeq
to quit without saving your changes and double check the device number. - Type
x
to enter the experts' menu. - Type
n
to create a fresh protective MBR. Note that gdisk won't confirm a change; it'll just show you a new experts' prompt. - Type
w
to save your changes. You'll be asked to confirm this action. Do so.
Note this action also requires OSX SIP to be disabled, if you get permission errors, make sure you have completed Step 1.
- Reboot your Mac with the bootable Windows 10 Installer USB plugged in.
- Before OS X starts up, just after you hear the startup sound, repeatedly press and hold down the Option (or Alt key if your using a Windows keyboard) for a second or two until you see the boot selection options.
- You should see an option to boot from a USB device labelled "EFI Boot", choose this one.
- The Windows 10 installation will now start, follow the steps, selecting Custom Installation.
- On the screen where you select your partition be careful, ensure you select the "BOOTCAMP" partition you created earlier before proceeding with installation.
- Windows will restart 4 or so times during installation. Be ready to hold down the Options / Alt key after each reboot, but instead of selecting the USB device named "EFI Boot" select the newly created hard disk labelled the "EFI Boot" instead to ensure the installation continues smoothly. This is the same method you will use to choose between booting into OSX or booting into Windows once setup is complete.
- Finish installing Windows until you get to the desktop.
The Bootcamp Windows Support Software should be on the Windows 10 installer USB you created earlier.
- Open Windows Explorer and go to the USB drive
- Unless you renamed the folder, open WindowsSupport -> Bootcamp -> setup.exe.
- This will install all the required drivers and the bootcamp utility for Windows.
See Step 1.
The drivers installed as part of the Bootcamp Windows Support Software work well, WiFi, Graphics, External Monitors, Webcams and Bluetooth are all working. Audio was the only immediately noticable issue, though strangely the audio provided through my 2008 Apple Cinema display works without issue.
I could not get the iMac built in sound to work on Windows 10, despite the webcam working. I tried a few things that did not work:
- Downloaded and installed Bootcamp 6.
- Tried the Cirrus 4206BCNZ audio drivers for Windows 8 as suggested might work.
As my external Apple Cinema display's audio was working it was not to much of an issue for me to deal with, but if anyone finds a solution please let me know.
Hi guys! excellent work! noob request/plizbro - is it possible to upload a clonezilla image of the factory HDD with high sierra and windows 10 installed and working? I know I am asking a lot but that could be the only way for me to successfully setup my 2011 iMac.