Head over to the VirtualBox download window and click on All supported platforms. The third step of how to Install macOS Catalina on VirtualBox on Windows PC is to install Extension Pack. Download VirtualBox Extension Pack. When it’s there, open it with VirtualBox and when it prompts on the VirtualBox, click Install. Sep 30, 2021 install.log from a guest additions install on macOS 10.15 Catalina macOS-10-07-17-24-21.log ( 286.6 KB ) - added by Kalak 18 months ago. Machine log from macOS host.
In this post I will tell you how install macOS Catalina to VirtualBox and disable SIP protection.
This guide includes a few steps: creating Catalina image, creating patch EFI disk and disabling SIP protection.
First of all you should install VirtualBox https://www.virtualbox.org/wiki/Downloads
Then we will prepare image with macOS Catalina, for which we will need to
download Catalina installation package from App Store. You can find it via “search box”:
And just get it.
Then after installation it will be in your Applications folder:
Now we need to create Installation image from “install macOS Catalina” application.
To better organize the work with a new image I would recommend creating a new directory.
Now we should create new Catalina install image, size of image should be bigger than size of MacOS Installation directory,
We choose SPUD partition layout (this is Apple Partition Scheme partition map with a single entry to be written) then we choose filesystem HFS+j (Apple hierarchy file system)
After creating image we mount it to directory for copy content to image
Then we should create bootable installer for Catalina. We can do it by using “createinstallmedia” from installation package which will create installation Volume.
Next we should convert our image to ISO
And detach our image.
First of all we need to create image for our patch efi script
Then we should attach image as a device.
This command will return information about new device.
We should remember our disk names.
Then we should mount new device for copying information.
Where disk_name is your disk name from previous command output and s1 is suffix.
It will mounted to _Volumes_EFI/
Then we should create subdirectories for driver in our image
And now we copy Apple filesystem driver to our image
Next, let’s add script for loading driver to our image:
Now we can unmount disk
Then we should convert our disk to VirtualBox disk image
And finally we need to eject our disk:
Also you can download interactive script from my GitHub GitHub - nekech/CreateMacOsVirtualBoxImage: This script create MacOS image and boot disk for VirtualBox
In this step we have the Install ISO image and boot disk for virtual machine so we will be able to create virtual machine.
Open Virtual Box and create new Virtual Machine
Type: Mac OS X
Version Mac OS X (64 bit)
We can choose recommended RAM size (2gb)
Then we choose create virtual hard disk.
Choose type Dynamic allocated and set size 30gb.
Then we should open settings of Virtual Machine
And Change Chipset to PIIX3 in System settings
Also you can add some more processor cores.
The next step is to add our boot disk to Virtual Machine.
Opent Settings -> Storage
Choose “Add existing disk” and open our Patch EFI disk.
And then you can choose boot order via change SATA port for our disk, I recommend to set it to 0.
Then remove Empty disk
And add our Catalina disk
Then we can Run our virtual Machine.
And just install Catalina
Don’t forget erase VirtualBox Disk before installation.
The System will reboot, and you will need to Power off the machine and to remove Catalina install Image.
And then just run the Virtual Machine again, and it will continue the installation.
To disable SIP in your Catalina VirtualBox Machine you should start your Machine and Enter in External UEFI shell.
For this we simply need to press “ESC” at the beginning of loading:
Now we need to load APFS driver from our boot disk.
You can find it in FS0 because our disk attached to SATA0, but you can check another places too.
Just type: FS0:
Go to dir with our driver “fs0:_EFI_DRIVERS/“
And execute command
Then execute command
Then we should iterate via “FS” paths
And find our recovery boot.efi
Just type “fs0:”, “fs1:” .. and seek partition there is folder with name as
Go to that folder
This will prompt macOS recovery mode to be loaded.
Then open Terminal in menu “Utilities”.
And simply type the following command:
As we can see SIP is disable.
Windows, macOS – which one do you want to use today? On a traditional setup, you’re stuck with one or the other. But with virtual box, you actually have macOS on a Windows PC.
It’s the freedom that computer users have enjoyed with Linux and other operating systems.
But Apple has made it difficult to install their operating system on anything other than their own hardware. All of that is changing, and Virtual Box is responsible for it and the rise of the Hackintosh.
New to hackintosh? Learn more about it in our what is hackintosh? overview.
Note: A lot of people will be able to get a mac virtual machine one Windows running smoothly, but sound doesn’t seem to work well. That’s really not an issue because you’ll still be able to access all of your apps and software.
I also recommend that you have access to a real Mac. You might be able to find some distributions of the High Sierra ISO online, but there is always a risk when downloading from an unofficial source. Instead, borrow a Mac from a friend, or use your own and download the High Sierra OS from the App Store.
Check out our high sierra installation guide for hackintosh
Before we go through the steps on how to install macOS on Virtual Box, let’s get everything together that you’ll need to get started.
You’ll want to search for your desired operating system (we’ll be using High Sierra), and Download it.
Note: You’ll need a decent computer to be able to run Virtual Box. Your computer will need to meet these minimum requirements:
If your computer doesn’t meet these requirements, you won’t be able to run macOS properly. You’ll be able to download VirtualBox from the official website. I’m not going to go through the installation process, as the website will have all of the information you need to be able to install VirtualBox.
I do recommend that you read all of the documentation and ask any questions that you have in the community section of the website.
VirtualBox 6.0 was just released, so it’s definitely a great time to get started with your own macOS.
Make sure you’ve downloaded High Sierra, and then you’ll want to run a few commands from your terminal . You’ll be able to open the terminal at: Applications > Utilities > Terminal. Once inside of the terminal, you’ll want to run the following commands:
Go to your desktop and rename the file, removing the “.cdr” extension. You need this extension to read “.iso” for it to work properly.
You’ve successfully created your own ISO file so that you can bootup your macOS.
The next step is to copy the file over to your Windows machine (using a large USB drive seems to work best). This file will be mounted in your virtual machine later on in the article, so it’s very important that this step is completed successfully.
You’ll want to create a virtual machine, and this is really easy. You’ll open up VirtualBox and click New. You’ll want to have the following parameters selected or entered before clicking Next.
Pay attention when selecting the version because you may find that High Sierra is offered as a version when you go to install it. But if it’s not, you can just choose the settings I listed above and they should work fine.
You’ll then be proceeding through all of the settings.
When you come up to the RAM setting, you’ll want to be generous. VirtualBox requires a minimum of 4GB or RAM to run, but the more the better.
You’ll want to provide at least 4GB to your macOS, or 4096MB to be precise. A general rule of thumb is that if you can spare it, supply more RAM to your virtual machine. RAM will allow the operating system to put more information into memory and retrieve it faster.
For better overall performance, supply as much RAM as you can.
The next steps are also important, and they’ll include:
You’ll now have your virtual machine using the RAM and disk space properly, and you’ll have to work your way through a few screen prompts before having everything setup properly.
We’ve made a lot of progress so far, and now it’s time to configure your virtual machine properly. You’ll see in the main window of VirtualBox that “High Sierra” is listed. Click on this and then click on the “Settings” button.
You’ll want to go to “System” and make sure that the following are unchecked on the Motherboard tab:
Click on the Processor tab and make sure that you have 2 or more CPUs set for your virtual machine.
The next few settings are rather simple:
Now you’ll need to click “Ok,” and save all of the changes you’ve made. Close out your VirtualBox now.
Apple is very strict on the system that their operating system runs on, so it’s very important that you do your best to configure your virtual machine in such a way that it tricks the installer to thinking you’re on a retail machine.
We’ll now be going into the Windowscommand prompt.
You’ll do this by:
It’s very important to follow all of the following command prompts exactly. Your goal is to run each command, one by one, hitting the Enter button and waiting for the command to complete successfully.
Remember that VirtualBox needs to be closed before running these commands, or it won’t work properly.
You have to make sure that the virtual machine is properly named “High Sierra” for this method to work. If not, you’ll be able to go back and make changes to the name to get everything to work properly.
Once all of the commands are completed, and there are no errors, you’ll then be able to open up your VirtualBox and get macOS High Sierra installed properly on VirtualBox.
It’s a long process, but we’re almost done with your installation.
You’ve almost learned how to install macOS on VirtualBox entirely, and we’re on the home stretch. You’ll want to open up your VirtualBox and then click on your virtual machine that you set up earlier.
Now, click “Start.”
There will be a lot of information displayed on the screen as everything starts running. I recommend stepping away from the machine and letting it run for a few minutes before coming back. Some errors can hang for 5 minutes or longer.
If you’ve done everything properly, you can be confident that the installer will boot properly.
You’ll eventually be presented with the option to pick a Language. If you’ve reached this point, you’re doing very well and are almost ready to run your macOS.
The next steps can be followed:
You’ll come up to one point where you’ll be asked to choose a hard drive, and you’ll want to select the Macintosh HD partition that you just created with the Disk Utility.
We’ve successfully copied all of the files on the virtual machine, but we’re not done just yet.
Exit your virtual machine and then go back to your virtual machine’s settings. You’ll need to change up your Storage settings. Click on your ISO for High Sierra in the “Storage Tree.” You’ll click that CD icon just like we did earlier and then choose “Remove Disk from Virtual Disk.”
You need to do this to unlink the ISO from your virtual machine.
Start up your virtual machine and you should come across a black screen with the EFI Internal Shell. You’ll want to look for FS1. If this is listed in yellow, click on the virtual machine and then type fs1: and hit the Enter button.
You should be in the fs1 directory.
Type in the following commands:
Now we’ll run the installer by running: boot.efi and hitting enter.
If everything goes well, you’ll come across a graphical installer and will just have to work through the prompts. The virtual machine will reboot eventually and then you’ll need to go through the settings and the rest of the setup process.
Soon enough, you’ll be right inside of macOS, where you’ll be able to start using your mac virtual machine on Windows.
Having a virtualbox mac OS is the easiest method of using mac as and when you need it. In addition, using virtualbox is far less complicated than the dual boot hackintosh method we have looked at previously.