8 Commits
10 changed files with 252 additions and 57 deletions

No files matched your search

BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2024-2025, LongQT-sea
# macOS Recovery ISO Creator
# Downloads macOS recovery images and converts them to bootable ISO files
+39 -4
View File
@@ -206,9 +206,9 @@
<key>DiscardHibernateMap</key>
<false/>
<key>EnableSafeModeSlide</key>
<false/>
<true/>
<key>EnableWriteUnprotector</key>
<false/>
<true/>
<key>FixupAppleEfiImages</key>
<false/>
<key>ForceBooterSignature</key>
@@ -222,11 +222,11 @@
<key>ProtectUefiServices</key>
<false/>
<key>ProvideCustomSlide</key>
<false/>
<true/>
<key>ProvideMaxSlide</key>
<integer>0</integer>
<key>RebuildAppleMemoryMap</key>
<true/>
<false/>
<key>ResizeAppleGpuBars</key>
<integer>-1</integer>
<key>SetupVirtualMap</key>
@@ -241,6 +241,11 @@
<dict>
<key>Add</key>
<dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data></data>
</dict>
<key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
<dict>
<key>layout-id</key>
@@ -461,6 +466,36 @@
</array>
<key>Patch</key>
<array>
<dict>
<key>Arch</key>
<string>Any</string>
<key>Base</key>
<string></string>
<key>Comment</key>
<string>Enable TRIM/discard on QEMU SATA SSD - 10.7+</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>AEFQUExFIFNTRAA=</data>
<key>Identifier</key>
<string>com.apple.iokit.IOAHCIBlockStorage</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data></data>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>11.0.0</string>
<key>Replace</key>
<data>AAAAAAAAAAAAAAA=</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
+39 -4
View File
@@ -206,9 +206,9 @@
<key>DiscardHibernateMap</key>
<false/>
<key>EnableSafeModeSlide</key>
<false/>
<true/>
<key>EnableWriteUnprotector</key>
<false/>
<true/>
<key>FixupAppleEfiImages</key>
<false/>
<key>ForceBooterSignature</key>
@@ -222,11 +222,11 @@
<key>ProtectUefiServices</key>
<false/>
<key>ProvideCustomSlide</key>
<false/>
<true/>
<key>ProvideMaxSlide</key>
<integer>0</integer>
<key>RebuildAppleMemoryMap</key>
<true/>
<false/>
<key>ResizeAppleGpuBars</key>
<integer>-1</integer>
<key>SetupVirtualMap</key>
@@ -241,6 +241,11 @@
<dict>
<key>Add</key>
<dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data></data>
</dict>
<key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
<dict>
<key>layout-id</key>
@@ -461,6 +466,36 @@
</array>
<key>Patch</key>
<array>
<dict>
<key>Arch</key>
<string>Any</string>
<key>Base</key>
<string></string>
<key>Comment</key>
<string>Enable TRIM/discard on QEMU SATA SSD - 10.7+</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>AEFQUExFIFNTRAA=</data>
<key>Identifier</key>
<string>com.apple.iokit.IOAHCIBlockStorage</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data></data>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>11.0.0</string>
<key>Replace</key>
<data>AAAAAAAAAAAAAAA=</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
# Copyright (c) 2024-2025, LongQT-sea
# macOS Python3 Silent Installer
# Installs appropriate Python3 version based on macOS version
+29 -11
View File
@@ -1,17 +1,35 @@
Copyright (c) 2016-2017, The HermitCrabs Lab
Copyright (c) 2016-2020, Download-Fritz
Copyright (c) 2017-2020, savvas
Copyright (c) 2016-2020, vit9696
Copyright (c) 2024-2025, LongQT
MIT License
All rights reserved.
Copyright (c) 2024-2025, LongQT-sea
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
---
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIRD-PARTY COMPONENTS
This EFI includes components from Acidanthera and other developers,
each with their own licenses (primarily BSD-3-Clause):
- OpenCore Bootloader (see LICENSE-OpenCore.txt)
- Lilu, WhateverGreen, AppleALC, VirtualSMC, and other kexts
Full license texts and sources: https://github.com/acidanthera
All third-party components retain their original licenses.
+16
View File
@@ -0,0 +1,16 @@
Copyright (c) 2016-2017, The HermitCrabs Lab
Copyright (c) 2016-2020, Download-Fritz
Copyright (c) 2017-2020, savvas
Copyright (c) 2016-2020, vit9696
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+3 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
ISO_FILE_NAME=LongQT-OpenCore-v0.1.iso
ISO_FILE_NAME=LongQT-OpenCore-v0.3.iso
VOL_NAME=LongQT-OpenCore
SOURCE_DIR=./
BOOT_IMG=BOOT.img
@@ -37,6 +37,7 @@ xorriso -rockridge off -as mkisofs \
-m ".git*" \
-m "README.md" \
-m "Make_ISO*" \
-m "LICENSE" \
-m "LICENSE*" \
-m "cpu-models.conf" \
-output ~/Desktop/${ISO_FILE_NAME} \
${SOURCE_DIR}
+79 -35
View File
@@ -1,15 +1,19 @@
## About
A properly configured OpenCore **DVD/CD-format ISO file** for use with Proxmox VE's web GUI to create a macOS virtual machine.
A properly configured OpenCore **DVD/CD-format ISO file** for Proxmox VE to create macOS virtual machines.
Supports all Intel-based versions of macOS, from **Mac OS X 10.4** to **macOS 26**.
Supports all Intel-based macOS versions — from **Mac OS X 10.4** to **macOS 26**.
> [!TIP]
> **For AMD users:**
> Enjoy a true **vanilla macOS** experience with no kernel patches required for stable operation.
> This is likely the best way to run macOS on AMD hardware while still retaining full hypervisor access to run other VMs.
---
## 📦 Download
Grab the latest OpenCore ISO and macOS Recovery here:
👉 [Release page](https://github.com/LongQT-sea/OpenCore-ISO/releases)
Get the latest OpenCore ISO and macOS Recovery here: 👉 [Release page](https://github.com/LongQT-sea/OpenCore-ISO/releases)
---
@@ -35,25 +39,32 @@ Grab the latest OpenCore ISO and macOS Recovery here:
### 4. System
* **Machine Type**: `q35`
* **Machine Type**: `q35` *(if you must use `i440fx`, [cpu-models.conf](https://github.com/LongQT-sea/OpenCore-ISO/blob/main/cpu-models.conf) is required)*
* **BIOS**: UEFI (OVMF)
* **Add EFI Disk**: ✅ Enabled
* **Pre-Enroll Keys**: ❌ **Untick to disable Secure Boot**
* **Pre-Enroll Keys**: ❌ Untick to disable Secure Boot
* **QEMU Guest Agent**:
* ✅ Enable for macOS 10.14 – macOS 26
* ❌ Leave disabled for macOS 10.4 – macOS 10.13
* ❌ Leave as default for macOS 10.4 – macOS 10.13
---
### 5. Hard Disk
Disk **Bus Type** depends on your macOS version:
The **disk bus type** depends on your needs:
* **VirtIO** – Better performance
* **SATA** – Supports TRIM/Discard for more efficient storage usage
| macOS Version | Supports Bus Type |
| ------------------------ | ----------------------- |
| macOS 10.15 – macOS 26 | `SATA` / `VirtIO Block` |
| macOS 10.4 – macOS 10.14 | `SATA` |
> [!Tip]
> Choosing `SATA` with ✅ SSD emulation and ✅ Discard enabled is recommended, as it automatically supports TRIM for more efficient storage usage.
| macOS Version | Bus Type |
| ------------------------ | -------------- |
| macOS 10.15 – macOS 26 | `VirtIO Block` |
| macOS 10.4 – macOS 10.14 | `SATA` |
---
@@ -61,36 +72,52 @@ Disk **Bus Type** depends on your macOS version:
#### Cores
Choose based on your hardware: 1 / 2 / 4 / 8 / 16 / 32
* Choose based on your hardware: 1 / 2 / 4 / 8 / 16 / 32 / 64
#### Type (Model):
> [!TIP]
> * For 6 cores: choose 2 cores and 3 sockets
> * For 12 cores: choose 4 cores and 3 sockets
> * For 20 cores: choose 4 cores and 5 sockets
> * For 24 cores: choose 8 cores and 3 sockets
#### Type (Model)
| macOS Version | Recommended CPU Type |
| ------------------------ | --------------------------------------------------------------------- |
| macOS 10.11 – macOS 26 | `Broadwell-noTSX`, `Skylake-Client-v4`, `Skylake-Server-v4` (AVX-512) |
| macOS 10.4 – macOS 10.10 | `Penryn` |
> ⚠️ **Notes for AMD CPUs**:
- Tick ✅ Advanced, under **Extra CPU Flags**, turn off `pcid` and `spec-ctrl`.
- For macOS 13–26, instead of using the GUI, you need to set the CPU manually using the qm command, e.g.:
- `qm set [VMID] --args "-cpu Broadwell-noTSX,vendor=GenuineIntel"`
- `qm set [VMID] --args "-cpu Skylake-Client-v4,vendor=GenuineIntel"`
> ⚠️ **Notes for Intel CPUs**:
- Avoid using `host` or `max` CPU types — these can be **~30% slower** (single-core) and **~44% slower** (multi-core) compared to the recommended models.
> [!NOTE]
> **AMD CPUs:**
> * Tick ✅ **Advanced**, and under **Extra CPU Flags**, turn off `pcid` and `spec-ctrl`.
> * For **macOS 13 – macOS 26**, set the CPU manually via the Proxmox VE Shell, example:
>
> ```
> qm set [VMID] --args "-cpu Broadwell-noTSX,vendor=GenuineIntel"
> qm set [VMID] --args "-cpu Skylake-Client-v4,vendor=GenuineIntel"
> ```
> ---
> **Intel CPUs:**
> * Intel HEDT / E5-2xxx v3/v4 set the CPU manually via the Proxmox VE Shell, example:
>
> ```
> qm set [VMID] --args "-cpu Broadwell-noTSX,vendor=GenuineIntel,model=158"
> qm set [VMID] --args "-cpu Skylake-Client-v4,vendor=GenuineIntel,model=158"
> ```
> * Avoid using [`host` or `max`](https://browser.geekbench.com/v6/cpu/14313138) CPU types — they can be **~30% slower (single-core)** and **~44% slower (multi-core)** compared to [`recommended`](https://browser.geekbench.com/v6/cpu/14205183) CPU types.
---
### 7. Memory
* **RAM**: Minimum 2 GB (4 GB or more recommended)
* **Ballooning Device**: ❌ **Disable**
* **RAM**: Minimum 2 GB (4 GB or more recommended)
* **Ballooning Device**: ❌ Disable
---
### 8. Network
Use the correct network adapter based on the macOS version:
Choose the correct adapter based on macOS version:
| macOS Version | Network Adapter |
| ------------------- | ------------------ |
@@ -102,26 +129,43 @@ Use the correct network adapter based on the macOS version:
### 9. Finalize
Don’t forget to add an **additional CD/DVD drive** for the macOS installer or macOS Recovery iso.
Add an **additional CD/DVD drive** for the macOS installer or Recovery ISO, then start the VM to proceed with the installation of macOS.
---
## ⚠️ Important Notes
### 10. Post-Install
### ISO Image Format
* After macOS is installed, open `LongQT-OpenCore` on the Desktop and run `Mount_EFI.command` to mount the EFI partition on your macOS disk. Then copy the EFI folder from `LongQT-OpenCore/EFI_RELEASE/` to the mounted EFI partition. This way, next time it will boot using the EFI inside your macOS disk.
* Run `Install_Python3.command` to install Python 3 - many apps and scripts need it.
* Finally, copy `Mount_EFI.command` and `ProperTree` to the Desktop for later use when you need to edit `config.plist`.
This is a **true DVD ISO image**.
Do **NOT** modify the VM config to change `media=cdrom` to `media=disk`.
> [!TIP]
> Use `Create_Recovery_ISO.command` to download macOS Recovery from Apple and convert it to an ISO CD/DVD file.
---
> [!IMPORTANT]
> For PCIe/dGPU passthrough on **q35**, you have to disable ACPI-based PCI hotplug (revert to PCIe native hotplug)
> - Open Proxmox VE Shell and run:
> ```bash
> read -p "Enter VMID: " VMID; \
> ARGS="$(qm config $VMID --current | grep ^args: | cut -d' ' -f2-)"; \
> qm set $VMID -args "$ARGS -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off"
> ```
> [!CAUTION]
> These iso are **true CD/DVD ISO image**.
> Do **NOT** modify the VM config to change ***`media=cdrom`*** to ***`media=disk`***.
---
## 🛠️ Troubleshooting
Having issues? Check the following:
If you encounter issues, check:
* Secure Boot is **disabled** (`Pre-Enroll Keys` is unticked)
* ISO is mounted as a **CD/DVD**, not a disk
* You’re using a supported CPU model
* Secure Boot is **disabled** (`Pre-Enroll Keys` unticked)
* The ISO is mounted as a **CD/DVD**, not a disk
* You’re using a **supported CPU model**
---
@@ -129,4 +173,4 @@ Having issues? Check the following:
Need help or want to contribute?
Visit the project on GitHub:
🔗 [**LongQT-OpenCore-ISO**](https://github.com/LongQT-sea/OpenCore-ISO)
🔗 [**LongQT-OpenCore-ISO**](https://github.com/LongQT-sea/OpenCore-ISO)
+45
View File
@@ -0,0 +1,45 @@
# Proxmox VE custom CPU models for macOS on i440fx machine type (iGPU passthrough)
# Location: /etc/pve/virtual-guest/cpu-models.conf
# Use host-with-invtsc as a last resort
cpu-model: host-with-invtsc
flags +invtsc
phys-bits host
hidden 0
hv-vendor-id intel
reported-model host
cpu-model: Skylake-Client-with-invtsc
flags +invtsc
phys-bits host
hidden 0
hv-vendor-id intel
reported-model Skylake-Client-v4
cpu-model: Skylake-Server-with-invtsc
flags +invtsc
phys-bits host
hidden 0
hv-vendor-id intel
reported-model Skylake-Server-v4
cpu-model: Broadwell-with-invtsc
flags +invtsc
phys-bits host
hidden 0
hv-vendor-id intel
reported-model Broadwell-noTSX
cpu-model: Haswell-with-invtsc
flags +invtsc
phys-bits host
hidden 0
hv-vendor-id intel
reported-model Haswell-noTSX
cpu-model: Penryn-with-invtsc
flags +invtsc
phys-bits host
hidden 0
hv-vendor-id intel
reported-model Penryn