mirror of
https://github.com/LongQT-sea/OpenCore-ISO
synced 2026-11-26 17:28:19 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48d9c4d8e0 | ||
|
|
c89db3af65 | ||
|
|
27971d5903 | ||
|
|
72c5d39687 | ||
|
|
7e82d4285e | ||
|
|
0c2f0d9679 |
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -461,6 +461,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>
|
||||
|
||||
@@ -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>
|
||||
@@ -461,6 +461,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,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2024-2025, LongQT-sea
|
||||
|
||||
# macOS Python3 Silent Installer
|
||||
# Installs appropriate Python3 version based on macOS version
|
||||
|
||||
@@ -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.
|
||||
@@ -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
@@ -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}
|
||||
@@ -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,30 @@ 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:
|
||||
|
||||
| macOS Version | Bus Type |
|
||||
| ------------------------ | -------------- |
|
||||
| macOS 10.15 – macOS 26 | `VirtIO Block` |
|
||||
| macOS 10.4 – macOS 10.14 | `SATA` |
|
||||
* **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` |
|
||||
|
||||
**Note:** SATA with ✅ **SSD emulation** and ✅ **Discard** enabled is recommended to enable TRIM/discard for better storage efficiency.
|
||||
|
||||
---
|
||||
|
||||
@@ -63,34 +72,44 @@ Disk **Bus Type** depends on your macOS version:
|
||||
|
||||
Choose based on your hardware: 1 / 2 / 4 / 8 / 16 / 32
|
||||
|
||||
#### Type (Model):
|
||||
#### 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]
|
||||
> **Notes for AMD CPUs:**
|
||||
> * Tick ✅ **Advanced**, and under **Extra CPU Flags**, turn off `pcid` and `spec-ctrl`.
|
||||
> * For **macOS 13–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"
|
||||
> ```
|
||||
>
|
||||
> **Notes for Intel CPUs:**
|
||||
>
|
||||
> * Intel HEDT / Xeon E5 v3/v4 set the CPU manually via the Proxmox VE Shell, example:
|
||||
> ```
|
||||
> qm set [VMID] --args "-cpu Haswell-noTSX,vendor=GenuineIntel,model=158"
|
||||
> qm set [VMID] --args "-cpu Broadwell-noTSX,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 the [`recommended`](https://browser.geekbench.com/v6/cpu/14205183) 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 +121,34 @@ 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.
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ Important Notes
|
||||
> [!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"
|
||||
> ```
|
||||
|
||||
### ISO Image Format
|
||||
---
|
||||
|
||||
This is a **true DVD ISO image**.
|
||||
Do **NOT** modify the VM config to change `media=cdrom` to `media=disk`.
|
||||
> [!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 +156,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)
|
||||
@@ -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
|
||||
Reference in new issue
Block a user