Changes between Version 4 and Version 5 of jazz/Hackintosh


Ignore:
Timestamp:
May 28, 2024, 2:04:09 PM (5 weeks ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Hackintosh

    v4 v5  
    3838See "man sudo_root" for details.
    3939}}}
     40
     41=== (1) OSX-KVM ===
     42
    4043* 安裝必要的套件 Install QEMU and other packages.
    4144  * 由於 qemu 在 Ubuntu 22.04 LTS 是 dummy package, 在 Ubuntu 24.04 LTS 已經沒有這個套件。先拿掉再來看到底程式會用到什麼 QEMU 指令。
     
    137140Archive successfully decompressed as BaseSystem.img
    138141}}}
    139 *
     142* Create a virtual HDD image where macOS will be installed.
    140143{{{
    141144ubuntu@ip-172-31-18-147:~/OSX-KVM$ qemu-img create -f qcow2 mac_hdd_ng.img 256G
    142145Formatting 'mac_hdd_ng.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=274877906944 lazy_refcounts=off refcount_bits=16
    143146}}}
     147* CLI method (primary). Just run the OpenCore-Boot.sh script to start the installation process.
     148{{{
     149ubuntu@ip-172-31-18-147:~/OSX-KVM$ ./OpenCore-Boot.sh
     150}}}
     151* 失敗,找不到 KVM。
     152
     153=== (2) OSX-Simple-KVM ===
     154
     155* 參考: https://www.baeldung.com/linux/xcode
     156* https://github.com/foxlet/macOS-Simple-KVM
     157* 先安裝必要的套件
     158{{{
     159ubuntu@ip-172-31-18-147:~$ sudo apt-get install qemu-system qemu-utils python3 python3-pip
     160}}}
     161*
     162{{{
     163ubuntu@ip-172-31-18-147:~$ git clone https://github.com/foxlet/macOS-Simple-KVM.git
     164ubuntu@ip-172-31-18-147:~$ cd macOS-Simple-KVM/
     165}}}