Hi
I've built my first PC last week and am quite happy with it and the installed Win 10. From the first day of planning I was determined to get macOS Catilina on it via dualboot, though. (I chose parts accordingly and checked them with this community...) So I dove into OpenCore etc this weekend and failed spectacularly at first, because I just copied some config.plist etc from TechTeamGB. (To all newbies like me: Such lazy behavior won't lead to success; do it right!)
I'm now at a different point: I read large parts of the OpenCore Documentation and built my own USB stick from scratch according to Snazzy Lab's Video (very helpful); that included my very "own" config.plist (see B) below!!). Download config here.).
I though that it should work now and even got rid of some error messages on boot (e.g. requiredvault - see here, below B)g.IV.), but after the boot picker I get a black screen eventhough I have added the following boot flags (see below B)f.II.) and enabled GOP (below B)7.7.) in config.plist:
Parent Keys | Key | Value | Source |
---|---|---|---|
NVRAM/Add/7C436110-AB2A-4BBB-A880-FE41995C9F82/ | boot-args | debug=0x100 agdpmod=pikera | Github, khronokernel, khronokernel, Macrumors, WhateverGreen, WhateverGreen Radeon FAQ |
UEFI/Quirks/ | ProvideConsoleGop | True | khronokernel/troubleshooting |
Maybe something about the GPU (I switched ports...)? Maybe still something about the config.plist (downloadable below under B)!)...?!
What I've tried:
- I searched the internet and documentation for this, but have not found anything and have no error code or anything to determine the error...
- The generated logs are empty.
Maybe something about WhateverGreen (I have 1.3.6 on the stick)?I checked with WEG 1.3.6 and 1.3.4 - somewhere (?) this was suggested), same black screen... Nothing in WEG FAQ.- I switched DP and even HDMI output ports as this partially suggests.
- Cannot switch off iGPU, as there is none.
- CSM is disabled in BIOS.
- Disable WhateverGreen.kext altogether as this partially suggests (via Kernel Key). Also tried to disable WhateverGreen with boot flag
-wegoff
from here. Problem persists. - Use
agdpmod=vit9696
instead ofagdpmod=pikera
in boot-args. This suggests to, this doesn't. Problem persists either way.
Any help is appreciated!!
***********************
- My core setup
Type | Item |
---|---|
CPU | AMD Ryzen 5 3600X 3.8 GHz 6-Core Processor |
CPU Cooler | Noctua NH-D15S 82.52 CFM CPU Cooler |
Motherboard | MSI B450 GAMING PRO CARBON AC ATX AM4 Motherboard |
Memory | G.Skill Flare X Series 16 GB (2 x 8 GB) DDR4-3200 Memory |
Storage | ADATA XPG SX8200 Pro 2 TB M.2-2280 NVME Solid State Drive |
Video Card | PowerColor Radeon RX 5700 XT 8 GB Red Devil Video Card |
Power Supply | Corsair HX Platinum 750 W 80+ Platinum Certified Fully Modular ATX Power Supply |
Additional WLAN Card | Fenvi FV-A436CD with Broadcom BCM94360CD chipset, natively supported by macOS; from AliExpress |
- My procedure (also as help for other newbies)
A) The basic build
- Built PC.
- Installed Windows 10 from USB stick (made from Microsoft Media Creation Tool, instructions here, don't forget to install in UEFI mode - see second link in 3.!). Did some fan adjustments in BIOS too...
- Set up Windows 10, installed drivers (see here and here).
- Created a system image of this Windows 10 on an external drive. Maybe do this after the following two parts (B & C) to save those changes too...
B) Creating the OpenCore Stick
- Followed Snazzy Lab's Video (read its description!) to create the OpenCore stick, everything on the above Win10**:** (useful additional help: khronokernel and VanillaAMD and Github)
- (Maybe format your stick to GUID HFS+ via Linux or Mac first... See Github.)
- Downloaded latest macOS via gibMacOs.bat (Recovery package!) (Admin privileges needed!). Update 7zip first for step B)1.II. and B)1.III. and use a Lan connection!
- Made a bootable install of that via Makeinstall.bat (Number + o) (Admin privileges needed!).
- Opened the EFI folder on the now newly made USB stick.
- Deleted everything (3 files) in EFI/OC/Drivers/, except FwRuntimeServices.efi.
- Deleted everything (2 files) in EFI/OC/Tools/.
- Put in the following drivers from AppleSupportPkg on the stick to EFI/OC/Drivers/:
- ApfsDriverLoader.efi
- VBoxHfs.efi
- Put KEXT and SSDT and Drivers on the stick:
- Read the OC documentation from OpenCorePkg!
- For troubleshooting afterwards - while booting from the stick - consult: khronokernel/troubleshooting!!
- Put the following KEXTs on the stick, all in EFI/OC/Kexts (instructions: khronokernel, more kexts: onedrive):
- VirtualSMC.kext - emulates Apple's SMC chip.
- Lilu.kext - kext patch to run other kexts.
- WhateverGreen.kext (1.3.6) - graphics patching.
- AppleALC.kext - for onboard audio.
- SmallTreeIntelI82576.kext - for my board's I211-AT Ethernet.
- USBInjectAll.kext - for my USB controller.
- NullCPUPowerManagement.kext - nullify Intel's power management.
- AppleMCEReporterDisabler.kext - disables AppleMCEReporter on AMD CPUs.
- NVMeFix.kext - for non-Apple NVMe.
- no Kexts needed for WLAN/BT (see here.)
- (I have no idea whether I need all of them...)
- Put the following SSDTs on my stick with SSDTTime (instructions: khronokernel) in EFI/OC/ACPI (run SSDTTime.py, Admin privileges maybe needed!, this only worked once for me?!: press 4+Enter, then 2+Enter, files created in folder "Results" within the SSDTTime folder. MUST BE DONE ON THE SPECIFIC MACHINE!!):
DSDT.aml- SSDT-EC.aml
- SSDT-EC.dsl
- Created the config.plist with ProperTree (search with crtl+f!) (full instructions: khronokernel plus config documentation mentioned above in B)3.a.!!):
- Renamed "simple.plist" in the downloaded OpenCorePkg folder to "config.plist" and copied it over to the stick into EFI/OC/.
- Open Propertree.bat (Admin privileges maybe needed!) and opened said config.plist via the menu bar "File" of proper tree.
- Created my own config via "OC snapshot" in the menu bar "File", navigated to EFI/OC of my stick.
- Patched my config with patches.plist from AMD_Vanilla (17h): Open simultaneously in ProperTree. (See Snazzy Laps Video and this on how!)
- Made adjustments to config.plist according to the Snazzy Lab's Video's Description! Crossed out above, plus:
- Set
Enabled
(the etry aboveSSDT-EC
) toTrue
in ACPI/Add/1/. 1 change. - Added boot flags
debug=0x100 agdpmod=pikera
toNVRAM/Add/7C436110-AB2A-4BBB-A880-FE41995C9F82/boot-args
. Is now:-v keepsyms=1 debug=0x100 agdpmod=pikera
. (See also: Github, khronokernel, khronokernel, Macrumors, WhateverGreen, WhateverGreen Radeon FAQ). 1 change.
- Set
- Edited config.plist in the following ways myself (partly later because of errors):
- Set
AllowNvramReset
from False toTrue
in Misc/Security/, because of khronokernel. (See also khronokernel and khronokernel). Allows to reset NVRAM from boot picker. 1 change. - Deleted
#WARNING -1
and#WARNING -2
(according to Github) in the beginning of config.plist. 2 changes. - Created and filled in "my own" Serials (instructions: khronokernel) in
PlatformInfo/Generic/
with GenSMBIOS and randomised ROM (see khronokernel again - couldn't get valid serials though!): 2 changes forMLB
, 2 forSystemSerialNumber
, 2 forSmUUID
/SystemUUID
, 1 forProductName
, 1 forROM
. - Set
RequireSignature
&RequireVault
from True toFalse
in Misc/Security/, because of later booting error "no vault provided!", (see documentation, page 29-30 and insanelymac as well as khronokernel; see also khronokernel/troubleshooting). 2 changes. - Set
ScanPolicy
to0
in Misc/Security, becaue of error "OCB: OcScanForBootEntries failure - Not Found". (See khronokernel/troubleshooting). 1 change. - Set
PlatformInfo/Generic
to"Automatic"
(maybe was before), because of error "This version of Mac OS X is not supported: Reason Mac..." (see khronokernel/troubleshooting). 1 change. - Set
ProvideConsoleGop
from False toTrue
in UEFI/Quirks/ because of black screen after picker (see khronokernel/troubleshooting). 1 change.
- Set
- Went though Vanilla Guide/amd-config.plist and compared it with my config.plist. Applied the following changes:
- Removed
PciRoot(0x0)/Pci(0x1b,0x0)
in DeviceProperties/Add/ as well asPciRoot(0x0)/Pci(0x1b,0x0)
in DeviceProperties/Block , because of this part. - Set
ExternalDiskIcons
andPanicNoKextDump
andPowerTimeoutKernelPanic
andXhciPortLimit
toTrue
in Kernel/Quirks/, because of this part. - Set
DisableWatchDog
toTrue
,DisplayLevel
from2147483650
to2147483714
andTarget
from3
to67
in Misc/Debug/, because of this part. - Set
AllowSetDefault
toTrue
in Misc/Security/, because of this part. Allow CTRL+Enter and CTRL+Index to set default boot device in boot picker. (Other changes to Misc/Security/ above: B)g.I, B)g.IV., B)g.V.!!) - Set
WriteFlash
toTrue
in NVRAM/ (t), because of this part. (Other changes to NVRAM above: B)f.II.!!) - Changes to PlatformInfo: See above, 1.3.!! Couldn't get valid serials...
- Set
PointerSupportMode
to blank/empty in UEFI/Input/, because not on ASUS board. See this part. - Set
ConsoleControl
toTrue
in UEFI/Protocols/, because of this part. - Set
ProvideConsoleGop
&RequestBootVarFallback
toTrue
in UEFI/Quirks/, because of this part (as above).
- Removed
- Saved via menu bar "File".
--> Download my config.plist. (I can only recommend doing this if you have the exact, EXACT same setup as I have. Also I'd recommend you to build it yourself and learn something while doing so! You might appreciate that knowledge after future updates to macOS! Also: At this point I cannot install macOS properly...)
C) Created bootable Linux stick and made partitions on my internal SSD for dual boot (I was recommended this procedure here):
- Still in Windows 10: Followed the Ubuntu Tutorial to make another stick.
- Made new partions for macOS. Pressed Windows+x, opened Disk Management:
- Shurk C: to about 1 TB (don't touch the smaller partitions to the left!).
- Made a new simple volume from the remaining 1TB.
- Shurk that new partition to 200 MB. (Will be macOS' EFI).
- Made a new simple volume from the remaining 999.8 GB. (Will be macOS' main drive).
- Shut down Windows 10 and booted into said Linux.
- Got synaptic and hfsprogs for Linux:
- Searched the Programs for "Software & Updates", open that. Enable second option: Community-maintained free and open-source software (universe). "Close" this window and let it do it's download.
- Opened the Terminal (SHORTCUT=> Ctrl+Alt+T), entered:
- sudo apt-get update
- sudo apt-get install synaptic
- sudo apt-get install hfsprogs
- Searched in Programs for "Disks", open that. Designated the 200MB partition from above as EFI (I believe via the cog wheels > Format Partition). Close that window.
- Searched in Programs for "GParted", open that. Right-click the 200MB and afterwards the 999.8GB partition to rename and reformat them to hfs+. Apply.
- Shut down Linux.
D) Bios changes:
- Started computer and entered the BIOS.
- Changed all settings I could find from
- These settings were quiet hard to find, especially since they are not all named like on the mentioned pages. I there won't get into those settings at this point. Googling each item from the lists above followed by "msi bios" helped somewhat.
- Saved changes and restarted the computer.
E) Booted again, with the OpenCore Stick connected, temporarily changed the boot partition with F11 and chose my stick (some of the above mentioned config.plist changes were applied AFTER this step, because certain errors occured):
- Got to the boot picker and reset NVRAM.
- Restarted the same way and chose the macOS installer.
- Got a black screen. :/
[link] [comments]
Post a Comment