|
| 1 | +# Install macOS Big Sur on VirtualBox (Windows 10/11) |
| 2 | + |
| 3 | +A complete step-by-step guide to install macOS Big Sur using VirtualBox on a Windows system. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## Minimum System Requirements |
| 8 | + |
| 9 | +| Component | Requirement | |
| 10 | +| ------------ | ----------------- | |
| 11 | +| OS | Windows 10/11 | |
| 12 | +| CPU | 8 Core | |
| 13 | +| RAM | 16 GB | |
| 14 | +| Storage | 100 GB free space | |
| 15 | +| Connectivity | Internet Access | |
| 16 | + |
| 17 | +--- |
| 18 | + |
| 19 | +## Step 1: Download Required Tools |
| 20 | + |
| 21 | +### VirtualBox & Extension Pack |
| 22 | + |
| 23 | +* **Download Link:** [VirtualBox Download Page](https://www.virtualbox.org/wiki/Downloads) |
| 24 | + |
| 25 | +Ensure you also download the **VirtualBox Extension Pack** corresponding to your VirtualBox version. |
| 26 | + |
| 27 | +### macOS Big Sur ISO |
| 28 | + |
| 29 | +* **Recommended Version:** Big Sur (others may fail) |
| 30 | +* **Download Link:** [macOS Big Sur ISO – Archive.org](https://archive.org) |
| 31 | + |
| 32 | +--- |
| 33 | + |
| 34 | +## Pre-Configuration: Disable Memory Integrity & Hyper-V |
| 35 | + |
| 36 | +### 1. Disable Memory Integrity |
| 37 | + |
| 38 | +* Go to **Start > Windows Security > Device Security > Core Isolation** |
| 39 | +* Toggle **Memory Integrity** to **OFF** |
| 40 | + |
| 41 | +### 2. Disable Hyper-V |
| 42 | + |
| 43 | +Open Command Prompt as Administrator and run: |
| 44 | + |
| 45 | +```bash |
| 46 | +bcdedit /set hypervisorlaunchtype off |
| 47 | +``` |
| 48 | + |
| 49 | + **Restart** your PC after this step. |
| 50 | + |
| 51 | +--- |
| 52 | + |
| 53 | +## Step 2: Create a New Virtual Machine |
| 54 | + |
| 55 | +### Launch VirtualBox and: |
| 56 | + |
| 57 | +1. Click **"New"** |
| 58 | +2. Name your VM (you’ll need this later) |
| 59 | +3. Select downloaded **ISO** file |
| 60 | +4. Type: `Mac OS X`, Version: `Mac OS X (64-bit)` |
| 61 | +5. **Memory:** At least 4096 MB (4 GB) |
| 62 | +6. **CPU:** Minimum 4 CPUs |
| 63 | +7. **Disk Size:** 80–150 GB |
| 64 | +8. Finish VM creation |
| 65 | + |
| 66 | +### Configure VM Settings: |
| 67 | + |
| 68 | +* Go to **Settings > Display** |
| 69 | +* Set **Video Memory** to `128 MB` |
| 70 | +* Close VirtualBox |
| 71 | + |
| 72 | +--- |
| 73 | + |
| 74 | +## Step 3: Configure macOS VM using VBoxManage |
| 75 | + |
| 76 | +### Open Command Line as Administrator: |
| 77 | + |
| 78 | +Navigate to your VirtualBox installation directory. Example: |
| 79 | + |
| 80 | +```bash |
| 81 | +cd "C:\Program Files\Oracle\VirtualBox" |
| 82 | +``` |
| 83 | + |
| 84 | +Or your custom path: |
| 85 | + |
| 86 | +```bash |
| 87 | +cd D:\VirtualBox\ |
| 88 | +``` |
| 89 | + |
| 90 | +### Run the Following Commands: |
| 91 | + |
| 92 | +Replace `"VM Name"` with the exact name of your VM. |
| 93 | + |
| 94 | +```bash |
| 95 | +./VBoxManage.exe modifyvm "VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff |
| 96 | + |
| 97 | +./VBoxManage.exe setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,3" |
| 98 | + |
| 99 | +./VBoxManage.exe setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" |
| 100 | + |
| 101 | +./VBoxManage.exe setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" |
| 102 | + |
| 103 | +./VBoxManage.exe setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" |
| 104 | + |
| 105 | +./VBoxManage.exe setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 0 |
| 106 | + |
| 107 | +# Only for AMD Processors: |
| 108 | +./VBoxManage.exe modifyvm "VM Name" --cpu-profile "Intel Core i7-6700K" |
| 109 | + |
| 110 | +./VBoxManage.exe setextradata "VM Name" "VBoxInternal/TM/TSCMode" "RealTSCOffset" |
| 111 | +``` |
| 112 | + |
| 113 | +After running all commands, close the terminal. |
| 114 | + |
| 115 | +--- |
| 116 | + |
| 117 | +## Step 4: Start and Install macOS |
| 118 | + |
| 119 | +* Launch **VirtualBox** |
| 120 | +* Select your VM |
| 121 | +* Click **Start** |
| 122 | +* macOS setup should now begin! |
| 123 | + |
| 124 | +--- |
| 125 | + |
| 126 | +## (Optional) Disk Not Found? Fix It: |
| 127 | + |
| 128 | +### Follow these steps inside macOS Installer: |
| 129 | + |
| 130 | +1. Open **Disk Utility** from the toolbar. |
| 131 | +2. Click **View > Show All Devices** |
| 132 | +3. Select **VBOX HARDDISK Media** (top-level disk) |
| 133 | +4. Click **Erase** and use the following settings: |
| 134 | + |
| 135 | +| Setting | Value | |
| 136 | +| ------- | ------------------ | |
| 137 | +| Name | Macintosh HD | |
| 138 | +| Format | APFS | |
| 139 | +| Scheme | GUID Partition Map | |
| 140 | + |
| 141 | +5. Click **Erase**, then close Disk Utility |
| 142 | +6. You should now see `Macintosh HD` in the disk list |
| 143 | +7. Continue macOS installation! |
| 144 | + |
| 145 | +--- |
| 146 | + |
| 147 | +## Done! |
| 148 | + |
| 149 | +You have now successfully installed macOS Big Sur on VirtualBox. Follow the setup screen and enjoy macOS on your Windows machine! |
| 150 | + |
| 151 | +--- |
| 152 | + |
| 153 | +> **Troubleshooting Tips**: |
| 154 | +> |
| 155 | +> * Ensure Hyper-V and memory integrity are disabled |
| 156 | +> * Always run commands **as Administrator** |
| 157 | +> * If performance is poor, your host machine may lack GPU acceleration (VirtualBox has limited support for macOS graphics) |
| 158 | +
|
| 159 | +--- |
0 commit comments