Running a Mac OSX VM in Virtualbox 🌱

  1. Locate a Mac OSX Catalina iso
  2. Launch Virtualbox
  3. Create a New VM by selecting Machine > New

    Name: MAC OSX
    Machine Folder: C:\VMs
    Type: MAC OS X
    Version: Mac OS X (64-bit)
    Memory Size: 4096 MB
    Hard disk: Create a virtual hard disk now

  4. Click Create
  5. On the Create Virtual Hard Disk dialog

    Name the virtual disk image MAC OSX.vdi
    File size: 60.00 GB
    Hard disk file type: VDI
    Storage on physical hard disk: Dynamically Allocated

  6. Click Create
  7. Select the VM and Click Settings
  8. Select System > Click the Processor tab > Set Processor(s) to at least 2
  9. Select Display > Slide Video Memory to 128 MB
  10. Select USB > Select USB 3.0
  11. Select Storage > Create a new SATA Controller
  12. Click the Choose disk button on the optical drive
  13. Click the Add button > Browse to and select the MAC OSX .iso file
  14. Click Choose
  15. Click OK
  16. Right Click the Start Button > Command Prompt (Admin) > Paste in the following commands
    cd "%programfiles%\Oracle\VirtualBox\"
    VBoxManage.exe modifyvm "MAC OSX" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
    VBoxManage setextradata "MAC OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
    VBoxManage setextradata "MAC OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
    VBoxManage setextradata "MAC OSX" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
    VBoxManage setextradata "MAC OSX" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
    VBoxManage setextradata "MAC OSX" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
  17. If you are running an AMD processor also run the following command:
    VBoxManage modifyvm "MAC OSX" --cpu-profile "Intel Core i7-6700K"
  18. Make sure the MAC OSX VM is selected and click Start > Normal
  19. After a long initialization sequence the OSX Setup should start
  20. Select a language > Click the arrow
  21. Select Disk Utility
  22. Select the VBOX HARDDISK > Click Erase
  23. Name the drive OSX > Click Erase
  24. Click Done > Close Disk Utility
  25. Click Install macOS
  26. Click Continue, Click Agree
  27. Select the OSX disk > Click Install
  28. Wait while OSX installs files, the VM will reboot several times
  29. Select your Country > Click Continue
  30. Confirm your languages and keyboard layout > Click Continue
  31. Click Continue on the Data & Privacy screen
  32. Select Don't transfer any information now > Click Continue
  33. Select Set Up Later > Click Continue > Click Skip
  34. Click Agree > Agree again
  35. Enter a name, user name, password > Click Continue
  36. Click Customize Settings
  37. Click Continue > Select Use or Don't Use for Location Services
  38. Pick a timezone > Click Continue
  39. Uncheck the Send Mac Analytics box > Click Continue
  40. Click Set Up Later on the Screen Time screen
  41. Uncheck the Enable Ask Siri box > Click Continue
  42. Pick a theme > Click Continue
  43. Welcome to OSX