Want to install macOS on Virtualbox?
If yes, then this post is definitely for you.
In the previous posts, I have already talked about installing linux ubuntu on Virtualbox & other operating systems also.
Everyone knows Mac OS is one of the most premium Operating systems.
And everyone wants to use it but itโs a little expensive.
And thatโs why people try to find out different ways to install Mac OS on their PC.
Two years back I also installed Mac OS High Sierra Hackintosh on my PC.
And now I am installing the Mojave version.
So in this post, I will show you how to install macOS Mojave on Virtualbox on Windows PC.
Letโs see How it works.
Also Read: Chromebook ChromeOS on Virtual machines.
Table of Contents
How to Install macOS on Virtualbox in Windows 10 PC [ Mojave ]
But before we begin.
Please make sure that you have downloaded the Oracle Virtualbox and the macOS Mojave ISO file from the given link.
Virtualbox: Download link
macOS Mojave Virtualbox image: Download link
Also Read:- How to fix or bypass Google Drive download limit.
I know you might be thinking of creating your own iso file but itโs a little time-consuming.
And thatโs why I have already given the link for the Mojave image file.
Now I hope you have already downloaded all the given files & installed Virtualbox successfully.
Note:- Please check the VT-x or AMD-V virtualization feature must be enabled in your BIOS settings.
So Letโs get started & follow this step by step guide.
Also, check out how to install Windows 11 on Virtualbox.
1. Open & Install Virtualbox Extension Pack
Now Open Virtualbox and install the Extension Pack from the given link. Download link
Now that you have installed the extension pack, itโs time to create a virtual machine.
2. Create a macOS Mojave Virtual Machine
Open Virtualbox and Click on the โNewโ button to create a macOS virtual machine.
Now type the name as โmacOS Mojaveโ, type of OS as Mac OS X and the version of OS as Mac OS X (64-bit). And then Click on Next.
3. Memory Size (RAM)
Now select the amount of RAM to be allocated to the virtual machine. And to run macOS on Virtualbox, the minimum recommended RAM size is 2048Mb.
4. Setup a Virtual Hard Disk
Now the next step is to create a virtual disk for this machine. But here instead of creating a new virtual hard disk, we will import the macOS Mojave 10.14 disk image file which we have downloaded earlier. So Click on Use an existing virtual hard disk file.
And then click on the Folder icon and browse to the image file.
Now select the image file and Click Open.
And you can see that you have successfully created the macOS virtual machine and here comes the configuration part.
5. Configuring macOS Virtual Machine
Note:- All these settings are mandatory to run and install macOS Mojave on Virtualbox on Windows PC properly.
Now Click on Settings.
Now in the Next screen Go to System, then Click on Motherboard Tab and Select the Boot Order as Optical and Hard disk. And in the Extended Features Enable I/O APIC, Enable EFI (Special OSes only) and Hardware Clock in UTC Time. Click OK.
Next Go to Processor Tab. And select the minimum processor as 2 and Enable PAE/NX in the extended features. Click OK.
Further, Go to Display Settings and change the Video Memory to 128 MB or the maximum you can have.
Next, Go to the Storage tab and Enable the Use Host I/O Cache and Click OK.
Now, Go to the USB tab and Enable the USB 3.0 (xHCI) Controller and Click OK.
Note:- After installing it successfully, if you face a mouse & keyword lagging issue then please change the USB controller settings from USB 3.0 to USB 2.0 controller & then apply.
6. Modify Virtualbox Virtual Machine using Command Prompt
Note:- Before running the Command Prompt, please make sure that you have Closed the Virtualbox & it is not in the running state.
Also, I would recommend you to Restart or Reboot your pc before using these command-line codes.
Now add the following commands to Virtualbox Virtual Machine using Command Prompt (CMD). And to Open Command Prompt, click on Search and type โCMDโ and Right Click on it and select Run as Administrator.
Now run each command one by one in the command prompt. And before running each command, please make sure to change the โYour VM Nameโ part with the name of the virtual machine that you have created earlier.
cd โC:\Program Files\Oracle\VirtualBox\โ
VBoxManage.exe modifyvm โYour VM Nameโ cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata โYour VM Nameโ โVBoxInternal/Devices/efi/0/Config/DmiSystemProductโ โiMac11,3โ
VBoxManage setextradata โYour VM Nameโ โVBoxInternal/Devices/efi/0/Config/DmiSystemVersionโ โ1.0โ
VBoxManage setextradata โYour VM Nameโ โVBoxInternal/Devices/efi/0/Config/DmiBoardProductโ โIloveappleโ
VBoxManage setextradata โYour VM Nameโ โVBoxInternal/Devices/smc/0/Config/DeviceKeyโ โourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerIncโ
VBoxManage setextradata โYour VM Nameโ โVBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMCโ 1
Like I will replace โYour VM Nameโ with โmacOS Mojaveโ in all the codes.
It will be easier if you first copy all the codes to a notepad file & edit them and then paste them into the CMD.
And you are done with the configuration part. Now comes the major part to install the macOS Mojave on Virtualbox Virtual machine.
Install macOS Mojave on Virtualbox PC
Note:- All this installation process of mac on Virtualbox works the same as on the original MacBook. This means that this process is also applicable to Mac Users installing the Mac operating system.
So Letโs get started & install it properly.
1. Start & Run macOS Mojave
Now Open Virtualbox & select the virtual machine and then Click on Start.
Now, wait for a few minutes while the virtual machine boots up and start loading the installer or the installation files.
2. Select Country & Keyboard Layout
Now select the United States as a country & Click on Continue.
And Keyboard layout as the US and Click on Continue.
3. Data and Privacy
Now in the next screen, it will ask for the Data and Privacy settings which are by default. So Click on Continue.
4. Transfer information to this Mac
On this screen, it will ask if you want to transfer any sort of information from any Mac or Windows PC. So, select Donโt transfer any information now and Click on Continue.
5. Sign in with Your Apple ID
Now it will ask to sign in with your Apple ID. If you already have the apple ID then you can enter or you can simply on Set up Later. And Continue.
6. Term and Conditions
Now the Term and conditions part, So simply Click on Agree.
7. Create a Computer Account
Its time to create a computer account that is similar to the user account created in Windows PC. So, fill out all the details like Full name, Account name and Password. And Click on Continue.
8. Express Set-Up
Next is Express Set Up where you can also customize settings or you can simply click on Continue.
9. Choose your MacOS Look
Since macOS Mojave comes in two different looks, one is the Light look which is similar to normal and the other one is the Dark look. You may choose according to your Preference & Click on Continue.
10. Installed Mac OS Mojave on Virtualbox
And Done! You have successfully installed the macOS Mojave 10.14 on Virtualbox virtual machine in Windows 10 PC.
Some FAQs
Can you install Mac on a virtual machine?
Yes, you can easily install MAC operating system on a virtual machine with the help of virtualization software like Virtualbox, VMware, and QEMU.
How install macOS Mojave on Windows VirtualBox?
Installing macOS Mojave on Virtualbox is very simple, just follow these instructions properly.
1. Open Virtualbox
2. Create macOS Virtual machine
3. Configuring the Mojave VM
4. Modify Commands to install on Windows
5. Run VM and Setup it up accordingly.
How can I install macOS on Windows PC?
If you want to install macOS directly on a Windows PC then you need a Hackintosh and your system must be compatible with 64-bit and has at least 50Gb free space.
How do I run Catalina on VirtualBox?
Running Catalina on Virtualbox is almost similar to the other operating systems, just need to follow the correct steps and be done.
Thatโs it for nowโฆ
Conclusion
So thatโs how you can easily install a Mac OS on Windows 10 PC using Virtual Box Virtual Machine. And you can also follow the same method for other different OSes like Catalina & High Sierra.
Stay tuned for the next post on install mac os on VMware.
Feel free to share your thoughts and also tell us if you know any better way to Install macOS on Virtualbox in Windows 10 PC [ Mojave ].
If you liked this post, Donโt forget to share this awesome post with your friends.
So I got to the part where I load the mac VM, and it doesn’t load. It looks like I get the error
BdsDxe: failed to load Boot0001 “UEFI VBOX CD-ROM VB1-1a2b3c4d” from PciRoot (0x0)/Pci (0x1F,0x2)/Sata (0x1,0xFFFF, 0x0): Not Found
It then goes through a bunch of start and end processes, and ends with ‘End RandomSeed’
Hi AI,
Can you please tell me on which part you are getting these errors? Because I have thoroughly checked and installed the same on my Virtualbox PC. And please make sure to close the Virtualbox VM manager before running the commands in the command prompt.
Thanks
It happens to me too. When I start the VM after doing all the steps it makes a few thinks, then it says root device uuid is … and stops after End RandomSeed. I had it running for over an hour yesterday but nothing happened :/
On the line : VBoxManage.exe modifyvm โYour VM Nameโ โcpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff you missed a –
should say
VBoxManage.exe modifyvm โYour VM Nameโ –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
Thanks for this info. ๐
I want to say Thanks so much – you enabled me to do what all the others couldn’t do!! ๐
I had to change the above command to
VBoxManage.exe modifyvm โYour VM Nameโ โ-cpu-idset 00000001 000106e5 00100800 0098e3fd bfebfbff
Best regards, pitters
replace โcpuidset by -โcpuid-set
Hello,
I am struggling with applying the command, VBoxManage.exe modifyvm โYour VM Nameโ โcpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
The issue I am having is, CMD is telling me “VBoxManage.exe: error: Unknown option: -cpuidset”. Please what should I do at this point of receiving the error. I would be very grateful for a quick response to my troubles. Thanks in advance.
Hi Gerald,
I think Virtualbox has stopped supporting this custom OS but you can still try using the old version of Virtualbox. Or you can try the info given by Namirred of adding a -. Maybe this also works for you.
Figuring out this issue and will update you soon. ๐
Thanks,
Abhay
Fixed:
VBoxManage.exe modifyvm โYour VM Nameโ โ-cpuid-set 00000001 000106e5 00100800 0098e3fd bfebfbff
the Google Drive downloads for Mojave have exceeded the limit
Hi Ken,
Sometimes you may face this issue but I have updated the fix above. You can also search on our blog to bypass the google drive download limit. Here is the link ” https://www.buildsometech.com/bypass-google-drive-quota-exceeded-fix/ “.
Thanks,
Abhay
I got the exact same error, the error happens when starting the virtual machine.
Hi Josh,
Sorry for the inconvenience, will fix this issue soon. ๐
Hi Abhay,
I’m experiencing the same issue. The error occurs at the “Start & Run macOS Mojave” step, with the same error message as Al.
Thanks in advance!
I think the new version of Virtualbox doesn’t support this custom OS. I will figure out this issue and will definitely fix it soon. Also, you can checkout the info given by Namirred above. ๐
Definitely nee to add the extra – to that command line.
VBoxManage.exe modifyvm “MAC” –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
Once starting up my VB, it stops at “End RandomSeed” and doesn’t go any further. I waited minutes or so.
Other than that, this tutorial is great, got me so much further than any other I have tried.
Hi Wade,
Earlier it was working really fine without an extra – in the first command. I have also installed this mac version on my laptop & it was working great. I think in the version of Virtualbox, these commands are not working correctly. Will update the other working codes soon.
Thanks,
Abhay
Hi, I have a problem, when I try to use my mouse it says something about key host capture, I can’t control my mouse or keyboard it all worked but it’s just the mouse and keyboard, thanks
Hi Adams,
I am glad that it all worked and you have installed the macOS on your Virtualbox. But I can see that you & some other users are still struggling with the mouse and keyword issue. And for that, you need to change your mouse settings from USB 3.0 to USB 2.0 & then apply.
Cheers,
Abhay
Hi ,
I want Catalina or Big Sur, ISO file for virtual box
Sure I will update in a new post. ๐
I know why it wasn’t working. I have an AMD CPU and if you have an AMD system, you have to add >>VBoxManage modifyvm “Your Virtual Machine Name” –cpu-profile “Intel Core i7-6700K”<< as another command. Working now. Thank you so much
Hi Leon,
Glad it worked for you. Thank you so much for sharing this important fix via comments. Hope this will also help other readers to install it properly. Keep visiting. ๐
Thanks,
Abhay
Thanks, I was having this issue. Your command worked perfectly!