How to Make a Hackintosh in a Virtualbox

Download ArticleDownload Article

Are there apps you want to try for macOS, but you're not ready to invest in a Mac computer? One way to try Mac apps without buying a Mac is to install macOS on a virtual machine. A Virtual Machine allows you to run other computer operating systems inside another computer. This How.com.vn teaches you how to install macOS in VirtualBox.

Part 1
Part 1 of 4:

Downloading The Files You Need

Download Article
  1. How.com.vn English: Step 1 Download VirtualBox.
    VirtualBox is a virtual machine program developed by Oracle. Use the following steps to download and install VirtualBox:
    • Go to https://www.virtualbox.org/wiki/Downloads in a web browser.
    • Click Windows hosts below "VirtualBox 6.1.18 platform packages."
    • Click the VirtualBox ".exe" file in your web browser or Downloads folder.
    • Click Next.
    • Click Browse to select an install location and click Next (it's recommended you allow it to install at the default location).
    • Click Next.
    • Click Yes to acknowledge it may temporarily disconnect your internet.
    • Click Install.
  2. How.com.vn English: Step 2 Download VirtualBox Expansion Pack.
    You will also need to download and install the VirtualBox expansion pack. This contains fixes for USB 3.0 keyboard and mouse support. Use the following steps to download and install the Virtual Box Expansion Pack:
    • Go to https://www.virtualbox.org/wiki/Downloads in a web browser.
    • Scroll down and click All supported platforms below "VirtualBox 6.1.18 Oracle VM VirtualBox Extension Pack."
    • Double-click the expansion pack file in your web browser or Downloads folder to install it.
    • Click Install.
    • Scroll down the to bottom of the text and click I agree.
    Advertisement
  3. How.com.vn English: Step 3 Download macOS Catalina.
    MacOS Catalina is the latest version of macOS. You may need to extract the image from the zip file using WinRAR, WinZip, or 7-Zip. You can download macOS Catalina from one of the following sources:
  4. Advertisement
Part 2
Part 2 of 4:

Creating a New Virtual Machine

Download Article
  1. How.com.vn English: Step 1 Open VirtualBox and create a new virtual machine.
    Use the following steps to create a new virtual machine in VirtualBox:
    • Open VirtualBox.
    • Click New below the gear icon at the top.
    • Click the arrow pointing down next to "Machine Folder" and select a folder to install the virtual machine.
    • Use the drop-down menu next to "Type" to select "MacOS X."
    • Use the drop-down menu next to "Version" to select "MacOS X (64-bit)."
    • Click Next.
  2. How.com.vn English: Step 2 Select how much memory you want the virtual machine to have and click Next.
    Use the slider bar to adjust how much memory you want the virtual machine to have. You can also type the amount of memory you want to allow the virtual machine to have in MB. It is recommended that you allow at least 4 GB (4000 MB) or memory. The more memory you allow it to have, the better the virtual machine will run.
    • You cannot assign more memory than your computer has.
  3. Step 3 Select "Use existing virtual hard disk file."
    It's the last radio option below "Hard Disk". This displays a folder icon next to this option.
  4. How.com.vn English: Step 4 Select your macOS image file.
    To do this, click the radio option next to "Use existing virtual hard disk file" and click navigate to the disk image for macOS that you downloaded. Click it and then click Choose.
  5. How.com.vn English: Step 5 Click Create.
    It's in the lower-right corner. This creates a new virtual machine.
  6. Advertisement
Part 3
Part 3 of 4:

Adjusting the Virtual Machine Settings

Download Article
  1. How.com.vn English: Step 1 Select the macOS virtual machine.
    Click the name of the virtual machine you just created in the panel to the left to select it.
  2. How.com.vn English: Step 2 Click the Settings icon.
    It's the icon that resembles a gear at the top of the page.
  3. How.com.vn English: Step 3 Click System.
    It's the second option in the menu bar to the left. This displays your system settings.
  4. Step 4 Uncheck "Floppy."
    It's the first option in the box labeled "Boot order." This will ensure that the virtual machine doesn't try to boot from a floppy disk.
  5. Step 5 Ensure "ICH9" is selected as the chipset.
    If the drop-down menu next to "Chipset" does not read "ICH9", click the drop-down menu and select "ICH9."
  6. How.com.vn English: Step 6 Click the Processor tab.
    It's the second tab at the top of the screen under the "System" menu.
    • If you have a multi-core processor with cores to spare (such as a Core i7 or i9), you can assign it 2 or more cores to allow more processing power.
  7. Step 7 Ensure the box next to "Enable PAE/NX" is checked.
    It's at the bottom of the screen next to "Extended Features."
  8. How.com.vn English: Step 8 Click Display.
    It's next to an icon that resembles a computer monitor in the menu bar to the left.
  9. Step 9 Set "Video Memory" to "128 MB."
    Simply drag the slider bar next to "Video Memory" all the way to the right to set the video memory to 128 MB.
  10. How.com.vn English: Step 10 Click Storage.
    It's next to an icon that resembles a mechanical hard drive in the menu bar to the left.
  11. Step 11 Check the box next to "Use Host I/O Cache."
    It's below "Port Count" in the panel that's furthest to the right.
  12. How.com.vn English: Step 12 Click USB.
    It's next to an icon that resembles a USB plug in the menu bar to the left.
  13. Step 13 Select "USB 3.0".
    Click the radio option next to "USB 3.0" to enable USB 3.0 ports inside the virtual machine.
  14. How.com.vn English: Step 14 Click Ok.
    It's in the lower-right corner of the screen. This saves all your settings.
  15. Advertisement
Part 4
Part 4 of 4:

Patching the Virtual Machine

Download Article
  1. How.com.vn English: Step 1 Open the Command Prompt as an administrator.
    You'll need to patch the virtual machine manually before it can run macOS. You will need to do this from the Command Prompt. Use the following steps to open the Command Prompt with administrative privileges:
    • Click the Windows Start menu.
    • Type CMD.
    • Right-click the Command Prompt icon and click Run as administrator.
    • Click Yes.
  2. How.com.vn English: Step 2 Change the directory to the program folder for VirtualBox.
    Type cd followed by the location of the program folder for VirtualBox. By default, the VirtualBox installs to "C:\Program Files\Oracle\VirtualBox\". If this is where it is located on your PC, you would type cd "C:\Program Files\Oracle\VirtualBox\". If this is not where VirtualBox is installed, open File Explorer and search for "VBoxManage.exe" and change the directory to the location of this file.
  3. How.com.vn English: Step 3 Enter the following commands with the name of your virtual machine.
    Enter each of the following commands one at a time and press "Enter.". Replace [vm_name] with the actual name of your virtual machine. Once you are done with this step, you can fire up your virtual machine. Just click the virtual machine inside VirtualBox and click Start. The commands are as follows:
    • VBoxManage.exe modifyvm "[vm_name]" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
    • VBoxManage setextradata "[vm_name]" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
    • VBoxManage setextradata "[vm_name]" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
    • VBoxManage setextradata "[vm_name]" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
    • VBoxManage setextradata "[vm_name]]" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
    • VBoxManage setextradata "[vm_name]" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
  4. Advertisement


Video

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Warnings

      • Apple does not allow Mac OS X to be installed on non-Apple hardware. Doing so will void Apple's End User License Agreement.



      Advertisement

      About This Article

      How.com.vn English: Travis Boylls
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for How.com.vn. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College. This article has been viewed 165,648 times.
      How helpful is this?
      Co-authors: 17
      Updated: October 1, 2023
      Views: 165,648
      Categories: Mac
      Thanks to all authors for creating a page that has been read 165,648 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement