AMD Ryzen搭載の自作PCでmacOS 10.15.3 Catalinaを動かすまでの手順です。
以前は、AMD用のpatchを当てたkernelが必要なため、手順が複雑でしたが、
新しいBoot loaderであるOpenCoreによりmacOSはvanillaなまま比較的簡単にinstallすることができました。
現在、稼働しているmacOS(High SierraとかMojave)があることを前提とします。
参考にしたガイド
hardware
- CPU : AMD Ryzen 7 1700
- MB : MSI X370 GAMING Pro Carbon
- GPU : Radeon RX 570
- SSD : Toshiba THNSNH128GCST
- Memory : Corseai DDR4 PC4-25600 8GB 2枚組
- USB stick : Silicon-Power16G
software
- macOS 10.15.3 Catalina ApplicationフォルダにDL
- Opencore https://github.com/acidanthera/OpenCorePkg/releases
- AppleSupport https://github.com/acidanthera/AppleSupportPkg/releases
- ProperTree https://github.com/corpnewt/ProperTree
USB installerを作成
- 16GBのUSBメモリを用意
- Disk UtilityでUSBメモリを初期化。 HFS+/MacOS Journaled,GUID partitionでMyVolumeという名前に
- Terminalで以下を実行
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
USB installerのEFI
- MountEFIを入手 https://github.com/corpnewt/MountEFI
- MountEFIを実行 "Install macOS Catalina"を選択。"q”で終了。
- OpenCore-0.5.5-DEBUG.zipを展開
- OpenCore-0.5.5-DEBUG/EFIフォルダを /Volume/EFIにコピー
(/Volume/EFI/EFIとなります。/Volume/EFIと思い込んでいて起動失敗した) - OpenCore-0.5.5-DEBUG/Docs/Sample.plistを/Volume/EFI/EFI/OCにコピー
- Sample.plistをconfig.plistと名前を変える
ファイルを集める
- SSDT-EC-USBX-AMD.amlを入手 https://github.com/khronokernel/Opencore-Vanilla-Desktop-Guide/blob/master/extra-files/SSDT-EC-USBX-AMD.aml
- SSDT-EC-USBX-AMD.amlをOC/ACPIフォルダにコピー
- AppleSupport-2.1.5-DEBUG.zipを展開
- DriversフォルダのApfsDriverLoader.efiとVBoxHfs.efiをOC/Driversにコピー
- OC/DriversのAppleUsbKbDxe.efi,NvmExpressDxe.efi,XhciDxe.efiを削除
kextを集める
- VirtualSMC.kextを入手 https://github.com/acidanthera/VirtualSMC/releases
- Lilu.kextを入手 https://github.com/acidanthera/lilu/releases
- WhateverGreen.kextを入手 https://github.com/acidanthera/whatevergreen/releases
- AppleALC.kextを入手 https://github.com/acidanthera/applealc/releases
- Ethernetのkextを入手 ここはMB/boardのchipに合わせる
- SmallTreeIntel82576 https://github.com/khronokernel/SmallTree-I211-AT-patch/releases
- IntelMausiEthernet https://github.com/Mieze/IntelMausiEthernet
- AtherosE2200Ethernet https://github.com/Mieze/AtherosE2200Ethernet/releases
- RealtekRTL8111 https://github.com/Mieze/RTL8111_driver_for_OS_X/releases
- 集めて展開したkextをOC/Kextsにコピー
(その2に続く)