
From the Autounattended.xml copied from Microsoft sample, you will need to put your User name in, and some defaults settings blindly. Boot from UEFI USB and you won't see anything on the screen, wait until your Mac reboot twice and leave it for another 10 minutes or anytime you likeĦ. Wimlib-imagex unmount ~/mnt-points/tmp/ -commitĥ. Wimlib-imagex mountrw /media/jtcm/GSP1RMCPRXF/sources/boot.wim 2 ~/mnt-points/wim/ Apparently, in Linux it's much quicker mount and unmount boot.wim. We can use Windows DISM or use wimlib-imagex in Linux. The Autounattended.xml should be copied into the root directory of the WIM file, not the root of the USB. Insert Autounattend.xml into to USB installation Remember to copy 64-bit UEFI not the 64-bit BIOS and also change the EFI partition from 100MB to 300MB, otherwise, later when you try to install OS X and try to prepare Volume for OS, Disk Utility will complain " Volume erase failed: Media kit reports not enough space on this device for requested operation".Ĥ. We won't use Windows 7 DVD here as we will need to add Autounattended.xml file into the USB later Create Windows 7 UEFI USB installation media with rufus, don't forget to choose "UEFI" not "CSM" Please refer to Windows 10 on Old Macs for the details.Ģ. Install rEFInd and download Intel's Open Source UEFI shell - Shell_Full.efiĬhange the VGA and Bridge controller register in efi shell: This is going to be Autounattended installation and wipe up everything on the hard drive, so please backup your data before proceeding.ġ.

To install Windows 7 on GUID partitioned HDD (GPT), you will need to boot from EFI mode not BIOS mode, but in EFI mode, there is no direct VGA support for Windows 7 on Macs, unless you change the VGA and bridge controller register from EFI shell before loading Windows.


It's not Apple or Microsoft's fault, but rather different implementation history. However, on a Mac, this could be head banging and miserable situation. On a PC, you can set your BIOS to UEFI boot and install Windows 7 without problem. You will find out that the hybird GPT won't work and Windows 7 installation will complain "The selected disk is of the GPT partition style" in which case you need to install Windows 7 via efi not the legacy CSM. What if you want to install multiple OS X and plus a Ubuntu alongside Windows on your Mac? For average users you won't have problem install Windows 7 with help of bootcamp assuming that Apple provides the Windows 7 drivers for your mac.
