0551.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Running a MacOS Big Sur VM in ProxMox VE</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Proxmox,Hypervisor,MacOS,Apple,Big Sur,Mac OS 11,VM,Virtual Machine,Virtualization,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Running a MacOS Big Sur VM in ProxMox VE">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/28/2022 10:10:55 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Running a MacOS Big Sur VM in ProxMox VE</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Download a MacOS Big Sur .iso <a href="https://archive.org/search.php?query=Mac%20OS%20Big%20Sur&amp;and[]=mediatype%3A%22software%22" target="_blank">Download</a></li>
  27. <li>Download KVM OpenCore bootloader <a href="https://github.com/thenickdude/KVM-Opencore/releases" target="_blank">Download</a></li>
  28. <li>Extract the downloaded KVM OpenCore bootloader .gz file</li>
  29. <li>Upload the Big Sur and KVM OpenCore .iso files to the Proxmox ISO library</li>
  30. <li>Log into the ProxMox web UI</li>
  31. <li>Right click the ProxMox node name &gt; Create VM</li>
  32. <li>Type MacOSBigSur in the name field, set the VM ID to 1100 (unless 1100 is in use) &gt; Next</li>
  33. <li>On the OS tab, set the Type field to Other and select the KVM OpenCore .iso in the ISO Image field &gt; Next</li>
  34. <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 &gt; Next</li>
  35. <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) &gt; Next</li>
  36. <li>On the CPU tab, set Cores field to 4, Type field to Penryn &gt; Next</li>
  37. <li>On the Memory tab, set the Memory to 4096 &gt; Next</li>
  38. <li>On the Network tab, set the Model field to VMware vmxnet3 &gt; Next</li>
  39. <li>Verify the summary and click Finish</li>
  40. <li>Click the MacOSBigSur VM &gt; Select Hardware from the left sub-navigation menu</li>
  41. <li>Click Add &gt; CD/DVD Drive</li>
  42. <li>Select the MacOS Big Sur .iso downloaded earlier &gt; Click Create</li>
  43. <li>Select the MacOSBigSur VM &gt; Options &gt; Boot Order</li>
  44. <li>Set the KVM OpenCore disk as the first boot option &gt; Click OK</li>
  45. <li>Right click the ProxMox node name &gt; Console</li>
  46. <li>Run the following commands in the terminal
  47. <div class="codeBlock"># edit the VM conf file, change 1100 to the VM ID for the Big Sur VM<br />
  48. nano /etc/pve/qemu-server/1100.conf</div>
  49. </li>
  50. <li>If running on an Intel CPU, add the following line to the bottom of the .conf file:
  51. <p class="masked">args: -device isa-applesmc,osk=&quot;ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc&quot; -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>
  52. </li>
  53. <li>If running on an AMD CPU, add the following line to the bottom of the .conf file:
  54. <p class="masked">args: -device isa-applesmc,osk=&quot;ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc&quot; -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>
  55. </li>
  56. <li>Press CTRL+W and search for ,media=cdrom</li>
  57. <li>Delete the ,media=cdrom from the two attached .iso files (KVM OpenCore and Big Sur) and add cache=unsafe</li>
  58. <li>Press CTRL+O, Enter, CTRL+X to write the changes to the conf file</li>
  59. <li>Back in the Proxmox web UI, right click the MacOSBigSur VM in the left navigation pane &gt; Start</li>
  60. <li>Click console in the left sub-navigation menu</li>
  61. <li>At the OpenCore menu, select UEFI Shell &gt; Press Enter</li>
  62. <li>Type the following in the UEFI shell:
  63. <div class="codeBlock CMD"># change to the Big Sur .iso, the disk number may be different for you<br />
  64. fs0:<br />
  65. # launch the MacOS installer<br />
  66. System\Library\CoreServices\boot.efi</div>
  67. </li>
  68. <li>After a long initialization sequence the MAC OS Setup should start</li>
  69. <li>Select Disk Utility</li>
  70. <li>Select the VIRTIO Block Media &gt; Click Erase</li>
  71. <li>Name the drive OS11 &gt; Set the Format to APFS &gt; Click Erase</li>
  72. <li>Click Done &gt; Close Disk Utility</li>
  73. <li>Click Install macOS Big Sur</li>
  74. <li>Click Continue &gt; Click Agree &gt; Click Agree again</li>
  75. <li>Select the OS11 disk &gt; Click Install</li>
  76. <li>Wait while Mac OS 11 installs files, the VM will reboot several times</li>
  77. <li>Press Enter at the OpenCore boot screen after each reboot to continue the MacOS installation</li>
  78. <li>Select your Country &gt; Click Continue</li>
  79. <li>Confirm your languages and keyboard layout &gt; Click Continue</li>
  80. <li>Click Not Now on the Accessibility screen</li>
  81. <li>Click Continue on the Data &amp; Privacy screen</li>
  82. <li>Select Not Now on the Migration Assistant screen</li>
  83. <li>Select Set Up Later and then Skip on the Apple ID screen</li>
  84. <li>Click Agree &gt; Agree again</li>
  85. <li>Enter a name, user name, password &gt; Click Continue</li>
  86. <li>Click Customize Settings</li>
  87. <li>Click Continue &gt; Select Use or Don&#39;t Use for Location Services</li>
  88. <li>Pick a timezone &gt; Click Continue</li>
  89. <li>Choose whether to share analytics with Apple &gt; Click Continue</li>
  90. <li>Click Set Up Later on the Screen Time screen</li>
  91. <li>Uncheck the Enable Ask Siri box &gt; Click Continue</li>
  92. <li>Pick a theme &gt; Click Continue</li>
  93. <li>Welcome to MacOS 11 Big Sur</li>
  94. </ol>
  95. </div>
  96. </div>
  97. </body>
  98. </html>