Skip to content

lyh710/mac_in_win10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

mac_in_win10

Setup Mac OS within Windows 10 using VirtualBox

Mac OS version involved:

  • The below steps work for Big Sur
  • We tried for Monterey, but not working yet, will update if any progress

Steps:

  • Download and install VirtualBox as well as the corresponding VirtualBox Extension Pack for Windows 10 via: https://www.virtualbox.org/wiki/Downloads

  • Obtain the VirtualBOx ISO images for the macOS version we plan to install:

    • Generated from another Mac machine
    • Search Google
  • Luanch the VirtualBox and install the macOS ISO images as below:

    • click New

    • click Create

    Make sure to note the Name you input, which will be needed later on. We recommend to allocate at least half of the total Memory size for the VM.

    • set disk size

    Note we recommend to set at least 200GB hard disk size for the virtual macOS.

    • The initial virtual machine (by the Name you input above) should be setup by now, and we can continue with more Settings:

      • Settings

      • Settingssystem

      For System: - Remove "Floppy" as we don't need it - More importantly, we shall allocate no more than half of the "Processor" (CPU) we have in total, to maintain balanced performance between the host Windows 10 and the virtual Mac.

      • Settingsdisplay

      Note to set the Display memory to maximum

      • Settingsstorage

      Note to select the corresponding ISO image we have obtained.

      • SettingsUSB
  • Click OK once above is all done, and EXIT from the VirtualBox completely. This is important before we proceed with the below steps.

  • Obtain the VirtualBox code for the macOS version we plan to install (search Google):

    • VirtualBox_Code_BigSur.txt
    • VirtualBox_Code_Monterey.txt
  • Execute the above VirtualBox code via the command prompt of Windows 10 (as Administrator)

  • Luanch the VirtualBox again, select the MacOS VM we setup and click Start:

    • After initial loading
    • Go to Disk Utility and Erase the VBOX HARDDISK Media, for a clean install later on. You can pick a name for the new hard disk as you like, and go with Mac OS Extended format when asked.
    • Return back to the menu and go for **Install macOS Monterey". Follow the prompts and the process shall take about 30 mins.
  • Obtain the VirtualBox code for config the screen resolution after the macOS VM setup (search Google):

    • VirtualBox_Code_macOS_Screen_Resolution.txt
    • Exit the VirtualBox manager, and execute the code via command prompt of Windows 10.
  • Once the virtual MacOS completely setup, you may find issue trying to login your Apple ID. This can be solved by:

    • Within the VM MacOS, go for system --> Network --> Advanced
    • Click + on the DNS entries and input 8.8.4.4
    • You should be able to then log in your apple ID via the App Store (Not via the Settings)

Subsequent

  • Such VM setup is supposed to provide a MacOS for user to develop iOS app without a Windows 10 machine
  • With Big Sur installed, the corresponding XCode version will be relatively older

About

setup mac OS within windows 10 using VirtualBox

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors