Last modified: Sat May 15 09:26:57 UTC 2021: Last modified by: tim.lebedk. Created: Fri Nov 24 17:03:09 UTC 2017: Created by: tim.lebedk. Automated tests. Download VirtualBox (Old Builds): VirtualBox. The Extension Packs in this section are released under the VirtualBox Personal Use and Evaluation License. All other binaries are released under the terms of the GPL version 2. By downloading, you agree to the terms and conditions of the respective license.
During a recent pentest, I needed to throw together a macOS virtual machine. Although there was lots of guides around the web, none seemed to work from start to finish. This post contains the steps I extracted from various resources in order to get a fully working High Sierra install within VirtualBox 5.
Step 1: Download The High Sierra Installer
To do this, you need to be on an existing macOS system. I was unable to find the download within the App Store itself, but following this link opened the App Store at the correct page: https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?mt=12
Download VirtualBox (Old Builds) VirtualBox 6.1 (active maintenance) VirtualBox 6.0 (active maintenance) VirtualBox 5.2 (active maintenance) VirtualBox 5.1 (no longer supported, support ended 2018/04) VirtualBox 5.0 (no longer supported, support ended 2017/05) VirtualBox 4.3 (no longer supported, support ended 2015/12). Oracle VM VirtualBox Extension Pack. Free for personal, educational or evaluation use under the terms of the VirtualBox Personal Use and Evaluation License on Windows, Mac. VirtualBox 5.2.38 (released February 21 2020) This is a maintenance release. The following items were fixed and/or added: USB: Fix isochronous transfers to the VM for xHCI macOS host: Fix a possible crash when accessing VM related memory from the kernel Linux guest: Support Linux 5.5 (bug #19145) VirtualBox 5.2.36 (released January 14 2020). Download any app or software through VirtualBox, see how it runs on there, and then decide if you want it on your computer or not. VirtualBox for Mac. CyberLink PowerDirector. Advanced features for spotless results. Safe VPN browsing. Middle-of-the-road VPN service. I had these same issues installing VirtualBox 5.2 on an employees Mac running 10.13, via remote desktop. After trying all the things you've mentioned I kept googling, eventually finding this thread saying it's a screensharing issue. There is a report that you cannot allow kext if you are using Screen Sharing.
After opening the aforementioned page in the App Store, start the download, but cancel the installation when it starts.
You can then verify that the installer has been downloaded by checking that
'/Applications/Install macOS High Sierra.app' exists.
Step 2: Create a Bootable ISO
Next, you need to create an ISO from the installer application that was downloaded in step 1.
Running the below commands will create an ISO on your desktop named
Step 3: Creating the Virtual Machine
I experimented with a few different settings in regards to the CPU and RAM allocation. I didn’t find a combination that didn’t work, but create a VM with the following things in mind:
- Ensure the name of the VM is
MacOS(ensure to keep the same casing)
- Ensure the type is
Mac OS Xand the version is
macOS 10.12 Sierra (64-bit)(there is a High Sierra option too, but I chose Sierra by accident and it worked)
System > Motherboard > Boot Order
- Use >= 4096 MB of memory in
System > Motherboard
- Use >= 2 CPUs in
System > Processor
- Use 128 MB of video memory in
Display > Screen
- Optionally enable 3D acceleration in
Display > Screen
- Remove the IDE device in
Storage > Storage Devicesand replace it with a SATA controller
- Add a new hard disk device under the SATA controller with >= 60 GB of space
- Ensure an optical drive is present under the SATA controller and mount the previously created ISO to it
- Untick the
Enable Audiooption under
After creating the virtual machine with the above configuration, hit OK and exit the settings screen. Now, a number of extra options need to be set.
If you’re on Windows, you’ll need to
cd into the appropriate directory under the VirtualBox installation path to run
VBoxManage. For Linux users, this should be in your
PATH variable already:
After running the above commands, the VM should be ready to boot!
Step 4: Installation
This is where near enough everything I read stopped, despite there being one more problem in the way - UEFI.
Boot into the VM, go into Disk Utility and erase the virtual disk that you added to the machine.
After erasing the disk, start the installation procedure. After a short amount of time, it will reboot the VM.
Once it reboots, it’s going to boot back off the ISO again, once it’s done this, just shutdown the VM and eject the disk [the ISO] and then start the VM again to boot from disk.
On the next boot, it should boot into the installer that was copied to disk, but instead, you will be presented with a UEFI shell like below:
To continue the macOS installation, follow these steps:
exitand hit return
Boot Maintenance Managerand hit return
Boot From Fileand hit return
- You will see two partitions, select the second partition and hit return
macOS Install Dataand hit return
Locked Filesand hit return
Boot Filesand hit return
boot.efiand hit return
Mac Os Download For Virtualbox
After following these steps, you will boot into the remainder of the macOS installation. From here, just follow the steps as per a regular macOS installation.
The next time you boot your virtual machine, you will not have to go through the UEFI shell; it should work without any further problems.
Step 5: Tweaking The Resolution
As there is no VirtualBox additions for macOS, the screen resolution won’t automatically change. If you know what resolution you wish to use, however, you can set it manually.
Download Virtualbox Extension Pack
Ensure the virtual machine is powered off, and then run the following command; replacing
1920x1080 with whatever resolution you would like to use:
After running the above command, the next time you boot the machine, it will use the resolution specified.
Now, you should have a fully working macOS virtual machine!
Virtualbox Download 5.2.28
Virtualbox Download 5.2
Free Mac Iso For Virtualbox
Virtualbox 5.2.4 Download
Virtualbox For Windows 10 Pro
Oracle Virtualbox 5.2.34 Download
The information found in this post was pieced together from the following sources: