Как установить open core

Как установить open core

Ryzen and Threadripper(17h and 19h)

So making a config.plist may seem hard, it’s not. It just takes some time but this guide will tell you how to configure everything, you won’t be left in the cold. This also means if you have issues, review your config settings to make sure they’re correct. Main things to note with OpenCore:

Now with all that, a quick reminder of the tools we need

And read this guide more than once before setting up OpenCore and make sure you have it set up correctly. Do note that images will not always be the most up-to-date so please read the text below them, if nothing’s mentioned then leave as default.

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

This is where you’ll add SSDTs for your system, these are very important to booting macOS and have many uses like USB maps, 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

Required SSDTsDescription
SSDT-EC-USBXFixes both the embedded controller and USB power, see Getting Started With ACPI Guide for more details.
SSDT-CPURFixes CPU definitions with B550 and A520 motherboards, do not use if you don’t have an AMD B550 or A520 system. You can find a prebuilt here: SSDT-CPUR.aml

Note that you should not add your generated DSDT.aml here, it is already in your firmware. So if present, remove the entry for it in your config.plist and under EFI/OC/ACPI.

This blocks certain ACPI tables from loading, for us we can ignore this.

This section allows us to dynamically modify parts of the ACPI (DSDT, SSDT, etc.) via OpenCore. For us, our patches are handled by our SSDTs. This is a much cleaner solution as this will allow us to boot Windows and other OSes with OpenCore

Settings relating to ACPI, leave everything here as default as we have no use for these quirks.

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

This section is dedicated to quirks relating to boot.efi patching with OpenRuntime, the replacement for AptioMemoryFix.efi

This section is allowing spaces to be passthrough to macOS that are generally ignored, useful when paired with DevirtualiseMmio

. tip Info Settings relating to boot.efi patching and firmware fixes, for us, we need to change the following:

QuirkEnabledComment
DevirtualiseMmioNONote TRx40 requires this flag
EnableWriteUnprotectorNO
RebuildAppleMemoryMapYES
SetupVirtualMapYES— Note B550, A520 and TRx40 boards should disable this. Newer BIOS versions of X570 also require this off
— X470 and B450 with late 2020 BIOS updates also require this disabled
SyncRuntimePermissionsYES
.

. details More in-depth Info

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Sets device properties from a map.

By default, the Sample.plist has this section set for iGPU and Audio. We have no iGPU so PciRoot PciRoot(0x0)/Pci(0x2,0x0) can be removed from Add section. For audio we’ll be setting the layout in the boot-args section, so removal of PciRoot(0x0)/Pci(0x1b,0x0) is also recommended from both Add and Block sections

TL;DR, delete all the PciRoot’s here as we won’t be using this section.

Removes device properties from the map, for us we can ignore this

Here’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:

. details More in-depth Info

The main thing you need to keep in mind is:

A reminder that ProperTree users can run Cmd/Ctrl + Shift + R to add all their kexts in the correct order without manually typing each kext out.

. details Kernel Support Table

OS X VersionMinKernelMaxKernel
10.48.0.08.99.99
10.59.0.09.99.99
10.610.0.010.99.99
10.711.0.011.99.99
10.812.0.012.99.99
10.913.0.013.99.99
10.1014.0.014.99.99
10.1115.0.015.99.99
10.1216.0.016.99.99
10.1317.0.017.99.99
10.1418.0.018.99.99
10.1519.0.019.99.99
1120.0.020.99.99
1221.0.021.99.99

Needed for spoofing unsupported CPUs like Pentiums and Celerons and to disable CPU power management on unsupported CPUs (such as AMD CPUs)

QuirkEnabled
DummyPowerManagementYES

. details More in-depth Info

. details Kernel Support Table

OS X VersionMinKernelMaxKernel
10.48.0.08.99.99
10.59.0.09.99.99
10.610.0.010.99.99
10.711.0.011.99.99
10.812.0.012.99.99
10.913.0.013.99.99
10.1014.0.014.99.99
10.1115.0.015.99.99
10.1216.0.016.99.99
10.1317.0.017.99.99
10.1418.0.018.99.99
10.1519.0.019.99.99
1120.0.020.99.99
1221.0.021.99.99

Used 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.

Blocks certain kexts from loading. Not relevant for us.

This is where the AMD kernel patching magic happens. Please do note that KernelToPatch and MatchOS from Clover becomes Kernel and MinKernel / MaxKernel in OpenCore, you can find pre-made patches by AlGrey(algrey#9303).

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Where is replaced with the physical core count of your CPU in hexadecimal. For example, an 8-Core 5800X would have the new Replace value be:

. details Core Count => Hexadecimal Table

Core CountHexadecimal
4 Core04
6 Core06
8 Core08
12 Core0C
16 Core10
24 Core18
32 Core20
64 Core40

Settings relating to the kernel, for us we’ll be enabling the following:

QuirkEnabledComment
PanicNoKextDumpYES
PowerTimeoutKernelPanicYES
ProvideCurrentCpuInfoYES
XhciPortLimitYESDisable if running macOS 11.3+

. details More in-depth Info

AppleCpuPmCfgLock: NO

AppleXcpmCfgLock: NO

AppleXcpmExtraMsrs: NO

CustomSMBIOSGuid: NO

DisableIoMapper: NO

DisableLinkeditJettison: YES

DisableRtcChecksum: NO

ExtendBTFeatureFlags NO

LapicKernelPanic: NO

LegacyCommpage: NO

PanicNoKextDump: YES

PowerTimeoutKernelPanic: YES

ProvideCurrentCpuInfo: YES

XhciPortLimit: YES

Settings 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:

. details More in-depth Info

FuzzyMatch: True

KernelArch: x86_64

KernelCache: Auto

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Settings for boot screen (Leave everything as default).

Helpful for debugging OpenCore boot issues(We’ll be changing everything but DisplayDelay ):

QuirkEnabled
AppleDebugYES
ApplePanicYES
DisableWatchDogYES
Target67

. details More in-depth Info

These values are based of those calculated in OpenCore debugging

Security is pretty self-explanatory, do not skip. We’ll be changing the following:

QuirkEnabledComment
AllowNvramResetYES
AllowSetDefaultYES
BlacklistAppleUpdateYES
ScanPolicy0
SecureBootModelDefaultLeave this as Default if running macOS Big Sur or newer. The next page goes into more detail about this setting.
VaultOptionalThis is a word, it is not optional to omit this setting. You will regret it if you don’t set it to Optional, note that it is case-sensitive

. details More in-depth Info

AllowNvramReset: YES

AllowSetDefault: YES

ApECID: 0

AuthRestart: NO

BlacklistAppleUpdate: YES

DmgLoading: Signed

ExposeSensitiveData: 6

Vault: Optional

ScanPolicy: 0

SecureBootModel: Disabled

Used for running OC debugging tools like the shell, ProperTree’s snapshot function will add these for you.

Used for specifying irregular boot paths that can’t be found naturally with OpenCore.

Won’t be covered here, see 8.6 of Configuration.pdf for more info

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Used for OpenCore’s UI scaling, default will work for us. See in-depth section for more info

. details More in-depth Info

Booter Path, mainly used for UI Scaling

UIScale:

DefaultBackgroundColor: Background color used by boot.efi

OpenCore’s NVRAM GUID, mainly relevant for RTCMemoryFixup users

. details More in-depth Info

System Integrity Protection bitmask

csr-active-config: 00000000

run-efi-updater: No

prev-lang:kbd: <>

Forcibly rewrites NVRAM variables, do note that Add will not overwrite values already present in NVRAM so values like boot-args should be left alone. For us, we’ll be changing the following:

QuirkEnabled
WriteFlashYES

. details More in-depth Info

LegacyEnable: NO

LegacyOverwrite: NO

LegacySchema

WriteFlash: YES

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

For setting up the SMBIOS info, we’ll use CorpNewt’s GenSMBIOS application.

For this example, we’ll choose the iMacPro1,1 SMBIOS but some SMBIOS play with certain GPUs better than others:

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 order is Product | Serial | Board Serial (MLB)

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»

Automatic: YES

. details More in-depth Info

AdviseFeatures: NO

MaxBIOSVersion: NO

ProcessorType: 0

SpoofVendor: YES

SystemMemoryStatus: Auto

UpdateDataHub: YES

UpdateNVRAM: YES

UpdateSMBIOS: YES

UpdateSMBIOSMode: Create

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

ConnectDrivers: YES

Only drivers present here should be:

By default, OpenCore only loads APFS drivers from macOS Big Sur and newer. If you are booting macOS Catalina or earlier, you may need to set a new minimum version/date. Not setting this can result in OpenCore not finding your macOS partition!

macOS Sierra and earlier use HFS instead of APFS. You can skip this section if booting older versions of macOS.

Both MinVersion and MinDate need to be set if changing the minimum version.

macOS VersionMin VersionMin Date
High Sierra ( 10.13.6 )74807700800000020180621
Mojave ( 10.14.6 )94527500700000020190820
Catalina ( 10.15.4 )141210100100000020200306
No restriction-1-1

Related to AudioDxe settings, for us we’ll be ignoring(leave as default). This is unrelated to audio support in macOS.

Related 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

Relating to OpenCore’s visual output, leave everything here as default as we have no use for these quirks.

Mainly relevant for Virtual machines, legacy macs and FileVault users. See here for more details: Security and FileVault

. tip Info Relating to quirks with the UEFI environment, for us we’ll be changing the following:

QuirkEnabledComment
UnblockFsConnectNONeeded mainly by HP motherboards

. details More in-depth Info

DisableSecurityPolicy: NO

RequestBootVarRouting: YES

UnblockFsConnect: NO

Used 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

And 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:

Special note for 3990X users: macOS currently does not support more than 64 threads in the kernel, and so will kernel panic if it sees more. The 3990X CPU has 128 threads total and so requires half of that disabled. We recommend disabling hyper threading in the BIOS for these situations.

Once done here, we need to edit a couple extra values. Head to the Apple Secure Boot Page

Источник

# Создание установщика в macOS

В то время как вам не нужна чистая установка macOS чтобы использовать OpenCore, некоторые пользователи предпочитают иметь свежую версию ОС с обновлением их Boot Manager.

Для начала, мы захотим получить себе копию macOS. Вы можете пропустить этот шаг и перейти к форматированию USB, если вы просто делаете загрузочную флешку с OpenCore, а не установщик. Для всех остальных, вы можете загрузить macOS из App Store или с помощью скрипта от Munki.

# Скачивание macOS: современные версии

С компьютера macOS, отвечающего требованиям версии ОС, которую вы хотите установить, перейдите в App Store и загрузите желаемый релиз ОС и продолжайте настройку установщика.

Для компьютеров, которым нужен конкретный релиз ОС или не удается загрузить из App Store, вы можете использовать утилиту InstallInstallMacOS от Munki.

Чтобы запустить его, просто скопируйте и вставьте следующую команду в терминал:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Как вы видите, мы получаем большой список установщиков macOS. Если вам нужна определенная версия macOS, вы можете выбрать её, набрав её номер. Для этого примера, мы выберим 10:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Это займёт некоторое время, поскольку мы загружаем установщик macOS весом 8Гб+, поэтому мы настоятельно рекомендуем прочитать остальную часть руководства, пока вы ждёте.

По завершению, вы найдёте в папке

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Начиная отсюда, перейдите к Настройке установщика чтобы закончить свою работу.

# Скачивание macOS: устаревшие версии

# Настройка установщика

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Затем запустите команду createinstallmedia предоставленную Apple

Это займёт некоторое время, так что вы можете взять чашечку кофе или продолжить читать руководство (честно говоря, вам не стоит следовать этому руководству шаг за шагом, не прочитав это всё сначала).

Также вы можете поменять путь createinstallmedia на тот, где находится ваш установщик (то же самое с названием накопителя)

Устаревшие createinstallmedia команды

# Настройка Legacy

Для систем, не поддерживающих UEFI загрузку, смотрите ниже:

Настройка Legacy загрузки

Для начала, вам понадобится следующее:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Теперь запустите эту утилиту в терминале в sudo(В противном случае, эта утилита, скорее всего, потерпит неудачу):

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Это даст вам EFI раздел с bootia32 или bootx64 файлом

# Настройка EFI окружения OpenCore

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Источник

# Создание установщика в Windows

В то время как вам не нужна чистая установка macOS чтобы использовать OpenCore, некоторые пользователи предпочитают иметь свежую версию ОС с обновлением их Boot Manager.

Чтобы начать, вам нужно:

USB флешка объемом 4 Гб

Для USB-накопителей объемом свыше 16 Гб для форматирования в FAT32 используйте Rufus

# Скачивание macOS

Получение устаревших установщиков очень простое, для начала получите копию OpenCorePkg

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Отсюда, вы захотите открыть Командную Строку и «cd» в папку macrecovery, путь которой мы скопировали ранее:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Теперь запустите одну из следующих команд, в зависимости от того, какую версию macOS вы хотите (Обратите внимание на то, что эти скрипты написаны на Python

Это займёт некоторое время, однако когда вы закончите, вы должны получить BaseSystem или RecoveryImage файлы:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

BaseSystemRecoveryImage
Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open coreКак установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Теперь, когда наш установщик загружен, мы дальше захотим отформатировать USB.

# Создание установщика

Здесь мы будем форматировать наш USB накопитель и записывать на него macOS. Для этого у нас есть несколько вариантов:

# Через Управление Дисками

Просто откройте Управление Дисками, и отформатируйте ваш USB накопитель в FAT32:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Теперь возьмите OpenCorePkg, который вы ранее загрузили и откройте его:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Здесь мы видим папки IA32 (32-битные процессоры) и X64 (64-битные процессоры), выберите подходящую для вашего оборудования, и откройте её. Затем возьмите папку EFI внутри и поместите в корень USB накопителя, рядом с com.apple.recovery.boot. После этого, оно должно выглядеть так:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

# Через Rufus

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Теперь возьмите OpenCorePkg, который вы ранее загрузили и откройте его:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Здесь мы видим папки IA32 (32-битные процессоры) и X64 (64-битные процессоры), выберите подходящую для вашего оборудования, и откройте её. Затем возьмите папку EFI внутри и поместите в корень USB накопителя, рядом с com.apple.recovery.boot. После этого, оно должно выглядеть так:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

# Через diskpart

Теперь запустите следующее:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Теперь возьмите OpenCorePkg, который вы ранее загрузили и откройте его:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Здесь мы видим папки IA32 (32-битные процессоры) и X64 (64-битные процессоры), выберите подходящую для вашего оборудования, и откройте её. Затем возьмите папку EFI внутри и поместите в корень USB накопителя, рядом с com.apple.recovery.boot. После этого, оно должно выглядеть так:

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Настройка установки в Legacy

Если ваше оборудование не поддерживает UEFI, смотрите инструкции ниже.

Для начала, вам понадобится следующее:

Далее, откройте BOOTICE и убедитесь, что вы выбрали правильный накопитель.

Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Затем, войдите в «Process MBR», потом нажмите на «Restore MBR» и выберите boot0 файл из Utilities/LegacyBoot/ в OpenCorePkg:

Восстановление MBRВосстановление boot0 файла
Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open coreКак установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

После, вернитесь на главный экран и выберите «Process PBR», затем «Restore PBR». Здесь, выберите Boot1f32 файл из Utilities/LegacyBoot/ в OpenCorePkg:

Восстановление PBRВосстановление boot1f32 файла
Как установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open coreКак установить open core. Смотреть фото Как установить open core. Смотреть картинку Как установить open core. Картинка про Как установить open core. Фото Как установить open core

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *