Return to site

Mac Os For Virtual Box

broken image


Windows 10 is a great operating system. It has its quirks and annoyances, but which operating system doesn't? Even if you're beholden to Microsoft and Windows 10, you can still shop around.

Type (Mac OS X). Version (Mac OS X 64-bit). Memory 4 GB (recommended 8 GB or higher). Hard Disk: Select Use an existing virtual machine hard disk file. Click on the Folder icon to browse the macOS Catalina VMDK file. Click Add and select the Catalina VMDK image. If you're on Windows, need to use OS X, but don't want to buy or build a new computer, reader Bobby Patton shows us how to run Snow Leopard in a virtual machine on Windows with just a few tweaks. At this window click the Add button at the top. Then find and add the OSX86 ISO you downloaded earlier. Then highlight it and click Select at the bottom. Then click OK, and hit the Start button on the left side of the main VirtualBox window. Starting up Mac OS firstboot. While it boots, click inside the window and hit F8.

What better way to do that than from the safe confines of your existing operating system with a virtual machine? This way, you can run macOS on Windows, which is perfect when you want to use Mac-only apps on Windows.

So, here's how you install macOS in a virtual machine on Windows, making a virtual Hackintosh that lets you run Apple apps from your Windows machine.

What Files Do You Need to Create a macOS Virtual Machine on Windows 10?

Before delving into the 'how-to,' you need to download and install the essential tools. The tutorial details how to create macOS virtual machines using both Oracle VirtualBox Manager (VirtualBox) and VMware Workstation Player (VMware Player).

Not sure which to use? Learn more about the differences between VirtualBox and VMware.

  • Download the latest version of VirtualBox. The tutorial uses VirtualBox 6.1.4
  • Download the latest version of VMware Player. The tutorial uses VMware Player 15.0.4

You need a copy of macOS, too. Catalina is the latest macOS version. You can find the download links for macOS Catalina in the next section.

This tutorial will focus on installing macOS Catalina in a virtual machine running on Intel hardware, using either VirtualBox or VMware Player.

Mac Os For Virtual Box

Unfortunately, I do not have access to any AMD hardware, so I cannot provide a tutorial.

There is, however, the code snippet that anyone using an AMD system requires to boot a macOS Catalina using VMware on AMD hardware.

The process to launch the macOS Catalina virtual machine is the same as the Intel version but uses a slightly different code snippet. You can find the tutorial and the code snippet in the section below.

Furthermore, you will find links to several AMD macOS Catalina, Mojave, and High Sierra virtual machine tutorials, at the end of the article.

Download macOS Catalina Virtual Image

Use the following links to download macOS Catalina for both VirtualBox and VMware.

If the Google Drive reaches its download limit, right-click the file and select Copy to create a copy in your own Google Drive. You can then download the macOS Catalina virtual image from there.

Please note that these links may stop working from time to time. If that is the case, please leave a comment, and I'll fix them as soon as possible.

After the virtual image finishes downloading, right-click, and extract the file using your favorite archive tool. For instance, right-click, then select 7-Zip > Extract to 'macOS Catalina.'

How to Create a macOS Catalina Virtual Machine with VirtualBox

Before creating the macOS virtual machine, you need to install the VirtualBox Extension Pack. It includes fixes for USB 3.0 support, mouse and keyboard support, and other useful VirtualBox patches.

Download: VirtualBox Extension Pack for Windows (Free)

Scroll down, select All supported platforms to download, then double-click to install.

Create the macOS Catalina Virtual Machine

Open VirtualBox. Select New. Type macOS.

VirtualBox will detect the OS as you type and will default to Mac OS X. You can leave this as is.

Regarding the virtual machine name, make it something memorable yet easy to type. You'll need to input this name in a series of commands, and it is frustrating to type a complicated name multiple times!

Next, set the amount of RAM the macOS virtual machine can use. I would suggest a minimum of 4GB, but the more you can give from the host system, the better your experience will be.

Remember, you cannot assign more RAM than your system has available, and you need to leave some memory available for the host operating system. Learn more about how much RAM does a system need?

Now, you need to assign a hard disk, which is the virtual image downloaded previously. Select Use an existing virtual hard disk file, then select the folder icon. Browse to the VMDK file, then select Create.

Edit the macOS Catalina Virtual Machine Settings

Don't try and start your macOS Catalina virtual machine yet. Before firing the virtual machine up, you need to make a few tweaks to the settings. Right-click your macOS virtual machine and select Settings.

Under System, remove Floppy from the boot order. Ensure the Chipset is set to ICH9.

Select the Processor tab. Assign two processors. If you have a CPU with power to spare (such as an Intel Core i7 or i9 with multiple extra cores), consider assigning more. However, this isn't vital.

Make sure the Enable PAE/NX box is checked.

Under Display, set Video Memory to 128MB.

Now, under Storage, check the box alongside Use Host I/O Cache.

Finally, head to the USB tab and select USB 3.0, then press OK.

Use Command Prompt to Add Custom Code to VirtualBox

It still isn't quite time to fire up your macOS Catalina virtual machine. In its current configuration, VirtualBox doesn't work with your macOS VMDK.

To get it up and running, you have to essentially patch VirtualBox before the macOS virtual machine will function. To do this, you need to enter some code using the Command Prompt. All the details are below.

Start by closing VirtualBox. The commands will not execute properly if VirtualBox or any of its associated processes are running.

Once closed, press Windows Key + X, then select Command Prompt (Admin) from the menu.

If your menu only shows the PowerShell option, type command into your Start menu search bar. Then right-click the Best Match, and select Run as Administrator.

The following code works for VirtualBox 5.x and 6.x.

Use the following command to locate the Oracle VirtualBox directory:

Now, enter the following commands, one by one. Adjust the command to match the name of your virtual machine. For instance, my virtual machine name is 'macoscat.' Here are the commands:

After the completion of the commands, and presuming you encountered no errors, close the Command Prompt.

Boot Your macOS Mojave Virtual Machine

Reopen VirtualBox. Double-click your macOS virtual machine to start it. You will see a long stream of text, followed by a gray screen.

The gray screen can take a moment or two to clear, but don't panic. Once the screen clears, macOS Catalina will begin installing. When it resolves, you will arrive at the macOS 'Welcome' screen.

From here, you can set your macOS Mojave virtual machine up as you see fit.

Pro Tip: Take a snapshot of your virtual machine once it passes the gray screen. If anything goes wrong down the line, you can return to the Welcome screen setup and start the process again.

Once you complete the macOS setup, take another one so you can jump straight into your macOS installation. Head to Machine > Take Snapshot, give your snapshot a name, and wait for it to process.

How to Create a macOS Catalina Virtual Machine Using VMware Workstation Player

Prefer VMware over VirtualBox? You can create a macOS Catalina virtual machine using VMware that works exactly the same as VirtualBox. And, just as with VirtualBox, VMware also requires patching before the macOS Catalina virtual machine will work.

This part of the tutorial works for Intel and AMD systems. AMD users must use the second code snippet when editing the virtual machine VMX file. Read through the tutorial to see what this means exactly.

Patch VMware Workstation Player

In the 'macOS Catalina Virtual Image' section is the VMware Player Patch Tool. Before commencing any further, download the patch tool.

Then, browse to the location you downloaded the patch tool to. Extract the contents of the archive. This process works best when the folders are on the same drive (e.g., the VMware root folder and extracted archive are both found on the C: drive).

Make sure VMware is completely closed. Now, in the patcher folder, right-click the win-install command script and select Run as Administrator. The script will open a Command Prompt window, and the patch-script will run.

Mac

Do pay attention. The script whizzes by, and you need to keep watch for any 'File not Found' messages.

The most common reason for a 'file not found' or a 'system cannot find the file specified' message is installing VMware Workstation Player in a different location to the default folder, and executing the patch from a different directory.

Once the patch completes, you can open VMware.

Create the macOS Catalina Virtual Machine with VMware

Select Create a New Virtual Machine. Choose I will install the operating system later.

Now, select Apple Mac OS X, and change the Version to macOS 10.14. If you don't see the macOS options, it is because the patch didn't install correctly.

Next, you need to choose a name for your macOS Catalina virtual machine. Choose something easy to remember, then copy the file path to somewhere handy—you're going to need it to make some edits in a moment.

On the next screen, stick with the suggested maximum hard disk size, then select Store virtual disk as a single file. Complete the virtual disk creation wizard, but do not start the virtual machine just yet.

Edit the macOS Mojave Virtual Machine Settings

Before you can boot the virtual machine, you must edit the hardware specifications. Plus, you need to tell VMware where to find the macOS VMDK.

From the main VMware screen, select your macOS Catalina virtual machine, then right-click, and select Settings.

Like VirtualBox, bump the virtual machine memory up to at least 4GB. You can allocate more if you have RAM to spare.

Macos

Unfortunately, I do not have access to any AMD hardware, so I cannot provide a tutorial.

There is, however, the code snippet that anyone using an AMD system requires to boot a macOS Catalina using VMware on AMD hardware.

The process to launch the macOS Catalina virtual machine is the same as the Intel version but uses a slightly different code snippet. You can find the tutorial and the code snippet in the section below.

Furthermore, you will find links to several AMD macOS Catalina, Mojave, and High Sierra virtual machine tutorials, at the end of the article.

Download macOS Catalina Virtual Image

Use the following links to download macOS Catalina for both VirtualBox and VMware.

If the Google Drive reaches its download limit, right-click the file and select Copy to create a copy in your own Google Drive. You can then download the macOS Catalina virtual image from there.

Please note that these links may stop working from time to time. If that is the case, please leave a comment, and I'll fix them as soon as possible.

After the virtual image finishes downloading, right-click, and extract the file using your favorite archive tool. For instance, right-click, then select 7-Zip > Extract to 'macOS Catalina.'

How to Create a macOS Catalina Virtual Machine with VirtualBox

Before creating the macOS virtual machine, you need to install the VirtualBox Extension Pack. It includes fixes for USB 3.0 support, mouse and keyboard support, and other useful VirtualBox patches.

Download: VirtualBox Extension Pack for Windows (Free)

Scroll down, select All supported platforms to download, then double-click to install.

Create the macOS Catalina Virtual Machine

Open VirtualBox. Select New. Type macOS.

VirtualBox will detect the OS as you type and will default to Mac OS X. You can leave this as is.

Regarding the virtual machine name, make it something memorable yet easy to type. You'll need to input this name in a series of commands, and it is frustrating to type a complicated name multiple times!

Next, set the amount of RAM the macOS virtual machine can use. I would suggest a minimum of 4GB, but the more you can give from the host system, the better your experience will be.

Remember, you cannot assign more RAM than your system has available, and you need to leave some memory available for the host operating system. Learn more about how much RAM does a system need?

Now, you need to assign a hard disk, which is the virtual image downloaded previously. Select Use an existing virtual hard disk file, then select the folder icon. Browse to the VMDK file, then select Create.

Edit the macOS Catalina Virtual Machine Settings

Don't try and start your macOS Catalina virtual machine yet. Before firing the virtual machine up, you need to make a few tweaks to the settings. Right-click your macOS virtual machine and select Settings.

Under System, remove Floppy from the boot order. Ensure the Chipset is set to ICH9.

Select the Processor tab. Assign two processors. If you have a CPU with power to spare (such as an Intel Core i7 or i9 with multiple extra cores), consider assigning more. However, this isn't vital.

Make sure the Enable PAE/NX box is checked.

Under Display, set Video Memory to 128MB.

Now, under Storage, check the box alongside Use Host I/O Cache.

Finally, head to the USB tab and select USB 3.0, then press OK.

Use Command Prompt to Add Custom Code to VirtualBox

It still isn't quite time to fire up your macOS Catalina virtual machine. In its current configuration, VirtualBox doesn't work with your macOS VMDK.

To get it up and running, you have to essentially patch VirtualBox before the macOS virtual machine will function. To do this, you need to enter some code using the Command Prompt. All the details are below.

Start by closing VirtualBox. The commands will not execute properly if VirtualBox or any of its associated processes are running.

Once closed, press Windows Key + X, then select Command Prompt (Admin) from the menu.

If your menu only shows the PowerShell option, type command into your Start menu search bar. Then right-click the Best Match, and select Run as Administrator.

The following code works for VirtualBox 5.x and 6.x.

Use the following command to locate the Oracle VirtualBox directory:

Now, enter the following commands, one by one. Adjust the command to match the name of your virtual machine. For instance, my virtual machine name is 'macoscat.' Here are the commands:

After the completion of the commands, and presuming you encountered no errors, close the Command Prompt.

Boot Your macOS Mojave Virtual Machine

Reopen VirtualBox. Double-click your macOS virtual machine to start it. You will see a long stream of text, followed by a gray screen.

The gray screen can take a moment or two to clear, but don't panic. Once the screen clears, macOS Catalina will begin installing. When it resolves, you will arrive at the macOS 'Welcome' screen.

From here, you can set your macOS Mojave virtual machine up as you see fit.

Pro Tip: Take a snapshot of your virtual machine once it passes the gray screen. If anything goes wrong down the line, you can return to the Welcome screen setup and start the process again.

Once you complete the macOS setup, take another one so you can jump straight into your macOS installation. Head to Machine > Take Snapshot, give your snapshot a name, and wait for it to process.

How to Create a macOS Catalina Virtual Machine Using VMware Workstation Player

Prefer VMware over VirtualBox? You can create a macOS Catalina virtual machine using VMware that works exactly the same as VirtualBox. And, just as with VirtualBox, VMware also requires patching before the macOS Catalina virtual machine will work.

This part of the tutorial works for Intel and AMD systems. AMD users must use the second code snippet when editing the virtual machine VMX file. Read through the tutorial to see what this means exactly.

Patch VMware Workstation Player

In the 'macOS Catalina Virtual Image' section is the VMware Player Patch Tool. Before commencing any further, download the patch tool.

Then, browse to the location you downloaded the patch tool to. Extract the contents of the archive. This process works best when the folders are on the same drive (e.g., the VMware root folder and extracted archive are both found on the C: drive).

Make sure VMware is completely closed. Now, in the patcher folder, right-click the win-install command script and select Run as Administrator. The script will open a Command Prompt window, and the patch-script will run.

Do pay attention. The script whizzes by, and you need to keep watch for any 'File not Found' messages.

The most common reason for a 'file not found' or a 'system cannot find the file specified' message is installing VMware Workstation Player in a different location to the default folder, and executing the patch from a different directory.

Once the patch completes, you can open VMware.

Create the macOS Catalina Virtual Machine with VMware

Select Create a New Virtual Machine. Choose I will install the operating system later.

Now, select Apple Mac OS X, and change the Version to macOS 10.14. If you don't see the macOS options, it is because the patch didn't install correctly.

Next, you need to choose a name for your macOS Catalina virtual machine. Choose something easy to remember, then copy the file path to somewhere handy—you're going to need it to make some edits in a moment.

On the next screen, stick with the suggested maximum hard disk size, then select Store virtual disk as a single file. Complete the virtual disk creation wizard, but do not start the virtual machine just yet.

Edit the macOS Mojave Virtual Machine Settings

Before you can boot the virtual machine, you must edit the hardware specifications. Plus, you need to tell VMware where to find the macOS VMDK.

From the main VMware screen, select your macOS Catalina virtual machine, then right-click, and select Settings.

Like VirtualBox, bump the virtual machine memory up to at least 4GB. You can allocate more if you have RAM to spare.

Under Processors, edit the number of available cores to 2.

Now, under Hard Disk (SATA), you need to remove the hard disk created earlier. Select Remove and VMware will remove the disk automatically.

Now, select Add > Hard Disk > SATA (Recommended)> Use an existing disk. Browse to the location of the macOS VMDK and select it.

Edit the macOS Catalina VMX File for Intel Hardware

This section is for Intel users and it involves the final set of edits you need to make before switching your VMware macOS Catalina virtual machine on!

Close VMware. Head to the location you stored the macOS virtual machine. The default location is:

Browse to macOS.vmx, right-click, and select Open with…, select Notepad (or your preferred text editor). Scroll to the bottom of the configuration file and add the following line:

Save, then Exit.

You can now open VMware, select your macOS Mojave virtual machine, and fire it up!

Edit the macOS Catalina VMX File for AMD Hardware

This section is for AMD users. Like the above section, AMD users must also edit the VMX file before proceeding. The AMD edit involves a few more lines than the Intel version, but you can copy and paste the data into the file.

Close VMware. Head to the location you stored the macOS virtual machine. The default location is:

Browse to macOS.vmx, right-click, and select Open with…, select Notepad (or your preferred text editor). Scroll to the bottom of the configuration file and add the following lines:

Save, then Exit.

You can now open VMware, select your macOS Mojave virtual machine, and fire it up!

Install VMware Tools to Your macOS Catalina Virtual Machine

You now need to install VMware Tools, which is a set of utilities and extensions that improve mouse handling, video performance, and other useful things.

With the macOS virtual machine running, head to Player > Manage > Install VMware Tools.

The installation digavsc will appear on the macOS desktop. When the option appears, select Install VMware Tools, then allow it access to the removable volume. Follow the guided installer, which will require a restart on completion.

Troubleshooting

There are a couple of things that can go wrong during the macOS virtual machine installation in VMware Player Workstation.

  1. If you cannot see 'Apple Mac OS X' during the virtual machine creation wizard, then you need to revisit the patch process. Ensure every process associated with VMware Player is off.
  2. If you receive the message 'Mac OS X is not supported with binary translation' when starting the virtual machine, there is a strong chance you need to activate virtualization in your BIOS/UEFI configuration.
  3. If you receive the message 'VMware Player unrecoverable error: (vcpu-0)' when starting the virtual machine, you need to head back to the macOS.vmx configuration file to ensure you added the extra line and saved the edit.
  4. If you're running AMD hardware and get stuck at the Apple logo, first power off the virtual machine. Now, head to Settings > Options > General. Change the Guest operating system to Microsoft Windows, and the Version to Windows 10 x64. Press OK, then attempt to power up the virtual machine again. Once the Apple logo passes, power down the virtual machine, then set the Guest operating system option back to Apple Mac OS X, selecting the correct version.

macOS Virtual Machines for AMD Hardware

Apple uses Intel hardware to power desktops and laptops. Configuring a macOS virtual machine using Intel hardware is easier because the hardware specifications are very similar.

With AMD, the opposite is true. Because Apple does not develop macOS on AMD hardware, creating a macOS virtual machine on an AMD system is trickier.

Adding to this, I don't have an AMD system to test macOS virtual machines on, so I cannot give you a detailed tutorial. I can, however, point you in the direction of several macOS AMD virtual machine tutorials that do work, so long as you are patient and follow each step accordingly.

  • Mojave AMD Vanilla Guide From Windows via AMD OS X
  • High Sierra 10.13.1 VM for VMware Player for Ryzen/FX/APU via AMD OS X
  • Mojave AMD VirtualBox via AMD OS X

The AMD OS X forum is a great resource for macOS virtual machines. You can find many more forum threads regarding AMD macOS virtual machines, too.

macOS Catalina Virtual Machine Installation Complete

You have two options to choose from for your macOS Catalina virtual machine. Both options are great if you want to give macOS a try before making the switch from Windows and enjoy some of the best Apple apps on offer.

You can use a virtual machine to test other operating systems too. For instance, here's how to install a Linux distro in a virtual machine.

Mac Os For Virtualbox

Are you looking to learn more about virtual machines?

Check out our VirtualBox User's Guide, which teaches everything you need to know, or our guide to creating a virtual machine using Windows 10 Hyper-V.

Read the full article: How to Run macOS on Windows 10 in a Virtual Machine

You can run MacOS in Virtualbox. Because? Because.

In the pursuit of Hackintosh, you need a Mac. That's well and great, but I didn't want to screw around with my partner's Macbook. So what if you want to sandbox something? Virtualbox!

I had no expectations that this was going to work. OS X has always been runnable in Virtualbox for a while, but the performance has normally been lacklustre. While it's not exactly daily-driver level, the performance in Virtualbox wasn't too bad!

The macOS Virtualbox option is designed for genuine Apple hardware. You will not get community support from Virtualbox if you have trouble with this process, as it's against Apple ToS.

🤔️ What do I need?

You need a donor Mac to start this process. You will not need access to it permanently, but just during the process of creating an ISO for your VM to setup with. Else, you need:

  • A Mac to create an ISO with.
  • MacOS Mojave installer from the Mac App Store.
  • Virtualbox (Windows, Linux or MacOS).
    • Virtualbox Extension Pack is required.
  • At least 4GB of RAM (8GB or more recommended).
  • 40GB of free disk space (more preferred).
  • 2 core CPU or more.

This guide will discuss installing MacOS Mojave, however installation process should be similar for all MacOS versions.

⚠️ At the time of writing, Virtualbox and Hyper-V cannot co-exist on Windows. MacOS is also not installable on Hyper-V. I use Linux in my screenshots as I use Docker on Windows. This also includes Windows Subsystem for Linux, which tripped me up from installing.

💿️ Creating the ISO

Virtualbox installs generally prefer to use an ISO file, which unfortunately will require some handiwork to get a hold of. Persevere and you will get there!

On the MacOS machine, download the Mojave installer. Don't worry about actually running this application, as we're going to use some terminal magic to build the ISO from the package.

This process is not affected by MacOS Installer expiry.If your MacOS installer has expired, you can continue with this guide.

Once the package has been downloaded, pop open Terminal (Utilities folder in Launcher), and run the following commands:

hdiutil create -o /tmp/Mojave.cdr -size 8000m -layout SPUD -fs JHFS+

This will create a virtual ‘disc' stored in your temporary directory. This is what we'll stuff the Mojave installation stuff into.

hdiutil attach /tmp/Mojave.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/installer_goes_here

Now MacOS can ‘see' your disc as an actual disc, ready for writing to!

asr restore -source /Applications/Install macOS Mojave.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/installer_goes_here -noprompt -noverify -erase

We're now grabbing the installation DMG from within the updater package, and storing it within the disc image. This will rename the disc image, so don't panic that ‘installer_goes_here' has vanished.

Now, detach the image from our MacOS. You can just eject it like regular DMGs. If not, run the command:

hdiutil detach /Volumes/OS X Base System

Macos For Virtualbox Iso

(it may change since OS X is legacy. To check, run ls /Volumes and see if it's there, renamed).

Now for the final process, let's convert our CDR image to an ISO!

hdiutil convert /tmp/Mojave.cdr.dmg -format UDTO -o ~/Desktop/Mojave.iso

You should now have a file on the Mac desktop called ‘Mojave.iso'. Congratulations, you have your installation disc! Copy this over to where your Virtualbox is setup. The Mac is no longer needed at this point.

🛠️ Setting up Virtualbox

⚠️ Before continuing, install the Virtualbox Extension Pack, if you haven't already. This comes with a special USB 3 driver that without, the Mac simply won't see USB devices.

Virtualbox has the option for a MacOS virtual machine in it's New VM dialog, but we will need to make further adjustments to make it truly Mac-ready.

Download Mac Os For Virtualbox

Pop open Virtualbox, and Create a new Virtual Machine. Name this MacOS Mojave, and set it to Mac OS X (64-bit).

Set the RAM to 4096 MB (or higher if you can achieve it!).

When creating the disk, you can use either format versions. Dynamic will not immediately take up the storage size you chose, whereas Static immediately reserves the chosen size for the VM. The latter is slightly better for performance.

Now you should have a new, primed MacOS machine. But you will need to run some commands now. This can be hit-and-miss, and may require some Google-fu. The following works for my AMD FX computer:

Windows? Change VBoxManage to 'C:Program FilesOracleVirtualBoxVBoxManage.exe' (if you didn't change your Virtualbox install location).

The above does the following, in order of command:

  • Sets a known CPU ID set that MacOS will recognise.
  • Especially for AMD machines, changes what MacOS sees as your processor to something it supports.
  • Tells MacOS you're installing Mojave onto a mid-2010 iMac. You can change this to your preference.
  • These two specify a fake DMI, typically found in Apple PCs.
  • A device key to pass system checks.

Before starting the VM, open the VM settings and make the following changes:

  • System > Processor > Processor(s) is 2 or more.
  • System > Acceleration > uncheck Enable Nested Paging.
  • Display > Screen > Video Memory is 128MB.
  • USB > USB 3.0 Controller.
    • If greyed/not there, you did not install additions.

Mac Os X Iso Download For Virtualbox

With all that done, we're ready to start the VM!

You should be greeted with the following screen:

Click on the folder icon, and find your ISO created on the Mac before, then click Start.

And wait. yes, this process takes a long time. If your installation stops, try googling the last output message to see if there is a community fix, or post below… Otherwise, this is generally a slow process.

If all has gone well, you should be greeted by the MacOS installer language selection. If so, you're almost there! On the top menu, open Utilities > Disk Utility.

There should be a disk named VBOX HARDDISK or similar. This is the VDI you created during the setup process, and not your actual hard drive. So go ahead and full-erase this disk, with Mac OS Extended (Journaled) and GUID Partition Map.

Once the disk formatting has completed, close it down. You should now be able to start the installation!

Mac Os For Windows Virtual Box

Once this is complete and you filled all the required details in, congratulations! You're running MacOS Mojave within Virtualbox!

👍️ What works?

✔️ Does

  • Screen (No 3D).
  • Regular input methods (mouse sharing).
  • Networking.
  • USB devices.
  • Mac App Store.

Virtualbox Mac Os Download

At the end of the day it's still a virtual machine, and a technically unsupported one at that. However, considering the matter it's still impressive how Virtualbox can cope with MacOS.

Files can be shared using typical Windows share features. If you share a folder on your network from your host machine, your Mac VM should be able to connect to it.

🌟️ Special Thanks

This required a lot of Googling, and these are the people who saved me at the end of the process!

  • This How-to Geek article, that started this whole process. They have a much better step-by-step guide on this!
  • Forchia on Reddit for a different instruction set.
  • miranhasan on Reddit for AMD processors.
  • kvotheV on Reddit for disabling nested paging.

🐛 Troubleshooting

You get Guru Meditation, 'A critical error has occurred while running the virtual machine and the machine execution has been stopped' when machine gets to RandomSeed.

This is a difficult one, and will require investigation. I checked the logs as the error message said, and discovered:

HM: HMR3Init: Attempting fall back to NEM: AMD-V is not available

If you're on an Intel processor, it'll likely say VT-x instead.

Obviously, check if this is enabled. If you're on a legacy BIOS computer, it's a straightfoward scan for AMD-V/VT-x in your settings. If it's UEFI, you're gonna have to Google it.

Strangely, on my machine it was enabled. Supposedly Virtualbox and Hyper-V can run side-by-side, so at this point I decided to remove Hyper-V, to see if that would improve. It didn't, but I forgot something. For this to work, you must turn off Windows Subsystem for Linux!

I completely forgot that WSL uses Hyper-V, and apparently still does when it's disabled. Unfortunately, it would seem (for me at least) you need to trade it off for macOS in Virtualbox.

I will retest this when WSL2 is launched.





broken image