mirror of
https://github.com/LongQT-sea/OpenCore-ISO
synced 2026-11-27 01:38:16 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6dc3c1d0ba | ||
|
|
fb87d98a5a | ||
|
|
48d854fd8a | ||
|
|
2aa5b41c36 | ||
|
|
140ac918eb | ||
|
|
b6b480be7d | ||
|
|
adca6ad1c9 | ||
|
|
c95471c781 | ||
|
|
e8d1e1f353 | ||
|
|
c8ab208baa | ||
|
|
2183821f54 | ||
|
|
b140fd8983 | ||
|
|
e5b7db00c0 | ||
|
|
d67508561b | ||
|
|
c05183e80a | ||
|
|
1b807c98cb | ||
|
|
c985b8f7a5 | ||
|
|
92aee784b6 | ||
|
|
e9ec2fa32f | ||
|
|
8940b0298c | ||
|
|
2c0535644f | ||
|
|
2dc18cc798 | ||
|
|
141c791cbf | ||
|
|
8d971f291e | ||
|
|
5ba5be3f84 | ||
|
|
8aecdc272c | ||
|
|
877ad380b9 | ||
|
|
922379beef | ||
|
|
61f9266b9c | ||
|
|
eb5b0c0aa2 | ||
|
|
5406140441 |
No files matched your search
@@ -0,0 +1,14 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Discussions
|
||||
url: https://github.com/LongQT-sea/OpenCore-ISO/discussions
|
||||
about: For general questions, tips sharing, and community help
|
||||
- name: Dortania OpenCore Guide
|
||||
url: https://dortania.github.io/OpenCore-Install-Guide/
|
||||
about: Comprehensive OpenCore documentation and troubleshooting
|
||||
- name: Proxmox VE Forum
|
||||
url: https://forum.proxmox.com/
|
||||
about: For Proxmox-specific questions and issues
|
||||
- name: Intel iGPU Passthrough Guide
|
||||
url: https://github.com/LongQT-sea/intel-igpu-passthru
|
||||
about: Guide for Intel iGPU passthrough configuration
|
||||
@@ -0,0 +1,60 @@
|
||||
name: Feature Request
|
||||
description: Suggest a new feature or improvement for OpenCore-ISO
|
||||
title: "[FEATURE] "
|
||||
labels: ["enhancement"]
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Thanks for suggesting a feature for OpenCore-ISO!
|
||||
Your ideas help make this project better for everyone.
|
||||
|
||||
**Have you starred this repo yet?** Show your support by giving it a star!
|
||||
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Prerequisites
|
||||
options:
|
||||
- label: I searched existing issues - this hasn't been requested
|
||||
required: true
|
||||
- label: This relates to OpenCore-ISO specifically
|
||||
required: true
|
||||
- label: I've starred the repo ⭐ (or will star it later!)
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Feature Description
|
||||
description: What would you like to see?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Problem It Solves
|
||||
description: What issue does this address?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Proposed Implementation
|
||||
description: How should this work?
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Any other details or alternatives?
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: I can help with
|
||||
options:
|
||||
- label: Testing
|
||||
- label: Documentation
|
||||
- label: Implementation
|
||||
@@ -0,0 +1,97 @@
|
||||
name: Get Help & Support
|
||||
description: Get help with OpenCore-ISO setup or configuration
|
||||
title: "[HELP] "
|
||||
labels: ["question", "help wanted"]
|
||||
|
||||
body:
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Need help with OpenCore-ISO?
|
||||
Before asking for help, please check:
|
||||
- The [README](https://github.com/LongQT-sea/OpenCore-ISO#readme) and its troubleshooting section
|
||||
- [Existing issues](https://github.com/LongQT-sea/OpenCore-ISO/issues) for similar problems
|
||||
- [Discussions](https://github.com/LongQT-sea/OpenCore-ISO/discussions) for community solutions
|
||||
|
||||
**Have you starred this repo yet?** Show your support by giving it a star!
|
||||
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Prerequisites
|
||||
options:
|
||||
- label: I have read the [README.md](https://github.com/LongQT-sea/OpenCore-ISO?#about)
|
||||
required: true
|
||||
- label: I have searched existing issues and discussions
|
||||
required: true
|
||||
- label: I've starred the repo ⭐ (or will star it later!)
|
||||
required: false
|
||||
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: macOS Version
|
||||
options:
|
||||
- macOS 26 Tahoe
|
||||
- macOS 15 Sequoia
|
||||
- macOS 14 Sonoma
|
||||
- macOS 13 Ventura
|
||||
- macOS 12 Monterey
|
||||
- macOS 11 Big Sur
|
||||
- macOS 10.15 Catalina
|
||||
- macOS 10.14 Mojave
|
||||
- Other/Legacy (specify below)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: System Info
|
||||
description: Host OS and hardware specs info
|
||||
placeholder: |
|
||||
Host OS: e.g. Proxmox, QEMU/KVM, UTM, TrueNAS, Unraid
|
||||
Mainboard: Z490
|
||||
CPU: i7-10700K
|
||||
RAM: 32GB
|
||||
dGPU: None
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: VM Config or QEMU cmdline
|
||||
description: Proxmox VM config (`qm config VMID`) or QEMU command line used to start the VM
|
||||
placeholder: |
|
||||
# qm config VMID
|
||||
bios: ovmf
|
||||
machine: q35
|
||||
cpu: Skylake-Client-v4
|
||||
|
||||
# QEMU cmdline
|
||||
/usr/bin/qemu-system-x86_64 -accel kvm -machine q35 -m 4096 \
|
||||
-cpu Skylake-Client-noTSX-IBRS,vendor=GenuineIntel \
|
||||
-usb -device usb-tablet -device usb-kbd \
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Problem Description
|
||||
description: What's the issue?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: What You've Tried
|
||||
description: Steps taken to resolve
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Screenshots or other details (relevant errors or logs)
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,61 @@
|
||||
name: Build ISO
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release_tag:
|
||||
description: 'Optional: Tag the build to upload it to Releases'
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build-opencore-iso:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Install xorriso
|
||||
run: |
|
||||
echo "Installing xorriso ..."
|
||||
brew install xorriso
|
||||
|
||||
- name: Download ProperTree and GenSMBIOS
|
||||
run: |
|
||||
git clone --depth 1 https://github.com/corpnewt/GenSMBIOS
|
||||
curl -OL https://github.com/LongQT-sea/OpenCore-ISO/releases/download/v0.2/ProperTree.zip
|
||||
unzip -qq ProperTree.zip && rm ProperTree.zip && rm -rf GenSMBIOS/.git
|
||||
|
||||
- name: Make OpenCore-ISO
|
||||
run: |
|
||||
echo "Making ISO ..."
|
||||
bash Make_ISO.command
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: OpenCore-ISO
|
||||
path: ~/Desktop/LongQT-OpenCore*.iso
|
||||
|
||||
- name: Create Release
|
||||
if: github.event.inputs.release_tag != ''
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
tag=${{ github.event.inputs.release_tag }}
|
||||
title="$tag"
|
||||
|
||||
cat > release_notes.md << 'EOF'
|
||||
> [!Tip]
|
||||
> For macOS Installer ISO and Recovery ISO:
|
||||
> https://github.com/LongQT-sea/macos-iso-builder
|
||||
|
||||
> [!CAUTION]
|
||||
> These iso are **true CD/DVD ISO image**. Do **NOT** modify VM config to change **`media=cdrom`** to **`media=disk`**.
|
||||
EOF
|
||||
|
||||
gh release create "$tag" \
|
||||
--title "$title" \
|
||||
--notes-file release_notes.md \
|
||||
~/Desktop/LongQT-OpenCore*.iso
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Close stale issues
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # runs daily at midnight
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
days-before-stale: 30
|
||||
days-before-close: 7
|
||||
close-issue-reason: 'completed'
|
||||
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity.'
|
||||
close-issue-message: 'Closing this issue due to prolonged inactivity.'
|
||||
exempt-issue-labels: 'keep-open'
|
||||
+33
-98
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2024-2025, LongQT-sea
|
||||
# macOS Recovery ISO Creator
|
||||
# Downloads macOS recovery images and converts them to bootable ISO files
|
||||
# Downloads macOS recovery images from Apple and converts them to bootable DVD ISO files
|
||||
|
||||
set -e
|
||||
|
||||
@@ -23,18 +23,9 @@ fi
|
||||
get_version_info() {
|
||||
local key=$1
|
||||
case $key in
|
||||
lion1) echo "Mac-2E6FAB96566FE58C:00000000000F25Y00:Lion:" ;;
|
||||
lion2) echo "Mac-C3EC7CD22292981F:00000000000F0HM00:Lion:" ;;
|
||||
mountain_lion) echo "Mac-7DF2A3B5E5D671ED:00000000000F65100:Mountain_Lion:" ;;
|
||||
mavericks) echo "Mac-F60DEB81FF30ACF6:00000000000FNN100:Mavericks:" ;;
|
||||
yosemite) echo "Mac-E43C1C25D4880AD6:00000000000GDVW00:Yosemite:" ;;
|
||||
el_capitan) echo "Mac-FFE5EF870D7BA81A:00000000000GQRX00:El_Capitan:" ;;
|
||||
sierra) echo "Mac-77F17D7DA9285301:00000000000J0DX00:Sierra:" ;;
|
||||
high_sierra1) echo "Mac-7BA5B2D9E42DDD94:00000000000J80300:High_Sierra:" ;;
|
||||
high_sierra2) echo "Mac-BE088AF8C5EB4FA2:00000000000J80300:High_Sierra:" ;;
|
||||
high_sierra) echo "Mac-7BA5B2D9E42DDD94:00000000000J80300:High_Sierra:" ;;
|
||||
mojave) echo "Mac-7BA5B2DFE22DDD8C:00000000000KXPG00:Mojave:" ;;
|
||||
catalina1) echo "Mac-CFF7D910A743CAAF:00000000000PHCD00:Catalina:" ;;
|
||||
catalina2) echo "Mac-00BE6ED71E35EB86:00000000000000000:Catalina:" ;;
|
||||
catalina) echo "Mac-CFF7D910A743CAAF:00000000000PHCD00:Catalina:" ;;
|
||||
big_sur) echo "Mac-2BD1B31983FE1663:00000000000000000:Big_Sur:" ;;
|
||||
monterey) echo "Mac-E43C1C25D4880AD6:00000000000000000:Monterey:" ;;
|
||||
ventura) echo "Mac-B4831CEBD52A0C4C:00000000000000000:Ventura:" ;;
|
||||
@@ -64,6 +55,7 @@ check_python() {
|
||||
print_error "Python3 is not installed on your system."
|
||||
echo "Please install Python3:"
|
||||
echo "Download it from: https://www.python.org/downloads/"
|
||||
echo "Or use Install_Python3.command to do it automatically"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
@@ -94,38 +86,6 @@ cleanup_recovery() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to determine recovery image filename based on version
|
||||
get_recovery_filename() {
|
||||
local version_name=$1
|
||||
|
||||
# macOS 10.4 to 10.12 use RecoveryImage.dmg
|
||||
# macOS 10.13+ use BaseSystem.dmg
|
||||
case $version_name in
|
||||
Lion|Mountain_Lion|Mavericks|Yosemite|El_Capitan|Sierra)
|
||||
echo "RecoveryImage.dmg"
|
||||
;;
|
||||
*)
|
||||
echo "BaseSystem.dmg"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Function to determine hdiutil options based on version
|
||||
get_hdiutil_options() {
|
||||
local version_name=$1
|
||||
|
||||
# macOS 10.7 to 10.9 require -hfs -iso -joliet
|
||||
# macOS 10.10+ use -hfs -udf
|
||||
case $version_name in
|
||||
Lion|Mountain_Lion|Mavericks)
|
||||
echo "-hfs -iso -joliet"
|
||||
;;
|
||||
*)
|
||||
echo "-hfs -udf"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Function to download macOS recovery
|
||||
download_recovery() {
|
||||
local board_id=$1
|
||||
@@ -141,8 +101,8 @@ download_recovery() {
|
||||
python3 macrecovery.py -b "$board_id" -m "$model" download
|
||||
fi
|
||||
|
||||
# Check which recovery image was downloaded
|
||||
if [ ! -f "com.apple.recovery.boot/BaseSystem.dmg" ] && [ ! -f "com.apple.recovery.boot/RecoveryImage.dmg" ]; then
|
||||
# Check if BaseSystem.dmg was downloaded (all versions 10.13+ use BaseSystem.dmg)
|
||||
if [ ! -f "com.apple.recovery.boot/BaseSystem.dmg" ]; then
|
||||
print_error "Failed to download recovery image"
|
||||
exit 1
|
||||
fi
|
||||
@@ -154,11 +114,9 @@ download_recovery() {
|
||||
create_iso() {
|
||||
local version_name=$1
|
||||
local output_path="$HOME/Desktop/macOS_${version_name}_Recovery.iso"
|
||||
local recovery_filename=$(get_recovery_filename "$version_name")
|
||||
local recovery_path="com.apple.recovery.boot/$recovery_filename"
|
||||
local hdiutil_opts=$(get_hdiutil_options "$version_name")
|
||||
local recovery_path="com.apple.recovery.boot/BaseSystem.dmg"
|
||||
|
||||
# Check if the expected recovery file exists
|
||||
# Check if the recovery file exists
|
||||
if [ ! -f "$recovery_path" ]; then
|
||||
print_error "Recovery image not found at: $recovery_path"
|
||||
# List available files for debugging
|
||||
@@ -169,7 +127,8 @@ create_iso() {
|
||||
|
||||
print_info "Creating bootable ISO..."
|
||||
|
||||
hdiutil makehybrid -ov $hdiutil_opts \
|
||||
# All versions 10.13+ use -hfs -udf options
|
||||
hdiutil makehybrid -ov -hfs -udf \
|
||||
-default-volume-name "${version_name}_Recovery" \
|
||||
-o "$output_path" \
|
||||
"$recovery_path"
|
||||
@@ -187,21 +146,15 @@ show_versions() {
|
||||
echo ""
|
||||
echo "Available macOS versions:"
|
||||
echo "========================="
|
||||
echo " 1. Lion (10.7)"
|
||||
echo " 2. Mountain Lion (10.8)"
|
||||
echo " 3. Mavericks (10.9)"
|
||||
echo " 4. Yosemite (10.10)"
|
||||
echo " 5. El Capitan (10.11)"
|
||||
echo " 6. Sierra (10.12)"
|
||||
echo " 7. High Sierra (10.13)"
|
||||
echo " 8. Mojave (10.14)"
|
||||
echo " 9. Catalina (10.15)"
|
||||
echo " 10. Big Sur (11)"
|
||||
echo " 11. Monterey (12)"
|
||||
echo " 12. Ventura (13)"
|
||||
echo " 13. Sonoma (14)"
|
||||
echo " 14. Sequoia (15)"
|
||||
echo " 15. Tahoe (Latest)"
|
||||
echo " 1. High Sierra (10.13)"
|
||||
echo " 2. Mojave (10.14)"
|
||||
echo " 3. Catalina (10.15)"
|
||||
echo " 4. Big Sur (11)"
|
||||
echo " 5. Monterey (12)"
|
||||
echo " 6. Ventura (13)"
|
||||
echo " 7. Sonoma (14)"
|
||||
echo " 8. Sequoia (15)"
|
||||
echo " 9. Tahoe (Latest)"
|
||||
echo ""
|
||||
}
|
||||
|
||||
@@ -210,49 +163,31 @@ process_version() {
|
||||
local version=$1
|
||||
|
||||
case $version in
|
||||
1|lion)
|
||||
key="lion1"
|
||||
1|high_sierra)
|
||||
key="high_sierra"
|
||||
;;
|
||||
2|mountain_lion)
|
||||
key="mountain_lion"
|
||||
;;
|
||||
3|mavericks)
|
||||
key="mavericks"
|
||||
;;
|
||||
4|yosemite)
|
||||
key="yosemite"
|
||||
;;
|
||||
5|el_capitan)
|
||||
key="el_capitan"
|
||||
;;
|
||||
6|sierra)
|
||||
key="sierra"
|
||||
;;
|
||||
7|high_sierra)
|
||||
key="high_sierra1"
|
||||
;;
|
||||
8|mojave)
|
||||
2|mojave)
|
||||
key="mojave"
|
||||
;;
|
||||
9|catalina)
|
||||
key="catalina1"
|
||||
3|catalina)
|
||||
key="catalina"
|
||||
;;
|
||||
10|big_sur)
|
||||
4|big_sur)
|
||||
key="big_sur"
|
||||
;;
|
||||
11|monterey)
|
||||
5|monterey)
|
||||
key="monterey"
|
||||
;;
|
||||
12|ventura)
|
||||
6|ventura)
|
||||
key="ventura"
|
||||
;;
|
||||
13|sonoma)
|
||||
7|sonoma)
|
||||
key="sonoma"
|
||||
;;
|
||||
14|sequoia)
|
||||
8|sequoia)
|
||||
key="sequoia"
|
||||
;;
|
||||
15|tahoe)
|
||||
9|tahoe)
|
||||
key="tahoe"
|
||||
;;
|
||||
*)
|
||||
@@ -283,12 +218,12 @@ show_usage() {
|
||||
Usage: $0 [OPTIONS]
|
||||
|
||||
Options:
|
||||
-v, --version <number|name> macOS version to download (1-15 or name)
|
||||
-v, --version <number|name> macOS version to download (1-9 or name)
|
||||
-h, --help Show this help message
|
||||
|
||||
Examples:
|
||||
$0 # Interactive mode
|
||||
$0 -v 9 # Download Catalina
|
||||
$0 -v 3 # Download Catalina
|
||||
$0 -v catalina # Download Catalina by name
|
||||
$0 -v sonoma # Download Sonoma by name
|
||||
|
||||
@@ -317,7 +252,7 @@ main() {
|
||||
if [ $# -eq 0 ]; then
|
||||
# Interactive mode
|
||||
show_versions
|
||||
read -p "Select version (1-15): " version_choice
|
||||
read -p "Select version (1-9): " version_choice
|
||||
echo ""
|
||||
process_version "$version_choice"
|
||||
else
|
||||
|
||||
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
# Simple launcher for mkmaciso
|
||||
set -e
|
||||
|
||||
MKMACISO_URL="https://raw.githubusercontent.com/LongQT-sea/mkmaciso/main/mkmaciso"
|
||||
LOCAL_BIN="$HOME/.local/bin"
|
||||
TARGET="$LOCAL_BIN/mkmaciso"
|
||||
EXPORT_LINE='export PATH="$HOME/.local/bin:$PATH"'
|
||||
|
||||
# Install mkmaciso if missing
|
||||
if [[ ! -f "$TARGET" ]]; then
|
||||
mkdir -p "$LOCAL_BIN"
|
||||
curl -fsSL "$MKMACISO_URL" -o "$TARGET"
|
||||
chmod +x "$TARGET"
|
||||
fi
|
||||
|
||||
# Ensure ~/.local/bin is in PATH
|
||||
if [[ ":$PATH:" != *":$LOCAL_BIN:"* ]]; then
|
||||
case "$SHELL" in
|
||||
*/zsh) RC="$HOME/.zprofile" ;;
|
||||
*/bash) RC="$HOME/.bash_profile" ;;
|
||||
*) RC="$HOME/.profile" ;;
|
||||
esac
|
||||
|
||||
touch "$RC"
|
||||
grep -qxF "$EXPORT_LINE" "$RC" || printf '\n%s\n' "$EXPORT_LINE" >> "$RC"
|
||||
fi
|
||||
|
||||
exec "$TARGET" "$@"
|
||||
@@ -6,7 +6,7 @@ GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m'
|
||||
|
||||
|
||||
clear
|
||||
echo -e "${GREEN}=== Disable GateKeeper Script ===${NC}"
|
||||
echo ""
|
||||
echo -e "${YELLOW}Administrator privileges required.${NC}"
|
||||
@@ -14,7 +14,6 @@ echo -e "${YELLOW}Administrator privileges required.${NC}"
|
||||
sudo spctl --master-disable
|
||||
|
||||
echo ""
|
||||
echo "────────────────────────────"
|
||||
echo "Press CMD + Q to quit..."
|
||||
echo "────────────────────────────"
|
||||
echo ""
|
||||
echo "────────────────────────────────────"
|
||||
echo "Press Command-W to close this window"
|
||||
echo "────────────────────────────────────"
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -206,7 +206,7 @@
|
||||
<key>DiscardHibernateMap</key>
|
||||
<false/>
|
||||
<key>EnableSafeModeSlide</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>EnableWriteUnprotector</key>
|
||||
<true/>
|
||||
<key>FixupAppleEfiImages</key>
|
||||
@@ -222,13 +222,13 @@
|
||||
<key>ProtectUefiServices</key>
|
||||
<false/>
|
||||
<key>ProvideCustomSlide</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>ProvideMaxSlide</key>
|
||||
<integer>0</integer>
|
||||
<key>RebuildAppleMemoryMap</key>
|
||||
<false/>
|
||||
<key>ResizeAppleGpuBars</key>
|
||||
<integer>-1</integer>
|
||||
<integer>0</integer>
|
||||
<key>SetupVirtualMap</key>
|
||||
<false/>
|
||||
<key>SignalAppleOS</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>
|
||||
@@ -446,7 +451,7 @@
|
||||
<key>Comment</key>
|
||||
<string></string>
|
||||
<key>Enabled</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>ExecutablePath</key>
|
||||
<string>Contents/MacOS/IONetworkingFamily</string>
|
||||
<key>Identifier</key>
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
<key>DiscardHibernateMap</key>
|
||||
<false/>
|
||||
<key>EnableSafeModeSlide</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>EnableWriteUnprotector</key>
|
||||
<true/>
|
||||
<key>FixupAppleEfiImages</key>
|
||||
@@ -222,13 +222,13 @@
|
||||
<key>ProtectUefiServices</key>
|
||||
<false/>
|
||||
<key>ProvideCustomSlide</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>ProvideMaxSlide</key>
|
||||
<integer>0</integer>
|
||||
<key>RebuildAppleMemoryMap</key>
|
||||
<false/>
|
||||
<key>ResizeAppleGpuBars</key>
|
||||
<integer>-1</integer>
|
||||
<integer>0</integer>
|
||||
<key>SetupVirtualMap</key>
|
||||
<false/>
|
||||
<key>SignalAppleOS</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>
|
||||
|
||||
+21
-8
@@ -27,6 +27,14 @@ print_error() {
|
||||
echo -e "${RED}[ERROR]${NC} $1"
|
||||
}
|
||||
|
||||
# Check if running as root, if not, re-execute with sudo
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}[INFO]${NC} Administrator privileges required..."
|
||||
exec sudo "$0" "$@"
|
||||
exit
|
||||
fi
|
||||
|
||||
# Get macOS version
|
||||
get_macos_version() {
|
||||
sw_vers -productVersion
|
||||
@@ -39,11 +47,16 @@ determine_python_version() {
|
||||
local minor=$(echo "$macos_version" | cut -d. -f2)
|
||||
|
||||
if [ "$major" -eq 10 ]; then
|
||||
if [ "$minor" -ge 13 ]; then
|
||||
# macOS 10.13 and later
|
||||
PYTHON_VERSION="3.13.7"
|
||||
PYTHON_PKG="python-3.13.7-macos11.pkg"
|
||||
DOWNLOAD_URL="https://www.python.org/ftp/python/3.13.7/python-3.13.7-macos11.pkg"
|
||||
if [ "$minor" -ge 15 ]; then
|
||||
# macOS 10.15
|
||||
PYTHON_VERSION="3.14.0"
|
||||
PYTHON_PKG="python-3.14.0-macos11.pkg"
|
||||
DOWNLOAD_URL="https://www.python.org/ftp/python/3.14.0/python-3.14.0-macos11.pkg"
|
||||
elif [ "$minor" -ge 13 ] && [ "$minor" -le 14 ]; then
|
||||
# macOS 10.13 to 10.14
|
||||
PYTHON_VERSION="3.13.9"
|
||||
PYTHON_PKG="python-3.13.9-macos11.pkg"
|
||||
DOWNLOAD_URL="https://www.python.org/ftp/python/3.13.9/python-3.13.9-macos11.pkg"
|
||||
elif [ "$minor" -ge 9 ] && [ "$minor" -le 12 ]; then
|
||||
# macOS 10.9 to 10.12
|
||||
PYTHON_VERSION="3.9.13"
|
||||
@@ -60,9 +73,9 @@ determine_python_version() {
|
||||
fi
|
||||
elif [ "$major" -ge 11 ]; then
|
||||
# macOS 11 (Big Sur) and later
|
||||
PYTHON_VERSION="3.13.7"
|
||||
PYTHON_PKG="python-3.13.7-macos11.pkg"
|
||||
DOWNLOAD_URL="https://www.python.org/ftp/python/3.13.7/python-3.13.7-macos11.pkg"
|
||||
PYTHON_VERSION="3.14.0"
|
||||
PYTHON_PKG="python-3.14.0-macos11.pkg"
|
||||
DOWNLOAD_URL="https://www.python.org/ftp/python/3.14.0/python-3.14.0-macos11.pkg"
|
||||
else
|
||||
print_error "Unsupported macOS version: $macos_version"
|
||||
exit 1
|
||||
|
||||
@@ -18,18 +18,4 @@ 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.
|
||||
|
||||
---
|
||||
|
||||
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.
|
||||
SOFTWARE.
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ISO_FILE_NAME=LongQT-OpenCore-v0.3.iso
|
||||
ISO_FILE_NAME=LongQT-OpenCore-v0.7.iso
|
||||
VOL_NAME=LongQT-OpenCore
|
||||
SOURCE_DIR=./
|
||||
BOOT_IMG=BOOT.img
|
||||
@@ -30,14 +30,14 @@ xorriso -rockridge off -as mkisofs \
|
||||
-iso-level 3 \
|
||||
-V "${VOL_NAME}" \
|
||||
-J -joliet-long\
|
||||
-eltorito-alt-boot \
|
||||
-e "${BOOT_IMG}" \
|
||||
-no-emul-boot \
|
||||
-isohybrid-gpt-basdat \
|
||||
--boot-catalog-hide \
|
||||
-m ".git*" \
|
||||
-m "README.md" \
|
||||
-m "Make_ISO*" \
|
||||
-m "LICENSE*" \
|
||||
-m "cpu-models.conf" \
|
||||
-m "Create_Recovery_ISO*" \
|
||||
-output ~/Desktop/${ISO_FILE_NAME} \
|
||||
${SOURCE_DIR}
|
||||
+4
-4
@@ -8,6 +8,7 @@ GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m'
|
||||
|
||||
clear
|
||||
echo -e "${GREEN}=== EFI Partition Mount Script ===${NC}"
|
||||
echo ""
|
||||
|
||||
@@ -32,7 +33,6 @@ else
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "────────────────────────────"
|
||||
echo "Press CMD + Q to quit..."
|
||||
echo "────────────────────────────"
|
||||
echo ""
|
||||
echo "────────────────────────────────────"
|
||||
echo "Press Command-W to close this window"
|
||||
echo "────────────────────────────────────"
|
||||
@@ -1,23 +1,49 @@
|
||||
## About
|
||||
|
||||
A properly configured OpenCore **DVD/CD-format ISO file** for Proxmox VE to create macOS virtual machines.
|
||||
A carefully crafted OpenCore **ISO** image that makes creating macOS virtual machines on **Proxmox VE** and **QEMU/KVM** straightforward.
|
||||
|
||||
Supports all Intel-based macOS versions — from **Mac OS X 10.4** to **macOS 26**.
|
||||
Completely redesigned from scratch with a clean, efficient architecture that eliminates outdated methods and legacy configurations.
|
||||
|
||||
Supports every Intel-based macOS release, from **Mac OS X 10.4 Tiger** through **macOS 26 Tahoe**.
|
||||
|
||||
> [!TIP]
|
||||
> **For AMD users:**
|
||||
> Enjoy a true **vanilla macOS** experience with no kernel patches required for stable operation.
|
||||
> Enjoy true **vanilla macOS** experience with no kernel patches.
|
||||
> This is likely the best way to run macOS on AMD hardware while still retaining full hypervisor access to run other VMs.
|
||||
|
||||
---
|
||||
## Table of Contents
|
||||
|
||||
## 📦 Download
|
||||
|
||||
Get the latest OpenCore ISO and macOS Recovery here: 👉 [Release page](https://github.com/LongQT-sea/OpenCore-ISO/releases)
|
||||
- [Download](#download)
|
||||
- [Quick Start Guide](#quick-start-guide)
|
||||
- [1. Create a New VM](#1-create-a-new-vm-in-the-proxmox-ve-web-interface)
|
||||
- [2. General](#2-general)
|
||||
- [3. OS](#3-os)
|
||||
- [4. System](#4-system)
|
||||
- [5. Hard Disk](#5-hard-disk)
|
||||
- [6. CPU](#6-cpu)
|
||||
- [7. Memory](#7-memory)
|
||||
- [8. Network](#8-network)
|
||||
- [9. Finalize](#9-finalize)
|
||||
- [10. Troubleshooting](#10-troubleshooting)
|
||||
- [Post-Install](#post-install)
|
||||
- [macOS Tahoe Cursor Freeze Fix](#macos-tahoe-cursor-freeze-fix)
|
||||
- [Contributing](#contributing)
|
||||
- [Credits](#credits)
|
||||
- [License & Attribution](#license--attribution)
|
||||
- [Disclaimer](#disclaimer)
|
||||
|
||||
---
|
||||
|
||||
## ⚡ Quick Start Guide
|
||||
## Download
|
||||
|
||||
* Get the latest OpenCore-ISO: 👉 [Release page](https://github.com/LongQT-sea/OpenCore-ISO/releases)
|
||||
* For macOS installers and recovery ISOs: 👉 [LongQT-sea/macos-iso-builder](https://github.com/LongQT-sea/macos-iso-builder)
|
||||
|
||||
> [!TIP]
|
||||
> Run [**`Create_macOS_ISO.command`**](/Create_macOS_ISO.command) inside your VM to download the full macOS installer from Apple and generate a proper DVD-format macOS installer ISO.
|
||||
|
||||
---
|
||||
|
||||
## Quick Start Guide
|
||||
|
||||
### 1. Create a New VM in the Proxmox VE web interface
|
||||
|
||||
@@ -39,8 +65,8 @@ Get the latest OpenCore ISO and macOS Recovery here: 👉 [Release page](https:/
|
||||
|
||||
### 4. System
|
||||
|
||||
* **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)
|
||||
* **Machine Type**: q35 (if using **i440fx**, add `+invtsc` CPU flag, see [cpu-models.conf](https://github.com/LongQT-sea/OpenCore-ISO/blob/main/cpu-models.conf))
|
||||
* **BIOS**: OVMF (UEFI)
|
||||
* **Add EFI Disk**: ✅ Enabled
|
||||
* **Pre-Enroll Keys**: ❌ Untick to disable Secure Boot
|
||||
* **QEMU Guest Agent**:
|
||||
@@ -55,55 +81,74 @@ Get the latest OpenCore ISO and macOS Recovery here: 👉 [Release page](https:/
|
||||
The **disk bus type** depends on your needs:
|
||||
|
||||
* **VirtIO** – Better performance
|
||||
* **SATA** – Supports TRIM/discard for more efficient storage usage
|
||||
* **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.
|
||||
> [!Tip]
|
||||
> Choosing `SATA` with ✅ SSD emulation and ✅ Discard enabled is recommended, as it automatically supports TRIM for more efficient storage usage.
|
||||
|
||||
---
|
||||
|
||||
### 6. CPU
|
||||
|
||||
> [!CAUTION]
|
||||
> Follow these CPU settings carefully! Incorrect CPU configuration will cause boot failure.
|
||||
|
||||
#### Cores
|
||||
|
||||
Choose based on your hardware: 1 / 2 / 4 / 8 / 16 / 32
|
||||
* Choose based on your hardware: 1 / 2 / 4 / 8 / 16 / 32 / 64
|
||||
|
||||
> [!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` |
|
||||
| macOS Version | Recommended CPU Type |
|
||||
| ------------------------ | -------------------------------------------------- |
|
||||
| macOS 10.11 – macOS 26 | `Skylake-Client-v4`, `Skylake-Server-v4` (AVX-512) |
|
||||
| macOS 10.4 – macOS 10.10 | `Penryn` |
|
||||
|
||||
> [!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:
|
||||
> **AMD CPUs:**
|
||||
> * **macOS 10.4 – macOS 12**, tick ✅ **Advanced**, under **Extra CPU Flags**, turn off `pcid` and `spec-ctrl`. [^amdcpu1]
|
||||
> * **macOS 13 – macOS 26**, need to set the CPU manually via the Proxmox VE Shell[^amdcpu2], example:
|
||||
>
|
||||
> ```
|
||||
> qm set [VMID] --args "-cpu Broadwell-noTSX,vendor=GenuineIntel"
|
||||
> # For CPUs with AVX2 support
|
||||
> qm set [VMID] --args "-cpu Skylake-Client-v4,vendor=GenuineIntel"
|
||||
> ```
|
||||
>
|
||||
> **Notes for Intel CPUs:**
|
||||
> # For CPUs with AVX-512 support
|
||||
> qm set [VMID] --args "-cpu Skylake-Server-v4,vendor=GenuineIntel"
|
||||
> ```
|
||||
> ---
|
||||
> **Intel CPUs:**
|
||||
> * Intel HEDT / E5-2xxx v3/v4 need to override CPUID `model`[^intel-hedt], example:
|
||||
>
|
||||
> * 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"
|
||||
> qm set [VMID] --args "-cpu Haswell-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.
|
||||
> * Intel Haswell desktops need to override `stepping` when using `Haswell-noTSX`[^haswell]:
|
||||
> ```
|
||||
> qm set [VMID] --args "-cpu Haswell-noTSX,vendor=GenuineIntel,stepping=3"
|
||||
> ```
|
||||
> * Avoid using [`host`](https://browser.geekbench.com/v6/cpu/14313138) passthrough CPU types[^hostcpu] — they can be **~30% slower (single-core)** and **~44% slower (multi-core)** compared to [`recommended`](https://browser.geekbench.com/v6/cpu/14205183) CPU types.
|
||||
|
||||
For more details, see [QEMU CPU Guide – macOS Guests](https://github.com/LongQT-sea/qemu-cpu-guide?#macos-guests).
|
||||
|
||||
---
|
||||
|
||||
### 7. Memory
|
||||
|
||||
* **RAM**: Minimum 2 GB (4 GB or more recommended)
|
||||
* **Ballooning Device**: ❌ Disable
|
||||
* Disable ❌ Ballooning Device
|
||||
|
||||
---
|
||||
|
||||
@@ -121,39 +166,123 @@ Choose the correct adapter based on macOS version:
|
||||
|
||||
### 9. Finalize
|
||||
|
||||
Add an **additional CD/DVD drive** for the macOS installer or Recovery ISO.
|
||||
Add an **additional CD/DVD drive** for the macOS installer or Recovery ISO, then start the VM to begin installation.
|
||||
|
||||
> [!Tip]
|
||||
> * First-time installing macOS? Format the disk in **Disk Utility** before installing macOS.
|
||||
> * **Skip iCloud login** during setup (configure it later, see [Post-Install](#post-install))
|
||||
|
||||
**Got it running?** Maybe give the repo a star... nah nevermind, do whatever.
|
||||
|
||||
### 10. Troubleshooting
|
||||
|
||||
If you encounter boot issues, check:
|
||||
* Secure Boot is **disabled** (`Pre-Enroll Keys` unchecked)
|
||||
* The ISO is mounted as a **CD/DVD**, not a disk
|
||||
* Try a different **CPU model**
|
||||
|
||||
macOS 10.4 Tiger no-keyboard issue:
|
||||
* Either add `-device usb-kbd` to the QEMU args or run `device_add usb-kbd` in the VM Monitor tab.
|
||||
|
||||
---
|
||||
|
||||
## Post-Install
|
||||
|
||||
### 1. Install OpenCore onto the macOS startup disk (macOS 10.11 – macOS 26)
|
||||
* After macOS installation is complete, open **`LongQT-OpenCore`** on the Desktop and run **`Mount_EFI.command`** to mount the EFI partition on the macOS startup disk.
|
||||
* Copy the **EFI** folder from **`LongQT-OpenCore/EFI_RELEASE/`** to the mounted EFI partition. This ensures that macOS will boot using the OpenCore EFI stored on the macOS startup disk in future startups.
|
||||
* Run **`Install_Python3.command`** to install Python 3, many apps and scripts need it.
|
||||
* Copy **`Mount_EFI.command`**, **`ProperTree`**, and **`GenSMBIOS`** to the Desktop for later use when you need to edit **`config.plist`**.
|
||||
* You can now remove the **LongQT-OpenCore** ISO CD/DVD from the VM **Hardware** tab.
|
||||
|
||||
### 2. To enable iCloud, iMessage, and other iServices:
|
||||
* Follow [Dortania iServices](https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html) guide to generate your own SMBIOS.
|
||||
* macOS 15 and macOS 26 need to install [VMHide.kext](https://github.com/Carnations-Botanica/VMHide)
|
||||
|
||||
### 3. For smooth GUI performance and 3D acceleration
|
||||
|
||||
* Pass through a supported Intel iGPU or dGPU:
|
||||
|
||||
* **Intel iGPU passthrough:** see [LongQT-sea/intel-igpu-passthru](https://github.com/LongQT-sea/intel-igpu-passthru)
|
||||
* **dGPU passthrough:** ensure you have a supported dGPU, see [Dortania GPU Buyers Guide](https://dortania.github.io/GPU-Buyers-Guide/modern-gpus/amd-gpu.html#native-amd-gpus)
|
||||
|
||||
> [!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"
|
||||
> ```
|
||||
> PCIe/dGPU passthrough on a **q35** machine requires:
|
||||
> * Disable Resizable BAR / Smart Access Memory in UEFI/BIOS.
|
||||
> * Disable QEMU ACPI-based PCI hotplug (revert to native PCIe hotplug). Run this in the Proxmox shell:
|
||||
> ```
|
||||
> clear; read -p "Enter your macOS VM ID number: " 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"
|
||||
> ```
|
||||
|
||||
> [!Tip]
|
||||
> If you need ReBAR enabled for another GPU then you need to set **BAR 0** of the dGPU you want to passthrough to **256MB**, e.g.
|
||||
> ```
|
||||
> echo 8 > /sys/bus/pci/devices/0000:04:00.0/resource0_resize
|
||||
> ```
|
||||
> For details on changing BAR size at the OS level, see:
|
||||
> https://angrysysadmins.tech/index.php/2023/08/grassyloki/vfio-how-to-enable-resizeable-bar-rebar-in-your-vfio-virtual-machine/
|
||||
|
||||
> [!Tip]
|
||||
> On modern macOS versions, if you need a dummy virtual sound device (e.g., for **Parsec, Sunshine/MoonLight**), run this in Proxmox shell:
|
||||
> ```
|
||||
> clear; read -p "Enter your macOS VM ID number: " VMID; \
|
||||
> ARGS="$(qm config $VMID --current | grep ^args: | cut -d' ' -f2-)"; \
|
||||
> qm set $VMID -args "$ARGS -device virtio-sound,audiodev=dummy -audiodev none,id=dummy"
|
||||
> ```
|
||||
|
||||
> [!Tip]
|
||||
> To disable SIP, press <kbd>Spacebar</kbd> in the OpenCore boot menu and select the "Toggle SIP" option.
|
||||
|
||||
---
|
||||
|
||||
> [!CAUTION]
|
||||
> These iso are **true CD/DVD ISO image**.
|
||||
> Do **NOT** modify the VM config to change ***`media=cdrom`*** to ***`media=disk`***.
|
||||
## macOS Tahoe Cursor Freeze Fix
|
||||
|
||||
On **macOS 26**, the cursor may randomly freeze. A temporary workaround is to toggle **Use tablet for pointer** in VM’s **Options** tab.
|
||||
|
||||
A better fix is to use **`virtio-tablet-pci`**. To do this, disable **Use tablet for pointer** in VM’s **Options** tab, then run this in Proxmox shell:
|
||||
```
|
||||
clear; read -p "Enter your macOS VM ID number: " VMID; \
|
||||
ARGS="$(qm config $VMID --current | grep ^args: | cut -d' ' -f2-)"; \
|
||||
qm set $VMID -args "$ARGS -device virtio-tablet"
|
||||
```
|
||||
> [!Note]
|
||||
> With **`virtio-tablet-pci`**, middle-click on your real mouse acts as a right-click in the VM.
|
||||
|
||||
The most reliable solution is to passthrough a physical mouse and keyboard together with an iGPU or dGPU.
|
||||
|
||||
Alternatively, use a remote desktop solution, e.g. **VNC Screen Sharing** (Settings → General → Sharing) or **Chrome Remote Desktop**.
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ Troubleshooting
|
||||
## Contributing
|
||||
Contributions are welcome! Please feel free to submit a pull request. For major changes, open a **Discussion** first to discuss what you would like to change.
|
||||
|
||||
If you encounter issues, check:
|
||||
## Credits
|
||||
- [Acidanthera](https://github.com/acidanthera) team for OpenCorePkg and kexts.
|
||||
- [CorpNewt](https://github.com/corpnewt) for ProperTree, GenSMBIOS.
|
||||
- [Dortania](https://dortania.github.io/) for comprehensive guides.
|
||||
|
||||
* 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**
|
||||
## License & Attribution
|
||||
|
||||
---
|
||||
This project is licensed under the MIT License (see [LICENSE](LICENSE) file).
|
||||
|
||||
## 🤝 Support & Contributions
|
||||
It also includes components from Acidanthera and other developers, each with their own licenses. All third-party components retain their original licenses.
|
||||
|
||||
Need help or want to contribute?
|
||||
Visit the project on GitHub:
|
||||
🔗 [**LongQT-OpenCore-ISO**](https://github.com/LongQT-sea/OpenCore-ISO)
|
||||
**If you create content using this project** (videos, blog posts, tutorials, articles):
|
||||
- Please link back to this repository: `https://github.com/LongQT-sea/OpenCore-ISO`
|
||||
- Mention that detailed **instructions** are in this GitHub repo.
|
||||
|
||||
Thank you for respecting the work that went into this project!
|
||||
|
||||
## Disclaimer
|
||||
This project is provided “as‑is”, without any warranties, and is intended for educational, research, and security testing purposes. In no event shall the authors or contributors be liable for any direct, indirect, incidental, special, or consequential damages arising from use of the project, even if advised of the possibility of such damages.
|
||||
|
||||
All product names, trademarks, and registered trademarks are property of their respective owners. All company, product, and service names used in this repository are for identification purposes only.
|
||||
|
||||
[^amdcpu1]: The `pcid` and `spec-ctrl` flags are Intel-only CPU features.
|
||||
[^amdcpu2]: On macOS 13–26 running on AMD processors, these CPU flags `enforce,+kvm_pv_eoi,+kvm_pv_unhalt` (the default in Proxmox) prevent macOS from booting, so we override them with custom `-cpu` args.
|
||||
[^intel-hedt]: Override the CPUID model to one used in real Macs (e.g., `model=158`, which corresponds to the Coffee Lake CPUID model).
|
||||
[^haswell]: QEMU Haswell-noTSX CPU model has `stepping=4`, but macOS expects an earlier stepping (below 4).
|
||||
[^hostcpu]: This is one of the main reasons I created this project. All other project use `host` when running on supported Intel CPUs.
|
||||
+4
-5
@@ -1,7 +1,7 @@
|
||||
{\rtf1\ansi\ansicpg1252\cocoartf2865
|
||||
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\froman\fcharset0 Times-Bold;\f1\froman\fcharset0 Times-Roman;}
|
||||
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
|
||||
{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;}
|
||||
{\colortbl;\red255\green255\blue255;}
|
||||
{\*\expandedcolortbl;;}
|
||||
{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}}
|
||||
{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
|
||||
\margl1440\margr1440\vieww18700\viewh10820\viewkind0
|
||||
@@ -13,9 +13,8 @@ Note:\
|
||||
\pard\tx220\tx720\pardeftab720\li720\fi-720\sa240\partightenfactor0
|
||||
\ls1\ilvl0
|
||||
\f1\b0 \cf0 \kerning1\expnd0\expndtw0 {\listtext \uc0\u8226 }\expnd0\expndtw0\kerning0
|
||||
For macOS 10.10 or older: Use the ISO to boot, or use the EFI inside BOOT.img.\
|
||||
For macOS 10.10 or older: Keep using this ISO to boot, or use the EFI inside BOOT.img.\
|
||||
\ls1\ilvl0\kerning1\expnd0\expndtw0 {\listtext \uc0\u8226 }\expnd0\expndtw0\kerning0
|
||||
For macOS 10.11 or newer: Use either EFI_RELEASE or EFI_DEBUG.\
|
||||
\pard\tx720\pardeftab720\sa240\partightenfactor0
|
||||
\cf0 \
|
||||
Source: https://github.com/LongQT-sea/OpenCore-ISO}
|
||||
\cf0 Source: https://github.com/LongQT-sea/OpenCore-ISO}
|
||||
+2
-22
@@ -1,5 +1,6 @@
|
||||
# Proxmox VE custom CPU models for macOS on i440fx machine type (iGPU passthrough)
|
||||
# Location: /etc/pve/virtual-guest/cpu-models.conf
|
||||
# Usage: qm set [VMID] --cpu Skylake-Client-with-invtsc
|
||||
# Use host-with-invtsc as a last resort
|
||||
|
||||
cpu-model: host-with-invtsc
|
||||
@@ -16,30 +17,9 @@ cpu-model: Skylake-Client-with-invtsc
|
||||
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
|
||||
reported-model Broadwell-noTSX
|
||||
Reference in new issue
Block a user