123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Running a MacOS Big Sur VM in ProxMox VE</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Proxmox,Hypervisor,MacOS,Apple,Big Sur,Mac OS 11,VM,Virtual Machine,Virtualization,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Running a MacOS Big Sur VM in ProxMox VE">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="05/28/2022 10:10:55 AM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Running a MacOS Big Sur VM in ProxMox VE</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>Download a MacOS Big Sur .iso <a href="https://archive.org/search.php?query=Mac%20OS%20Big%20Sur&and[]=mediatype%3A%22software%22" target="_blank">Download</a></li>
- <li>Download KVM OpenCore bootloader <a href="https://github.com/thenickdude/KVM-Opencore/releases" target="_blank">Download</a></li>
- <li>Extract the downloaded KVM OpenCore bootloader .gz file</li>
- <li>Upload the Big Sur and KVM OpenCore .iso files to the Proxmox ISO library</li>
- <li>Log into the ProxMox web UI</li>
- <li>Right click the ProxMox node name > Create VM</li>
- <li>Type MacOSBigSur in the name field, set the VM ID to 1100 (unless 1100 is in use) > Next</li>
- <li>On the OS tab, set the Type field to Other and select the KVM OpenCore .iso in the ISO Image field > Next</li>
- <li>On the System tab, set the Graphic card field to VMware compatible, BIOS field to OVMF (UEFI), Check the Add EFI Disk checkbox, Uncheck the Pre-Enroll Keys checkbox, Machine field to q35 and the SCSI Controller to VirtIO SCSI > Next</li>
- <li>On the Hard Disk tab, set the Bus/Device field to VirtIO Block, Disk size field to 64, Cache field to Write back (unsafe) > Next</li>
- <li>On the CPU tab, set Cores field to 4, Type field to Penryn > Next</li>
- <li>On the Memory tab, set the Memory to 4096 > Next</li>
- <li>On the Network tab, set the Model field to VMware vmxnet3 > Next</li>
- <li>Verify the summary and click Finish</li>
- <li>Click the MacOSBigSur VM > Select Hardware from the left sub-navigation menu</li>
- <li>Click Add > CD/DVD Drive</li>
- <li>Select the MacOS Big Sur .iso downloaded earlier > Click Create</li>
- <li>Select the MacOSBigSur VM > Options > Boot Order</li>
- <li>Set the KVM OpenCore disk as the first boot option > Click OK</li>
- <li>Right click the ProxMox node name > Console</li>
- <li>Run the following commands in the terminal
- <div class="codeBlock"># edit the VM conf file, change 1100 to the VM ID for the Big Sur VM<br />
- nano /etc/pve/qemu-server/1100.conf</div>
- </li>
- <li>If running on an Intel CPU, add the following line to the bottom of the .conf file:
- <p class="masked">args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -cpu host,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc</p>
- </li>
- <li>If running on an AMD CPU, add the following line to the bottom of the .conf file:
- <p class="masked">args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -cpu Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,check</p>
- </li>
- <li>Press CTRL+W and search for ,media=cdrom</li>
- <li>Delete the ,media=cdrom from the two attached .iso files (KVM OpenCore and Big Sur) and add cache=unsafe</li>
- <li>Press CTRL+O, Enter, CTRL+X to write the changes to the conf file</li>
- <li>Back in the Proxmox web UI, right click the MacOSBigSur VM in the left navigation pane > Start</li>
- <li>Click console in the left sub-navigation menu</li>
- <li>At the OpenCore menu, select UEFI Shell > Press Enter</li>
- <li>Type the following in the UEFI shell:
- <div class="codeBlock CMD"># change to the Big Sur .iso, the disk number may be different for you<br />
- fs0:<br />
- # launch the MacOS installer<br />
- System\Library\CoreServices\boot.efi</div>
- </li>
- <li>After a long initialization sequence the MAC OS Setup should start</li>
- <li>Select Disk Utility</li>
- <li>Select the VIRTIO Block Media > Click Erase</li>
- <li>Name the drive OS11 > Set the Format to APFS > Click Erase</li>
- <li>Click Done > Close Disk Utility</li>
- <li>Click Install macOS Big Sur</li>
- <li>Click Continue > Click Agree > Click Agree again</li>
- <li>Select the OS11 disk > Click Install</li>
- <li>Wait while Mac OS 11 installs files, the VM will reboot several times</li>
- <li>Press Enter at the OpenCore boot screen after each reboot to continue the MacOS installation</li>
- <li>Select your Country > Click Continue</li>
- <li>Confirm your languages and keyboard layout > Click Continue</li>
- <li>Click Not Now on the Accessibility screen</li>
- <li>Click Continue on the Data & Privacy screen</li>
- <li>Select Not Now on the Migration Assistant screen</li>
- <li>Select Set Up Later and then Skip on the Apple ID screen</li>
- <li>Click Agree > Agree again</li>
- <li>Enter a name, user name, password > Click Continue</li>
- <li>Click Customize Settings</li>
- <li>Click Continue > Select Use or Don't Use for Location Services</li>
- <li>Pick a timezone > Click Continue</li>
- <li>Choose whether to share analytics with Apple > Click Continue</li>
- <li>Click Set Up Later on the Screen Time screen</li>
- <li>Uncheck the Enable Ask Siri box > Click Continue</li>
- <li>Pick a theme > Click Continue</li>
- <li>Welcome to MacOS 11 Big Sur</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|