Dual boot hackintosh macOS mojave and windows 10 in same drive

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.

dual boot hackintosh

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

Diskpart

List disk

Sel disk 0

sel vol X ( X is number of volume from which we will shrink 200mb for efi partition)

Shrink desired=300

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

Links-

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-

diskutil list

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

10 thoughts on “Dual boot hackintosh macOS mojave and windows 10 in same drive”

  1. I have two SSD’s, One with macOs High Sierra, 128GB, inside my system.
    And one external SSD which I’m using with an Adapter, on which I installed Win10 Pro UEFI.

    When I try to boot Win10 this happens;
    I can see Windows Option on Clover, but when I click on it, it shows me Windows Screen, loading circle and reboots the laptop.

    I have placed Microsoft folder in Clover, and fixed Boot Files on Windows Partition..

    Can . you help me?

  2. Hello,

    This is my first time attempting to turn my PC into a dual-boot system with Mac OS and Windows OS.

    I’ve reached step 4. I turn on computer, hammer my finger on F11 until boot manager opens, then I choose the USB drive I created with TransMac and a ~6.1gb Mojave dmg file. A black screen comes up with a blinking cursor. This is where I seem to be stuck.

    Do you have any experience with this issue?

    One thing to note: There was no option to edit “DVMT” in my UEFI settings. I do not know what DVMT is or if it could have an effect in this scenario.

    Thanks for the guide and your time!
    –foam

  3. I have tried installing high Sierra on my windows PC. I have followed the above steps and the result is stopping at MAC FRAMEWORK SUCCESSFULLY INITIALIZED. How to continue the rest steps? Please guide me

  4. Hi manash, I have a question
    I’m currently on window 10, can i use olarila for the 3rd step to create a boot media device for macos ?,
    And I think i should not lose any data from my old window right?

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.