GNU/Linux openSUSE Installing macOS i VirtualBox VM – QuickStart Guide
[xyz-ihs snippet=”336AdTop”]Hi! This tutorial will guide you step-by-step on How to Install macOS Catalina 10.15 on VirtualBox Virtual Machine in openSUSE GNU/Linux Desktop.
And Oracle VirtualBox is a powerful PC Virtualization solution allowing you to run a wide range of PC Operating Systems on your Linux platform. This includes Windows, Linux, FreeBSD, DOS, OpenBSD and others.
The macOS VirtualBox VM Setup make use of a Bash Script available on GitHub.
At the time of writing, due to Apple restrictive Policies this Setup is valid at most for macOS Catalina 10.15.
But good News :) the resultant macOS VirtualBox VM it’s truly Fast and working very Nicely.
Especially Relevant: at the Post’s BOTTOM you find instructions about the relevant Post Installation Setup!
1. Installing VirtualBox
How to Install VirtualBox on openSUSE
VirtualBox openSUSE Setup Guide[xyz-ihs snippet=”234Ad1″]2. Installing Dependencies
Then to Install Required Software
Run:sudo zypper install unzip dmg2img xxd
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sud.
3. Downloading macOS Installation Script
Download macOS Installation Script for VirtualBox on openSUSE GNU/Linux
macOS Installation Script for openSUSE[xyz-ihs snippet=”234Ad1″]
And Save it into the VirtualBox VMs Folder.
Many Thanks to the MySpaghetti Develope! :D3. Running macOS Installer
Now to Run macOS Installation Script
First, make a Target Directory to hold all the Stuff Downloaded during Setup:mkdir /[PATH/2/VMS]/macOS
Replace /[PATH/2/VMS] with your current VirtualBox VMs Path in the above.
And store it into the Target:mv ~/Downloads/macos-guest-virtualbox.sh /[PATH/2/VMS]/macOS
But if you are in Trouble to Find it out on Terminal then See: How to Access Downloads Folder from Browser.
Next access it:cd /[PATH/2/VMS]/macOS
Give execution permissions:chmod +x macos-guest-virtualbox.sh
And then Play it with:./macos-guest-virtualbox.sh
Confirm for Installation on the Interactive CLI Wizard.
Easily the First Boot will Fails.
So try to Restart it with this Command:VBoxManage modifyvm macOS --cpu-profile "Intel Xeon X5482 3.20GHz"
For more insight see the Documentation with:./macos-guest-virtualbox.sh documentation | less -R
4. Making Virtual Disk
Now Make & Format Installation Virtual HD
(This Step is missing in the current Script and it’s my Personal Hacking Contribute :)
So Power Off the Machine and access Settings >> Storage
Then Create a HD of about 40Gb and Pre-alocated Full Size (That’s just as I did…)) br /> First, Choose the “+” Add Hard Drive on Top-Right:
And after Launch the Disk Utility:4. Installing macOS
So after Re-Start follow the macOS Installation Wizard
5. Configuring macOS
After the successfull Setup easily make the macOS Configuration
Simply follow up with the Wizard:
Then Read the POST-INSTALLATION SETUP at the Bottom!
So go in Settings >> Storage and Remove All but the OS Disk that you have created in the Former Step!
This to be Sure your VM will follow to Boot Up also if some Settings is changed.
Finally Enjoy your VirtualBox macOS Catalina VM! :)