Installing Windows 10
You will need:
Double-click the image file. The mounted volume will be referred to as CCCOMA_X64.
Download the ZIP (click the code button
View attachment 964680
and select download ZIP). The uncompressed folder will be referred to as
OcBinaryData.
Prepare two disks as follows:
Disk C | USB |
---|
Newly formatted exFat volume (GUID scheme) | Newly formatted exFat volume (MBR scheme) |
This is where Windows will go | This is where the installer will go |
Disk C should not be the same as Disk A. The volume of the USB disk will be referred to as USB.
Add the exFat driver
The identifier should be something like diskAs1. Replace the actual identifier in the following step.
- Mount the EFI volume by entering:
sudo diskutil mount /dev/diskAs1
You may need to authorize this. The volume should mount as /Volumes/EFI and appear as EFI in Finder.
- Copy OcBinaryData/Drivers/ExFatDxeLegacy.efi to EFI/OC/Drivers
Open the configuration file
Tell OpenCore about the driver
- Find the
Drivers
key and add
XML:
<string>ExFatDxeLegacy.efi</string>
to the array
Also, make sure that the VMM flag is off.
Verify the configuration
- Close config.plist
- In Terminal, enter:
plutil -convert xml1 config.plist && plutil config.plist
You should see
config.plist: OK
. If not, recheck all the steps.
Load the configuration
- Copy config.plist back to /Volumes/EFI/EFI/OC
- Reboot
Prepare the installer
Use the actual volumes names in the following step:
- Enter:
rsync -r /Volumes/CCCOMA_X64/ /Volumes/USB
Let the task complete.
Proceed with the installation
- Reboot and select Windows (External) from the boot picker
The Windows installer should start.
- At the Windows Setup window, press Shift+F10 to open the Command Prompt
- Start diskpart by entering:
diskpart
Wait for the prompt.
- Identify your disks by entering:
list volume
You should see something like
Code:
Volume 1 C Disk C exFAT
Volume 2 D USB exFAT
Note the actual volume numbers and letters. Do not proceed if you are not sure! Replace the actual volume number of Disk C in the following step.
- Select Disk C by entering:
select volume 1
Double check that you have the right volume number.
- Format the disk by entering:
format quick fs=ntfs label=Windows
Wait for the task to complete.
Use the actual letter of the USB drive in the following step:
- Enter:
D:
- Backup the efi folder of the installer by entering:
ren efi efi.bak
- Enter:
cd sources
- Identify the version of Windows that you want to install by entering:
dism /get-wiminfo /wimfile:install.wim
You should see something like
Code:
Index : 1
Name : Windows 10 Home
Replace the actual index of the Windows version and the actual letter of Disk C in the following step:
- Apply the install image by entering:
dism /apply-image /imagefile:install.wim /index:1 /applydir:C:\ /compact /EA
Wait for the task to complete.
- Create the boot files by entering:
bcdboot C:\Windows /s D: /f uefi
Wait for the task to complete.
- Enter:
exit
- Close the Windows Setup window (click the X)
Click "yes" to restart your computer.
Copy the boot files
The identifier should be something like diskCs1. Replace the actual identifier in the following step.
- Mount the EFI volume by entering:
sudo diskutil mount /dev/diskCs1
You may need to authorize this. The volume should mount as /Volumes/EFI and appear as EFI in Finder. This EFI volume should be empty.
- Copy /USB/EFI/Microsoft to /Volumes/EFI/EFI
- Delete /USB/EFI and rename efi.bak to efi
- Eject the USB
Finish the installation
- Reboot and use the boot picker to select Windows
The configuration process should begin and eventually your computer will restart.
- Complete the configuration