Installing MacOS sierra on pc is not a very tough work. In some laptops it can be installed in one hour or in some laptops it requires a lot of research for proper installation. As you know Macs are overpriced and at that price, we can get much better hardware and make it a Hackintosh. On most laptops that uses the Nvidia Optimus technology that allows the OS to switch GPU without rebooting the OS but macOS doesn’t support this, So if your laptop uses this technology it means that your dedicated graphics card is useless in macOS. But by dual booting macOS with windows, you can utilise your graphics card. There are lots of guides about dual booting windows with macOS but this is very easy and you won’t get any error. This guide is kept short and noob friendly
In this guide, we will first install windows 10 and then macOs because when I tried to install windows 10 after installing MacOS it showed me an error of something like “windows can’t be installed on MBR…” so to get rid of this types of errors we will install windows first. Let’s start.
1. Making windows USB.
At first download the latest version of windows from Microsoft official website or if you already have a copy of the image or an old will it will also work fine.
Download Rufus from here. Using Rufus we will create the Windows 10 USB.
Now you will need a minimum of 8gb USB-drive.
Insert your USB drive and open Rufus. In Rufus select your USB device from the device list and then click on the partition scheme and select ‘MBR partition scheme for UEFI’.
After you selected the partition scheme, click on the cd icon to select the windows 10 iso file and click Start.
Wait until the process is finished and you USB is ready to install windows.
2. Installing windows.
After successful creation of USB reboot your computer.
Now if your PC is running bios, you need to manually set it to UEFI. To do so, open your bios and head over to the Boot tab and select UEFI from there.
However nowadays PCs and laptops comes with UEFI as default, so there is no need to change it manually.
Now insert the bootable USB drive and proceed to install.
3. Creating a partition for macOS
We will now create a partition for macOS from windows. So that while installing macOS there will be no hassle of drive shrinking and formatting.
Now press the windows key or click on the search bar on the taskbar below and search for ‘Disk management’ and click on the topmost result.
In the disk management app select a partition in which you will like to install macOS. And right click on it and click format.
On the format window rename the drive to ‘macOS’ (because while installing macOS it will be easy to distinguish) and change the file system to exFAT then click ok.
Note: While installing windows if you formatted the whole hard drive and made only one big partition, you need to shrink your system partition (C:\)
4. Changing EFI partition.
By default, Windows creates a 100mb EFI partition but clover needs at least 200mb to work so we need to create a different EFI folder with a bigger size.
At first open cmd an type the following commands
Sel disk 0
sel vol X ( X is number of volume from which we will shrink 200mb for efi partition)
Create partition efi size=200
Format quick fs=fat32 label=“system”
Assign letter z
Now exit diskpart by typing 'exit' and run command:
bcdboot c:\windows /s z: /f ALL (if it gives error, try running cmd as administrator)
Reboot and check if two Windows boot manager is available or not and try booting into both and see if it works and if it gives error then simply startup repair will work.
Boot into the bootable USB and delete the old EFI from drives list.
3. Creating macOS install media
Install macOS Mojave on PC
How to create bootable macOS high sierra USB on windows.
4. Installing macOs.
Note: Before installing make sure that you turn off secure boot and turn on CMS support in BIOS, otherwise, you will not be able to boot into the macOS Mojave installer
Insert the boot media then turn on the device, after the splash screen it should automatically boot into clover if it doesn’t then restart your pc and boot into BIOS and then go to boot menu and select the Clover USB then click save and reboot.
Now in the clover menu, select the ‘install macOS Mojave’ and tap the spacebar then check “boot verbose” and then click “boot with selected options”
After you successfully booted into installer open disk utility from utilities
Select the drive you created earlier and click erase and select MacOSX extended and give a name to it. Click Erase.
Assuming that you have successfully installed macOs on your system
Open terminal and type the following command-
Look for the EFI partition named ‘system’
Mount it by
diskutil mount disk0sx( x=efi partition number)
Insert you macOs boot media and copy both the folders ‘boot’ and ‘clover’ and paste it to efi/EFI/ or System/EFI/
Restart with USB inserted.
Select add clover to all boot option from clover options