Whether you want to do a quick test or surf a little bit around in macOS, VirtualBox is the perfect option to install macOS on. If you’re willing to install macOS Mojave on VirtualBox even you’re a Windows user, here’s what you need to know.
At the WWDC 2018, Apple released the new macOS 10.14 Mojave — Packed with a significant number of features. The newly designed macOS is integrated with advanced security in a new interface, unique appearance, new features, new functions. This has become smarter and more intelligent than you’ve used before. And there’s much to know about yet if you’re a Windows user, you’ll probably consider these updates specifically for Mac only since this is for Mac users. Also, Apple restricts macOS and doesn’t allow other machines and operating systems to be installed macOS on.
However, it’s not impossible though, at least it may be tricker. I know there are plenty of questions you might have. In summary, you’ll run out of the difficulties and you’ll be able to install macOS Mojave with features right into your Windows PC. No matter, whatever version of Windows you have and whatever edition of Windows you’re using, you are able to install macOS Mojave in your Windows PC. With that so, you can try to install and work with Mac applications such as Xcode. For this, you aren’t supposed to do it alone. In this article, I’ll walk you through how to install macOS Mojave on VirtualBox on your Windows PC, let’s do this.
- Check this out: How to Install macOS Mojave on VMware
What is virtualization?
Before we get too far into it, it’s better to have a familiar idea of what is virtualization.
Simply, virtualization is the process of creating a virtual version of something including OS, CPU Hardware. In virtualization, everything will be virtualized into virtual machine(VM) pop up in a window tab. What a virtual machine does is, it allows you to run entire operating system in your current system. The operating system will work and function the same as physical system in a safe, sandboxed environment. Basically, you’ll have pretty much everything you’ll have a real computer such as internet, sound, full screen, drag & drop and much more.
With that in mind, we’ll install macOS Mojave on VirtualBox and run in a virtual environment. To virtualize, you’ll need a virtualization application/program. There are some excellent virtualization apps out there like VirtualBox, VMware — VirtualBox is my favorite one. Importantly, VirtualBox costs free and works excellent regarding virtual machines. It has integrated essentially everything you’ll need in a real system. To get started, download and install VirtualBox. So, what’re you waiting for, let’s dive in.
What you’ll need
Before you get started, you’ll need to download a couple of things.
Keep in mind, if you’ve downloaded files for the macOS Mojave installation for VMware, they’ll work for the VirtualBox installation too except you’ll want to download code for VirtualBox from the files given.
- Oracle VM VirtualBox — VirtualBox is my favorite option I choose. It offers. When you download VirtualBox, everything will be integrated into it including tools such as Internet adapter. This way, you’ll be able to install macOS quite comfortably. To do this, just download the latest version from the official website of VirtualBox and install when done. Once you’ve installed, you’re good to go.
- macOS Mojave Final APFS by Geekrar (One Full – Google Drive) — If you’ve been searching for macOS Mojave out of the App Store specifically for VMware, you’re in the right place. Just hit the link and begin downloading now.
- CodeforVirtualBox — Basically, to run and work macOS properly, you’ll need to patch the code in Command Prompt.
Once the files are downloaded, extract them and feel free to move to the next step. After all, you can download macOS Mojave Image for VirtualBox & VMware latest version from there.
It’s worth saying that the Mojave HFS version is faster than the Mojave APFS version.
When you do that, you are ready to install macOS Mojave on VirtualBox on your Windows computer.
Step One. Install Oracle VM VirtualBox on Windows
First and foremost, pull up VirtualBox setup and perform the installation wizard as you would with any other ordinary installation.
When the installation finished, click Finish to launch Oracle VM VirtualBox
Step Two. Create a Virtual Machine on VirtualBox
In this step, head to VirtualBox > Click New > On Create Virtual Machine click Expert Mode to expand the process into the window.
On this window, write down the virtual machine name. It will automatically detect the OS type and version. Second, prefer 3GB to 6GB of ( 65% of your PC Ram). And For the Hard Disk > Select Use an existing virtual hard disk file > Choose the downloaded macOS Mojave VMDk file.
When you’re done, it should look like the following, then click Create.
Next, click on Settings above the Virtual Machine name to tweak some settings.
Now select System > Processor > Increase 1 CPU to 2 or more about (70% of CPU Core) Seriously otherwise the virtual machine may not boot properly.
After that, navigate to Display > Increase Video Memory to the end (128 MB) and click Ok.
Step Three. Apply the Code on VirtualBox
Now that you’ve created the virtual machine, it’s time to apply some custom tweaks for VirtualBox.
For this, first of all, close VirtualBox ( Seriously otherwise this won’t work ). Next, head to the commands below and replace OS X Name with your virtual machine name.
cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage.exe modifyvm "OS X Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "OS X Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "OS X Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "OS X Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage setextradata "OS X Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "OS X Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
To make things a little easier, press Ctrl + H to open replace panel — write down OS X on Find What and write down macOS Mojave in Replace with. At last, click Replace All to do your replaces at once. Keep in mind, if you have installed VirtualBox in another drive out of C:\ drive, specify it at the first line of code in cd “C:\Program Files…” before applying.
Once you’ve replaced those, copy the code and right-click at the start menu and run Command Prompt (Admin).
On Command Prompt, right-click to paste down the code and press enter. It’ll take no more than a moment. Here you shouldn’t really get an error, just close when done. Here’s a glimpse of what it looks like.
Step Four: Add VirtualBox Boot Disk
The settings are now near to the end. For this step, we’ll add the VirtualBox boot disk to enter into installation mode.
First, open VirtualBox and click on Settings.
Then select Storage and click on the small disk icon then click Choose existing disk.
Next, click on Add and open the VirtualBox Boot Image.
Now select the disk and hit Choose.
It will look like this. Then click OK on the virtual machine settings.
Step Five: Install macOS Mojave on VirtualBox
This time, you’ve finished with configuration and you’re ready for installation. Here you’ll have the juice of virtual machine. Everything should work fine and flexible.
Go ahead fire the virtual machine and wait for the surprise boot. Sit back and grab a cup of coffee because it will take some time.
If you see a number of codes running on the screen, you don’t need to worry about, it will just boot up, only wait.
When booted, you’ll be greeted with the Welcome page. Choose your location accurately and Continue.
Next, select your keyboard layout, if you don’t see your one there, click Show All and pick your one then Continue.
Apple wants you to use your personal information when asked by Apple feature. Apple confirms to use your data to enable features, services and personalize your experience. Don’t worry, because your data is protected and secured, just Continue.
The transfer information from a Windows PC is there, but since I’m not going to use this as my primary system, I’ll choose Don’t transfer any information now (recommended).
However, you’re free to choose, or you could move your files later with this feature and drag and drop. When you’re done, just Continue.
You may want to use these services such as iCloud, iTunes, App Store, iMessage and other services sign in with your Apple id. If you don’t have one, you’re likely to make one to benefit those services. This way, click on Create new Apple ID and proceed with it. If you don’t want to sign in or create new, simply click Set up later.
Just for your information, the virtual machine is connected to the internet through NAT automatically.
For Terms & Conditions, feel free to read. If not, you can read it later, simply Agree with it.
Just like Windows, you need to create a computer local account for sign in. Simply fill out the blanks with your name, account name, password, and hint and Continue.
The features will be set up for you if that’s okay, Continue. If you don’t want one or more, click Customize and you can choose whether you allow or don’t.
Your account will be created, don’t do anything only wait. It won’t take much time.
Ultimately, you’ll be in the latest macOS Mojave 10.13 right into your Windows.
Just to let you know for settings or switching, the host is right Ctrl key, whenever you insert your mouse into macOS, for pulling your mouse out of it, press the right side Ctrl.
Bonus step: Download & Install Latest Updates
If you want the newest stuff for the macOS Mojave, go ahead.
As this mac is already enrolled in Apple Beta Program, it will most likely get the latest updates, move on.
Navigate to Settings > Software Update > It will check and present newest updates if available. Click Update Now to download the updates. When you’re asked for your password, enter to unlock the software update preferences. The update will start downloading when finished, it will be installed. And you’ll access the latest macOS Mojave within your PC.
And when you’re prompted to download & restart to install the updates, don’t hesitate to click Download & Restart. It will quickly restart to install those downloaded updates.
Troubleshoot Mouse & Keyboard Not Working
When installing, you may find a few problems with different things. In my case, I had actually problems with mouse and keyboard even when installed. If you stuck with your mouse and keyboard, and isn’t working, here’s how to fix that.
Goto the VirtualBox download page and download VirtualBox extension pack by hitting on All supported platforms link.
When the extension downloaded, power off the virtual machine by just click on exit button and select power off the virtual machine, don’t save otherwise you won’t be able to make changes.
On VirtualBox, navigate to File > Preferences > Extensions > click on Add new package button at the right corner. When you’re prompted to select the extension pack file, go on and double click on the extension pack to select.
Now you will be asked for whether you want to install extension packk or not, just click Install.
In this page, you need to agree to the VirtualBox license, to do that, click Agree and continue with installation.
At last, you may be asked for administrator credentials or permission to install, on that hit Yes and you’ll see this.
When you’ve installed extension pack, power off the virtual machine and wait for it.
Head to virtual machine settings > USB > Select USB 3.0 and click OK.
Remember, in my case, the mouse worked fine with selecting this option ( USB 3.0 ) without adding my mouse. However, in your case, if the mouse didn’t work, you may power off the virtual machine and in settings > usb > click on the green plus ( + ) icon and add your mouse, it will likely work.
If this didn’t work, tweak the settings, you can change the options to another USB version. It won’t be a hurdle since this works for everyone.
For Keyboard, when you will finish the installation, the keyboard set-up assistant wizard will automatically identify your keyboard, if not, you’ll need to select your keyboard type just by pressing a key at a time once.
All right, everything should work fine and soft. If you had other problems with boot or other things, let me know in the comments down below.
If you have problems and errors out of here, you can check for solutions we’ve listed and answered.
Finally, when you have installed successfully, you will have a screen like this.
If you would like to increase screen resolution to your preferred one here’s how to do it.
If you are into the EFI Internal Shell, here’s how you can fix it.
If you are experiencing slow performance, here’s how to speed up Mojave on Virtual Machine.
That was all about, how you install macOS Mojave on VirtualBox. If you have questions, suggestions and ideas for u, we are happy to know it.