Mac OS is the secondmost popular operating system after Microsoft Windows. Although you arecomfortable using Windows for a very long time but there are many scenarioswhere you need a Mac OS machine.
Whether you want to develop your iOS app on Xcode, using apps like Final Cut Pro or iMovie which only comes on Mac OS, you need to buy an expensive Apple Macbook. So, without making a hole in your pocket, the alternate solution to this installing Mac OS on your Windows computer. Let’s get started with this tutorial
Watch Video Tutorial
I am running Windows 10 Pro in BootCamp on the new MacBook Pro 15' (Late 2016) with touchbar. When I go to add/remove Windows feature and enable Hyper-V the installation completes successfully. Hyper-V Server consists of the Windows Server Core and the Hyper-V role, which provides a PowerShell (PS) command line interface (CLI) to configure the hypervisor and OS settings; this simplifies. A guest is an operating system that runs on top of the virtual hardware. The operating system and processes that run the virtualized hardware are together called the host. Virtual hardware in the guest maps to specific resources on the host. Each virtual machine corresponds to a process on the host. I run a Hyper-V server running several Hyper-V VMs. I was wondering if there is any way for me to manage. The Hyper-V server itself (just Hyper-V role, not the rest of the server box) and; the Hyper-V VMs (like connecting into them) via Mac OS? I'm on Mac OS 10.8 on my main laptop.
Step One: Download Mac OS ISO Image file
As you are on a Windows PC, you don’t have access to Apple Store to download Mac OS. You need to download Mac OS from an external trusted source. You can download the latest Mac OS Catalina 10.15 or Mac OS Mojave 10.14 Installer files from our website.
Step Two: Download Virtual Machine for Windows
There is various free Virtual Machine software available for Windows such as Oracle’s VirtualBox. But I recommend using VMware Workstation Pro, although it’s a paid software but you can use it free for 30 days trial. You can download Vmware Workstation Pro 15 from this link.
Step Three: Install VMware Patch to run Mac OS X
- Go to the VMware macOS Unlocker page to download. Click the Clone or download button, then click Download ZIP.
- Power off all virtual machines running and exit VMware.
- Extract the downloaded .zip file in step 1.
- On Windows, right-click on the win-install.cmd file and select Run as Administrator to unlock. Also, run win-update-tools.cmd for VMware tools for macOS.
- After the unlock process is complete, run VMware to create the macOS virtual machine.
Step Four: Create an Apple Mac OS Virtual Machine
Run Mac Os In Hyper Version
- Click File, select New Virtual Machine…
- Select Typical (recommended) and click Next.
- Select I will install the operating system later. and click Next.
- Select Apple Mac OS X in the Guest operating system section and select macOS 10.14 in the Version section. Click Next.
- In the Name, the Virtual Machine window, name the virtual machine and virtual machine directory. I personally would put it on a different drive than the system drive.
- Select the size for the new virtual disk in the Specify Disk Capacity window. This is the virtual disk to be installed macOS. Click Next and then Finish.
Step Five: Run you Mac OS Virtual Machine with VMDK or ISO file
After successfully creating an Apple Mac OS Virtual Machine, you need to run the machine with an actual Mac OS file such as Mac OS Mojave 10.14 ISO file or Mac OS Mojave 10.14 VMDK Image
Watch this Video Tutorial
If you face any driver issues, Try installing VMware tools from the VM tab in the VMware window. Also, I would recommend assigning a minimum of 4GB RAM and 40GB of Hard Disk to your Virtual Machine.
That’s it for the tutorial If you face any issues or had any query then please let us know in the comment section below. You can also send us an email via the contact us page for personalized support.
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.
Run Mac Os In Hyper V
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
(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.
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:
'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.
Run Mac Os In Hyper V1
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!
Once this is complete and you filled all the required details in, congratulations! You’re running MacOS Mojave within Virtualbox!
❓ What works?
- Screen (No 3D).
- Regular input methods (mouse sharing).
- USB devices.
- Mac App Store.
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.
Additional youth awards. The Youth Awards was founded in 1998 by the Hispanic Heritage Foundation. Now entering its 22nd year, the Youth Awards honors Latino high school seniors who excel in the classroom and community and for their excellence in various categories including: Business & Finances, Engineering, Entrepreneurship, Education, Healthcare & Science, Media & Entertainment. Additional Youth Awards Rank Information Eagle Information Merit Badge Information Web Links Troop Leadership Live Event Updates! Pictures Troop Apparel Troop Traditions Contact Us Scoutbook FOR A QUICK LINK TO SCOUTBOOK TO CHECK. Additional Awards. I Dare You Award. Achievement Award: (Leaders May Nominate 4-H Members 14 and Older who exhibit outstanding 4-H Leadership and Involvement) Family of the Year: (Each Club May Nominate One Family) Additional Supporter Awards: Alumni Award. Friend of 4-H Award. About the Youth Awards: The Youth Awards was founded in 1998 by the Hispanic Heritage Foundation. Now entering its 22nd year, the Youth Awards honors Latino high school seniors who excel in the classroom and community and for their excellence in various categories including: Business & Finance, Engineering, Entrepreneurship, Education, Healthcare & Science, Media &.
🌟 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.
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 availableIf 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.
Run Mac Os In Hyper-v
I will retest this when WSL2 is launched.