Cài mac os trên laptop coffe lake
# Bắt đầuLàm file config.plist trông có vẻ khó, nhưng thật ra không. Nó chỉ mất thời gian thôi nhưng bài hướng dẫn này sẽ giúp bạn cấu hình mọi thứ. Điều này cũng có nghĩa là nếu như bạn có vấn đề, hay xem lại file config để chắc chắn rằng bạn đã làm đúng. Những điều cần chú ý với OpenCore: Show
Với tất cả những điều trên, một lời nhắc nhở về những thứ mà chúng ta cần:
Đọc phần này nhiều hơn một lần trước khi thiết lập OpenCore và chắc chắn rằng bạn đã làm đúng. Nên nhớ rằng các hình ảnh không phải lúc nào cũng được cập nhật nên xin hay đọc phần chữ ở bên dưới, nếu không được nhắc đến thì hãy để như mặc định # ACPI# AddInfo This is where you'll add SSDTs for your system, these are very important to booting macOS and have many uses like USB maps (opens new window), disabling unsupported GPUs and such. And with our system, it's even required to boot. Guide on making them found here: Getting started with ACPI (opens new window) For us we'll need a couple of SSDTs to bring back functionality that Clover provided:
Note that you should not add your generated For those wanting a deeper dive into dumping your DSDT, how to make these SSDTs, and compiling them, please see the Getting started with ACPI
(opens new window) page. Compiled SSDTs have a .aml extension(Assembled) and will go into the # DeleteThis blocks certain ACPI tables from loading, for us we can ignore this. # PatchInfo This section allows us to dynamically modify parts of the ACPI (DSDT, SSDT, etc.) via OpenCore. For us, we'll need the following:
# QuirksSettings relating to ACPI, leave everything here as default as we have no use for these quirks. # BooterThis section is dedicated to quirks relating to boot.efi patching with OpenRuntime, the replacement for AptioMemoryFix.efi # MmioWhitelistThis section is allowing spaces to be pass-through to macOS that are generally
ignored, useful when paired with # QuirksInfo Settings relating to boot.efi patching and firmware fixes, for us, we need to change the following:
# DeviceProperties# AddSets device properties from a map. PciRoot(0x0)/Pci(0x2,0x0) This section is set up via WhateverGreen's Framebuffer Patching Guide (opens new window) and is used for setting important iGPU properties. When setting up your iGPU, the table below should help with finding the right values to set. Here is an explanation of some values:
Generally follow these steps when setting up your iGPU properties. Follow the configuration notes below the table if they say anything different:
# Configuration Notes
PciRoot(0x0)/Pci(0x1b,0x0)
For us, we'll be using the boot argument # DeleteRemoves device properties from the map, for us we can ignore this # Kernel# AddHere's where we specify which kexts to load, in what specific order to load, and what architectures each kext is meant for. By default we recommend leaving what ProperTree has done, however for 32-bit CPUs please see below: The main thing you need to keep in mind is:
A reminder that ProperTree (opens new window) users can run Cmd/Ctrl + Shift + R to add all their kexts in the correct order without manually typing each kext out.
# EmulateNeeded for spoofing unsupported CPUs like Pentiums and Celerons
# ForceUsed for loading kexts off system volume, only relevant for older operating systems where certain kexts are not present in the cache(ie. IONetworkingFamily in 10.6). For us, we can ignore. # BlockBlocks certain kexts from loading. Not relevant for us. # PatchPatches both the kernel and kexts. # QuirksInfo Settings relating to the kernel, for us we'll be enabling the following:
The reason being is that UsbInjectAll reimplements builtin macOS functionality without proper current tuning. It is much cleaner to just describe your ports in a single plist-only kext, which will not waste runtime memory and such # SchemeSettings related to legacy booting(ie. 10.4-10.6), for majority you can skip however for those planning to boot legacy OSes you can see below: More in-depth Info
# Misc# BootSettings for boot screen (Leave everything as default). # DebugInfo Helpful for debugging OpenCore boot issues(We'll be changing everything but
These values are based of those calculated in OpenCore debugging # SecurityInfo Security is pretty self-explanatory, do not skip. We'll be changing the following:
# ToolsUsed for running OC debugging tools like the shell, ProperTree's snapshot function will add these for you. # EntriesUsed for specifying irregular boot paths that can't be found naturally with OpenCore. Won't be covered here, see 8.6 of Configuration.pdf (opens new window) for more info # NVRAM# Add4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14 Used for OpenCore's UI scaling, default will work for us. See in-depth section for more info More in-depth InfoBooter Path, mainly used for UI Scaling
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 OpenCore's NVRAM GUID, mainly relevant for RTCMemoryFixup users More in-depth Info
7C436110-AB2A-4BBB-A880-FE41995C9F82 System Integrity Protection bitmask
# DeleteForcibly rewrites NVRAM variables, do note that
# PlatformInfoInfo For setting up the SMBIOS info, we'll use CorpNewt's GenSMBIOS (opens new window) application. For this Coffee Lake example, we'll chose the MacBookPro15,1 SMBIOS - this is done intentionally for compatibility's sake. The breakdown is as follows:
Run GenSMBIOS, pick option 1 for downloading MacSerial and Option 3 for selecting out SMBIOS. This will give us an output similar to the following: The The The The We set Generic -> ROM to either an Apple ROM
(dumped from a real Mac), your NIC MAC address, or any random MAC address (could be just 6 random bytes, for this guide we'll use Reminder that you want either an invalid serial or valid serial numbers but those not in use, you want to get a message back like: "Invalid Serial" or "Purchase Date not Validated" Apple Check Coverage page (opens new window) Automatic: YES
# GenericMore in-depth Info
# UEFIConnectDrivers: YES
# DriversAdd your .efi drivers here. Only drivers present here should be:
# APFSSettings related to the APFS driver, leave everything here as default. # AudioRelated to AudioDxe settings, for us we'll be ignoring(leave as default). This is unrelated to audio support in macOS.
# InputRelated to boot.efi keyboard passthrough used for FileVault and Hotkey support, leave everything here as default as we have no use for these quirks. See here for more details: Security and FileVault (opens new window) # OutputRelating to OpenCore's visual output, leave everything here as default as we have no use for these quirks. # ProtocolOverridesMainly relevant for Virtual machines, legacy macs and FileVault users. See here for more details: Security and FileVault (opens new window) # QuirksInfo Relating to quirks with the UEFI environment, for us we'll be changing the following:
# ReservedMemoryUsed for exempting certain memory regions from OSes to use, mainly relevant for Sandy Bridge iGPUs or systems with faulty memory. Use of this quirk is not covered in this guide # Cleaning upAnd now you're ready to save and place it into your EFI under EFI/OC. For those having booting issues, please make sure to read the Troubleshooting section first and if your questions are still unanswered we have plenty of resources at your disposal:
Sanity check: So thanks to the efforts of Ramus, we also have an amazing tool to help verify your config for those who may have missed something:
Note that this tool is neither made nor maintained by Dortania, any and all issues with this site should be sent here: Sanity Checker Repo (opens new window) # Config remindersHP Users:
Dell Users: For Skylake and newer:
# Intel BIOS settings
# Disable
# Enable
# Now with all this done, head to the Installation Page |