User Tools

Site Tools


unraid:virtual:monterey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unraid:virtual:monterey [2024/01/05 20:54] – [Setup and Configure Monterey and OpenCore] dirkunraid:virtual:monterey [2024/02/19 18:31] (current) – [Install to Virtual Machine] dirk
Line 1: Line 1:
 ====== Install MacOS as Unraid Virtual Machine ====== ====== Install MacOS as Unraid Virtual Machine ======
-This will guide you through the setup of an OSX machine as an Unraid Virtual Machine using macinabox. This guide will start you off with Monterey (since that is the last currently support OS from macinabox) and then give you the optional steps to upgrade to Ventura. Working to see if the same steps work for Sonoma. Currently I have GPU passthrough working with a GeForce GT-710 (Monterey), GeForce GT-730 (Monterey), and AMD Radeon 6600 XT (Monterey and Ventura). I also have Intel Bluetooth and Intel Wireless passthrough working (Monterey).+This will guide you through the setup of an OSX machine as an Unraid Virtual Machine using macinabox. This guide will start you off with Monterey (since that is the last currently support OS from macinabox) and then give you the optional steps to upgrade to Ventura. I'm working to see if the same steps work for upgrading to Sonoma. Currently I have GPU passthrough working with a GeForce GT-710 (Monterey), GeForce GT-730 (Monterey), and AMD Radeon 6600 XT (Monterey and Ventura). I also have Intel Bluetooth and Intel Wireless passthrough working (Monterey and Ventura).
  
 ===== Preliminary Steps ===== ===== Preliminary Steps =====
Line 26: Line 26:
   * inject helper scripts: Yes   * inject helper scripts: Yes
   * RUN!   * RUN!
 +  * Note for Ventura: I don't know if this is required (or even worked correctly) but I manually downloaded the latest OpenCore and tried using the "custom" feature with Macinabox to go straight to the latest OpenCore but I don't think that even did anything/worked/made a difference since I upgraded OpenCore manually anyway before upgrading to Ventura... future installs might answer that.
 ===== Finish Creating VM ===== ===== Finish Creating VM =====
   * Go to your user scripts under settings and change the vmready notify script (while [ ! -d _______ ] to match appdata location (if you changed it in step 1 above) then run in background to let you know when ready.   * Go to your user scripts under settings and change the vmready notify script (while [ ! -d _______ ] to match appdata location (if you changed it in step 1 above) then run in background to let you know when ready.
Line 132: Line 132:
 ===== Install to Virtual Machine ===== ===== Install to Virtual Machine =====
 Monterey should now boot to the bootloader either on your VNC viewer or monitor if using the GT710/730 Monterey should now boot to the bootloader either on your VNC viewer or monitor if using the GT710/730
 +  * Note: If using a GT710, GT730, or VNC, it will be sluggish. We will fix this at the end to either switch over to a 6600xt, or install the GT drivers.
   * Select macOS Base System. MacOS recovery will start.   * Select macOS Base System. MacOS recovery will start.
   * Select Disk Utility   * Select Disk Utility
Line 144: Line 145:
   * Select Continue   * Select Continue
   * MacOS will now install and restart a number of times (4 for me). Select the macOS installer during the first two restarts, and then the name of the disk you created during the next two restarts.   * MacOS will now install and restart a number of times (4 for me). Select the macOS installer during the first two restarts, and then the name of the disk you created during the next two restarts.
-    * Note: If using a GT710 or GT730, it will be sluggish. We will fix this at the end to either switch over to a 6600xt, or install the GT drivers if you are planning to keep using that card. 
 ===== Setup and Configure Monterey and OpenCore ===== ===== Setup and Configure Monterey and OpenCore =====
   * follow Monterey setup steps but don't sign in with Apple ID.  we will fix that later.   * follow Monterey setup steps but don't sign in with Apple ID.  we will fix that later.
Line 156: Line 156:
   * A folder should open. Copy the contents to the desktop (Initial installs had two things: EFI and NvVARS... subsequent installs only had the EFI folder)   * A folder should open. Copy the contents to the desktop (Initial installs had two things: EFI and NvVARS... subsequent installs only had the EFI folder)
   * Unmount that partition   * Unmount that partition
-  * Mount your harddrive (should be the one that has the name you gave it. Open that partition+  * Mount your harddrive (should be the one that has the name you gave it). Open that partition
   * Copy the file(s) from the desktop into the window that pops up   * Copy the file(s) from the desktop into the window that pops up
   * Delete files on desktop.   * Delete files on desktop.
Line 238: Line 238:
   * Now your install media in the boot loader should load. Select it, then your hard drive during each restart until it boots up!   * Now your install media in the boot loader should load. Select it, then your hard drive during each restart until it boots up!
 Links: https://github.com/thenickdude/KVM-Opencore/issues/47, https://www.nicksherlock.com/2022/10/installing-macos-13-ventura-on-proxmox/ Links: https://github.com/thenickdude/KVM-Opencore/issues/47, https://www.nicksherlock.com/2022/10/installing-macos-13-ventura-on-proxmox/
 +
 +===== Update to Sonoma =====
 +  * After completing all the steps to get a working copy of Ventura... I updated to Sonoma using the Update feature in system preferences.
 +  * You can probably follow the steps listed in the above section (Update to Ventura) and just select Sonoma and it will probably upgrade from Monterey to Sonoma... I might check that sometime in the future.
 +  * I've been running Sonoma all of 10 minutes now and everything "SEEMS" to work.  Will update more as we go!
 +    * Wifi seems to cause everything to crash when you select the network tab (may be the same issue that was present in Ventura with having to hard restart the server to get wifi to not radio kill or whatever.
 +    * SMB shares are painfully slow to connect / don't work most of the time.
 +    * bluetooth doesn't work.
 +  * Installing a fresh copy and going straight from Monterey to Sonoma to see if that helps.
 +    * Fresh copy going straight from Monterey to Sonoma seems to have been MUCH better.
 +    * Wifi still has same issue as above (maybe need a newer kext when it comes out)
 +    * SMB shares work great now.
 +    * bluetooth still doesn't work but at least you can turn it on and off. Just won't find any devices.
 ===== Fixes and Tidy Up ===== ===== Fixes and Tidy Up =====
 Some of these may not apply to you but here's what I had to do to fix certain things as well as some things I did to tidy up my install Some of these may not apply to you but here's what I had to do to fix certain things as well as some things I did to tidy up my install
   * GPUs   * GPUs
-    * AMD Radeon RX 6600 XT (works for Monterey and Ventura)+    * AMD Radeon RX 6600 XT (works for Monterey and Ventura and Sonoma)
       * use OpenCore Configurator to mount EFI as above       * use OpenCore Configurator to mount EFI as above
       * open EFI/OC/config.plist       * open EFI/OC/config.plist
Line 260: Line 273:
       * Profit!!!       * Profit!!!
       * video of this: [[https://www.youtube.com/watch?v=y2whNpzL42s|https://www.youtube.com/watch?v=y2whNpzL42s]]       * video of this: [[https://www.youtube.com/watch?v=y2whNpzL42s|https://www.youtube.com/watch?v=y2whNpzL42s]]
-  * Ultra Wide monitor? (works on Monterey and Ventura)+  * Ultra Wide monitor? (works for Monterey and Ventura and Sonoma)
     * download DisableMonitor from [[https://github.com/eun/disablemonitor|https://github.com/eun/disablemonitor]] based on this blog: [[https://medium.com/zurassic/how-to-enable-5120x1440-on-mac-cd780c41a108|https://medium.com/zurassic/how-to-enable-5120x1440-on-mac-cd780c41a108]]     * download DisableMonitor from [[https://github.com/eun/disablemonitor|https://github.com/eun/disablemonitor]] based on this blog: [[https://medium.com/zurassic/how-to-enable-5120x1440-on-mac-cd780c41a108|https://medium.com/zurassic/how-to-enable-5120x1440-on-mac-cd780c41a108]]
-  * Apple Login (works on Monterey and Ventura)+  * Apple Login (works for Monterey and Ventura and Sonoma)
     * Download hackintool (optional but makes things easier). ([[https://github.com/headkaze/Hackintool|https://github.com/headkaze/Hackintool]])     * Download hackintool (optional but makes things easier). ([[https://github.com/headkaze/Hackintool|https://github.com/headkaze/Hackintool]])
     * open it (using same steps as you first used to open OpenCore Configurator) and go to System -> Peripherals     * open it (using same steps as you first used to open OpenCore Configurator) and go to System -> Peripherals
Line 275: Line 288:
     * log in to apple services!     * log in to apple services!
     * The hackintool technically isn't needed but it provides an easy graphical way to see if that "built-in" check box is checked.     * The hackintool technically isn't needed but it provides an easy graphical way to see if that "built-in" check box is checked.
-  * Intel Bluetooth (only follow these steps for an Intel based Bluetooth card) (have not tried on > Monterey)+  * Intel Bluetooth (only follow these steps for an Intel based Bluetooth card) (works for Monterey and Ventura)
     * Download IntelBluetooth-v2.2.0 from https://github.com/OpenIntelWireless/IntelBluetoothFirmware/releases     * Download IntelBluetooth-v2.2.0 from https://github.com/OpenIntelWireless/IntelBluetoothFirmware/releases
     * Download BrcmPatchRAM-2.6.4-RELEASE from https://github.com/acidanthera/BrcmPatchRAM/releases     * Download BrcmPatchRAM-2.6.4-RELEASE from https://github.com/acidanthera/BrcmPatchRAM/releases
Line 290: Line 303:
     * Uncheck all the rest of the BCRM ones (not using them... i'm using Intel)     * Uncheck all the rest of the BCRM ones (not using them... i'm using Intel)
     * Save, reboot, profit.     * Save, reboot, profit.
-  * Intel Wireless (have not tried on > Monterey)+  * Intel Wireless (works for Monterey and Ventura until the VM is rebooted... then requires server reboot and will work again until VM rebooted... still working on this one. Sonoma seems to suffer similar issues as Ventura but instead of just not working, it crashes the computer when clicking on "network" in settings.)
     * Download Airportitlwm_v2.1.0_stable_Monterey.kext.zip from https://github.com/OpenIntelWireless/itlwm/releases/tag/v2.1.0     * Download Airportitlwm_v2.1.0_stable_Monterey.kext.zip from https://github.com/OpenIntelWireless/itlwm/releases/tag/v2.1.0
     * Unzip folder     * Unzip folder
Line 300: Line 313:
     * Go to Misc -> Security     * Go to Misc -> Security
     * Change SecureBootModel to Default     * Change SecureBootModel to Default
-    * Save -> Reboot -> Profit +    * Save -> Shutdown 
-  * Fix Memory Modules Misconfigured warning (suppress it) (only required when using Ventura)+    * Update VM xml file to passthru the wifi card <code   <hostdev mode='subsystem' type='pci' managed='yes'> 
 +      <driver name='vfio'/> 
 +      <source> 
 +        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> 
 +      </source> 
 +      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> 
 +    </hostdev></code> 
 +    * Profit 
 +  * Fix Memory Modules Misconfigured warning (suppress it) (only required when using Ventura and Sonoma with MacPro7,1)
     * download RestrictEvents kext from [[https://github.com/acidanthera/RestrictEvents/releases|https://github.com/acidanthera/RestrictEvents/releases]]     * download RestrictEvents kext from [[https://github.com/acidanthera/RestrictEvents/releases|https://github.com/acidanthera/RestrictEvents/releases]]
     * Open OpenCore Configurator and go to Kernel     * Open OpenCore Configurator and go to Kernel
Line 323: Line 344:
     * OR you can do what I did and use the one that is already in there (unraid's default one) and just follow the next step (make sure you get the one that is the same size).     * OR you can do what I did and use the one that is already in there (unraid's default one) and just follow the next step (make sure you get the one that is the same size).
     * make sure you edit the xml file to point to the new location.     * make sure you edit the xml file to point to the new location.
 +  * csr-active-config
 +    * This was set to 260F and I changed it to 00000000 to get rid of the error in the OpenCore Validator. I only did this in Sonoma and I haven't yet seen any issues it caused.
 +    * Will report back!
  
unraid/virtual/monterey.1704509677.txt.gz · Last modified: by dirk