This document will provide instructions on getting a macOS Catalina install working with Guest Additions on VirtaulBox 6.1.
I won’t say this is the way to install macOS Catalina on VirtualBox, but it’s certainly a way, and it’s difficult to find information about a way to do it. There are a lot of posts indicating that 10.15 or 10.15.1 worked but 10.15.2 and beyond don’t. Or that there are difficulties with VirtualBox and APFS. How to Install Guest Tool on macOS Catalina on VirtualBox on Windows. For that you have to run your VirtualBox, once you have opened the VirtualBox then you need to click on choose the virtual machine and click on the Setting of that. Then find out the Display tab from the left side, click on that.
Start by downloading a copy of the installer from the App Store. You will need a computer running macOS and you will need to convert the installer to an ISO. I will not be covering these steps here, but there are plenty tutorials online.
Installing VirtualBox
I’m hoping you already have this part covered and you are coming here only because you had issues getting macOS installed, but just in case, make sure the following packages are installed (Arch):
Creating the VM
Start by creating a new VM. Give it a name without spaces.
Give it enough memory so the install will run faster. We can change this later.
Select to create a new Virtual Hard Disk
Select VDI
![Install Macos Sierra.app How To Use In Virtualbox Install Macos Sierra.app How To Use In Virtualbox](/uploads/1/3/4/1/134110910/596769770.png)
Select fixed size
Give it a bare minimum of 25GB (I would advise on at least 50GB if you can spare the space)
Edit the machine, go into «System => Motherboard» and disable floppy boot and change the chipset to
PIIX3
In the processor give more CPU if you can spare
In «Display => Screen» increase the video memory to 128MB and enable 3D acceleration
Enable USB 3.0
Note: if you can’t see USB 3.0 you might need to add your user to the
vboxusers
groupInsert the install ISO
Additional Configuration
Now we need to run a few
vboxmanage
commands for additional settings. Either run the lines with vboxmanage
from the script below (add your virtual machine name under $vm_name
), or save the full script and run it.Note: the default resolution is set to «1280x1024». You can change it in the last line of the update code. Make sure to keep it to “640x480, 800x600, 1280x1024, 1440x900, 1900x1200“
Installing macOS
We are now ready for the install. Start the machine and select you language.
Select disk utility.
Select the VirtualBox hard disk and click on erase.
Give it a name, select the same options and click on erase. Close the disk utility when done.
Click on install macOS.
Continue with the install as you would until you are presented with the desktop.
Note that the installer will reboot once in the middle of the install.
Installing Guest Additions
We now need to get Guest Additions installed. Remove the install ISO and mount the guest additions CD. Open it with finder and run the
VBoxDarwinAdditions.pkg
Install it as if you would install any other package.
You will most likely get an error message that the install has failed.
Close everything, unmount the guest additions CD and open a terminal window (Command+Space, type terminal).
Now we need to restart the VM in recovery mode. Type in:
Once it has rebooted into recovery mode, on the top click on «Utilities => Termminal»
Type in the code below. This is to sign Oracle software as authorized. Then we disable recovery mode and restart the VM.
When the VM has rebooted you should have guest additions working. Remember that not everything works, but the features below should:
- Copy/Paste
- Drag and Drop
- VirtualBox Shared Folders
- Guest Control
Hello EitGuide fans. Before jumping into the main content, we just want to let you know that we are making a test. This post is written in English. Sincerely, we hope you guys are gonna like it.
I guess most of you like macOS. Unfortunately, the most advanced operating system is officially available for Apple computers, also known as Mac, such as iMac, Mac mini, Mac Pro and the most popular MacBook, and is only distributed via App Store. So the best way to play with the real macOS is to buy a Mac. However, diamonds cut diamonds, I’m gonna guide you how to install macOS High Sierra on VirtualBox. Yep, VirtualBox. That means you can have High Sierra on a virtual machine on any operating systems including Windows, Linux, and of course, macOS. But if you’re already on macOS, you may think of doing nothing at all, because why on Earth you want to experience macOS on a virtual Mac on a Mac?
Before moving on, you must have these things on your computer and mind:
- VirtualBox installed. You can get the latest version at https://www.virtualbox.org/wiki/Downloads.
- macOS High Sierra ISO from https://www.fshare.vn/file/ZPA3C343SGKB. The file itself is about 6.0GB so you’ll need a VIP account or Fcode and most importantly, patience.
- At least 8GB of RAM. 12GB or more is highly recommended.
- You’ll accept all the lag that may happen. The performance is a bit laggy, especially when you open Launchpad and even more laggy when you open a sub folder. So, it’s highly recommended to stay away from Launchpad.
If you’re thinking of having Xcode installed so you can build an iOS app, then NO, NO AND NOOOOOOOOOOOOOOOOOOOOOOHHHHHH. Lag is your partner. It’s just good enough to compile Electron-based apps which the source code is developed in the host machine.
All right, let’s create a new virtual machine. Experience with VirtualBox is a must so I’m not gonna dig into much details about how to create a VM. You can give it any name you like, I’m gonna stick to “High Sierra” in this tutorial. Once again, this tutorial works with VirtualBox across Windows, Linux and macOS, so you don’t need a Mac although all the following screenshots are taken on macOS. One more thing, I don’t know why the installation process seems much slower on Windows. It took me about 20 minutes on Ubuntu while it took me about 40 minutes on Windows with the exact same hardware. So, my recommendation is to have Linux as the host OS.
In the next screen, let’s give the VM at least 4096MB of RAM. You can throw some more if your system has more available RAM.
Hit Continue and give it at least 30.00GB of storage. After the VM is created, you’ll open the VM settings and increase video memory to 128MB.
In the Storage section, you’re gonna mount the downloaded High Sierra ISO. Finally, hit OK so we have nearly completed VM configurations. The only thing to do next is open Command Prompt (with Admin privilege on Windows) and use the common “cd” to the VirtualBox installation path. Yep, the VirtualBox program folder, not the VM one, the default one is C:Program FilesOracleVirtualBox. If you’re on Linux, the excutable is already in your PATH so you won’t need to “cd” at all in Terminal. If you’re on macOS, you may skip the step though you can give it a shot as much as you love doing so, or just quit the process because you’re already on macOS!
Copy these lines into a temporary text file, and replace “High Sierra” with the VM name you defined when you created the VM. Personally, I took the “High Sierra” name so I’ll replace nothing. If you also did the same before, do the same thing now.
VBoxManage modifyvm “High Sierra” — cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac11,3”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Iloveapple”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1
VBoxManage setextradata “High Sierra” VBoxInternal2/EfiGopMode 4
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac11,3”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Iloveapple”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
VBoxManage setextradata “High Sierra” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1
VBoxManage setextradata “High Sierra” VBoxInternal2/EfiGopMode 4
Then copy and paste those lines one-by-one into Command Prompt or Terminal and don’t forget to hit Enter after each line. After it’s done, you’re good to proceed to the next step.
Now, it’s time for the real installation. Yep, this is the real installation for real people. Unlike other tutorials from the internet in which you just need to add an already-installed disk (VMDK) to the VM, we’re installing macOS High Sierra from the fresh scratch. This means everything will be very stable. All right, let’s fire up the virtual machine and give it a minute.
If you have installed macOS before, you’ll see everything is quite familiar. First of all, select English as the language, then select Disk Utility in the macOS Utilities window:
The next thing to do is move the cursor to the top bar of the screen to the View section and select Show all devices. Then move the cursor down to the primary disk, select “Erase” and make sure your Format and Scheme look exactly like the image below while you can give it any name you love, like “Hackintosh HD” or something. Then hit the “Erase” button and wait in some seconds.
All right, after the disk is erased, it’s time to Install macOS after closing Disk Utility. Then Continue, blah blah blah and install to your disk. In my case, the disk is Hackintosh HD.
Let the installer do what it’s made to do. In the mean time, why don’t you grab a cup of coffee because it’s gonna take a lot of time depending on your disk. Be extremely patient and do not smash your computer. Hmmmmmmmmmmmmmmmmmmm… I’m gonna skip the waiting and proceed to the next step after the VM reboots itself.
Now, after reboot, you’re gonna see this weird screen. Yep, it’s weird, and if you don’t see it, there must be something wrong. Of course you must see the weird screen because our VM is not a Mac with Mac bootloader. So, the installer cannot resume itself, but we can force it to by just type “exit” and hit Enter (or Return in macOS).
You’re gonna see a similar screen to this one. Move the pointer down to Boot Maintenance Manager and hit Enter.
Install Macos Sierra.app How To Use In Virtualbox 10
In the next screen which is similar to the image below, select Boot from a file with the arrow and Enter keys.
Install Macos Sierra.app How To Use In Virtualbox Ubuntu
In the File selection screen with 2 or 3 items whose names contain lots of characters, select the bottom one, then <macOS Install Data>, then <Locked Files>, then <Boot Files>, then finally, boot.efi. The VirtualBox Boot manager will boot the boot.efi file that leads us to the continuation of macOS installer. Let it finish and complete the initial set up, then enjoy the laggy macOS High Sierra on VirtualBox and don’t forget to save a snapshot. Hooray, something is better than nothing!
Install Macos Sierra.app How To Use In Virtualbox Linux
Before saying goodbye, let me remind you: The performance is very laggy. This is because of 128MB of video memory that VirtualBox gives the VM. You cannot change the resolution to any other values that are different from the default 1280*1024 pixels. If you’re compiling Electron apps, the better way to have Xcode binaries is to install the Xcode Command Line Tool instead of the full Xcode from the App Store.
Install Macos Sierra.app How To Use In Virtualbox Windows 10
I hope you find my English tutorial is good enough. Thanks for everything and I’ll see you guys in the very next episode.