Jump to content
8755 posts in this topic

Recommended Posts

I'm trying to migrate to OpenCore from Clover.  I took my existing install, got rid of the Clover folder, set up the OC folder according to the Vanilla Guide, and also copied over the BOOT folder from the 0.51 zip file.  The only thing (AFAIK) I did different from the Vanilla Guide was keeping my existing DSDT which has generally had no effect since my motherboard is "out of the box" hackintoshable.

 

When I boot into my Mac SSD, it just hangs at the BIOS screen.  No further information, just the POST and then it sits there.  As such, I'm stumped.  I'm running a Gigabyte Z77X-UD5H with an 3570k and RX 580 video card.  I've been using this as a hackintosh for years, so hopefully I can keep doing so!

 

I would really appreciate any help or advice!  What I've done so far:

- turned off my custom SSDT made with powergen.sh way back when

- added the EC SSDT per the vanilla guide

- removed an old Apple folder that was hanging out there

 

I'm pretty well at a loss here because I'm not getting any error messages, so any help would be appreciated!  I'm attaching my EFI folder with my system's serial numbers and UUID scrubbed.  Thanks in advance!

EFI.zip

Edited by birdbird
1 hour ago, bittantone said:

As far as I know, to re-flash my BIOS I need to enter BIOS settings, which I cannot access when BIOS gets corrupted. The only workaround is to remove the CMOS battery to reset settings and power on without any SATA/disk inserted...

 

I had same issue of difficulty getting into BIOS (on both ASUS and GB mobos). I kept re-booting while tapping the "Delete" key (entry for ASUS mobos) and eventually I got in. (Removing NVME and SATA drives is okay at this stage.)

 

I'd already prepared a USB flash drive on another computer and had it inserted into the correct USB port (check your manual; there is one port that is correct for flashing BIOS for each mobo).

 

One other thing to consider that can make getting into BIOS difficult is bad memory. So check your DDR4 sticks.

 

When the worse BIOS corruption happened to me, it was compounded by a bad DDR4 stick. My clue was a change in LED colors. All of the DDR4 sticks had LEDs and one displayed colors different than the rest; so I removed that stick along with its mate (keeping correct pairs), and then I easily got into BIOS, and was subsequently able to re-flash it.

Edited by iGPU
  • Like 1

Am I reading this right?

 

If I set scan policy to 1 (0x00000001) then OC will see only the OS I use? Or would I need to include their devices as well. "1" doesn't seem to work on it's own and my OS is on an M.2 drive. Am ok to presume I need...

 

1, 2, 400, 8000? so a total of 0x00008403 (33,795)?

 

Im doing this mostly to learn but also my logs tell me that a lot of my boot is spent here.

0x00000001 - Known File Systems Only
0x00000002 - Known Device Types.
0x00000200 - HFS File System Scan
0x00000400 - Allow EFI Partition Scan
0x00010000 - Allow Sata Scan
0x00020000 - SAS Scan
0x00040000 - SCSI Scan
0x00080000 - NVMe Scan
0x00100000 - CD/DVD Scan
0x00200000 - USB Drive Scan
0x00400000 - FireWire Scan
0x00800000 - SD/Card Media Scan

 

1 hour ago, birdbird said:

I'm trying to migrate to OpenCore from Clover.  I took my existing install, got rid of the Clover folder, set up the OC folder according to the Vanilla Guide, and also copied over the BOOT folder from the 0.51 zip file.  The only thing (AFAIK) I did different from the Vanilla Guide was keeping my existing DSDT which has generally had no effect since my motherboard is "out of the box" hackintoshable.

 

When I boot into my Mac SSD, it just hangs at the BIOS screen.  No further information, just the POST and then it sits there.  As such, I'm stumped.  I'm running a Gigabyte Z77X-UD5H with an 3570k and RX 580 video card.  I've been using this as a hackintosh for years, so hopefully I can keep doing so!

 

I would really appreciate any help or advice!  What I've done so far:

- turned off my custom SSDT made with powergen.sh way back when

- added the EC SSDT per the vanilla guide

- removed an old Apple folder that was hanging out there

 

I'm pretty well at a loss here because I'm not getting any error messages, so any help would be appreciated!  I'm attaching my EFI folder with my system's serial numbers and UUID scrubbed.  Thanks in advance!

EFI.zip

 

You might have some issues with residual Clover files. Maybe try removing them, by running the following from a Terminal window:

sudo rm -rf /etc/rc.boot.d
sudo rm -rf /etc/rc.shutdown.d
sudo rm -rf /Volumes/EFI/nvram.plist
sudo rm -rf /etc/rc.clover.lib
sudo rm -rf etc/rc.boot.d/20.mount_ESP.local
sudo rm -rf /etc/rc.boot.d/70.disable_sleep_proxy_client.local.disabled
sudo rm -rf /etc/rc.boot.d/80.save_nvram_plist.local

lastly, look for and remove this file if present: Library/PreferencePanes/Clover.prefPane

 

***

 

As for your EFI file, you got IntelMausiEthernet.kext in your kext folder but IntelMausi.kext in your Kernel section. (I'm not certain how useful BrcmPatchRAM2.kext is, but it probably isn't keeping you from booting; I think AirportBrcmFixup.kext is more useful.)

 

ExternalDiskIcons, ThirdPartyTrim and XhciPortLimit are usually best "No". In regard to the latter, you're using USBInjectAll.kext, but I don't see a SSDT-UIAC file. So I don't see a proper way you're limiting USB ports (aside from depending on XhciPortLimit, which is best not used). A simple addition when using USBInjectAll would be to add a boot argument (NVRAM section) like this: uia_exclude=HS09;HS10;HS13;SSP3;SSP4;SSP7;SSP8;USR1;USR2 (obviously changing these values to ports you wish to exclude). I prefer not using USBInjectAll (and the above boot arg), and instead use a USBPortsMap kext file to inject the desired USB ports. Hackintool can create this file for you.

 

In your PlatformInfo section, you've removed DataHub, PlatformNVRAM and SMBIOS sections. I kept all and leave Automatic as No. Maybe copy these from the Sample.plist file, and and fill-in with your data. 

 

I don't use any DSDT.aml file and have no issues booting with OC.

 

Finally, the OC docs suggest leaving AvoidHighAlloc as YES for GA-Z77P mobos; maybe this holds true for your GA-Z77X?

  • Like 3
  • Haha 1
12 minutes ago, Carbonimax said:

 

Here is my EFI Folder.

I would really appreciate any help or advice :)

 

Most all of your ACPI patches are discouraged per OC docs. I'd turn them off to sort things out first.

 

I've not needed any DSDT.aml files to boot. I'd turn this off for now too.

You've got a lot of DeviceProperties. I'd probably try to boot without most of them and then add them back once things look okay.

 

I'd reduce your boot arguments from:
-v dart=0 alcid=16 slide=0 darkwake=10 debug=0x100 agdpmod=pikera nv_disable=1

 

To:
-v darkwake=10 debug=0x100

(dart=0 not needed since you have DisableIoMapper = YES; slide=0 is discouraged.)

 

You can leave UEFI/Input/PointerSupportMode blank as you're not using an ASUS mobo (I am using one but still leave it blank).

 

Your other settings are similar to what I've used with both Mojave and Catalina.

2 hours ago, Carbonimax said:

Thank you!

 

I remove DSDT.aml, all patches, all DeviceProperties, reduce boot args and change ScanPolicy to 0 but always same problem, halt on the same line :-/

 

Sorry, it didn't help. I did just notice that you're must be on "Catalina 10.15.1" (your sig says "Mojave 10.15.1", but Mojave = 10.14.x), and I only saw the Mojave.

 

So, while it may not affect your boot, Catalina 10.15.1 beta (2) seem to need boot/arg agdpmod=pikera (which I'd told you to remove), and no need for WEG with a navi GPU, like RX5700. I don't know about Vega 64 (also in your sig) since not navi. (I'm not running beta OS and don't have a navi GPU, just a Vega 56, so I'm out of that loop.)

Edited by iGPU

Seem to have an issue with OC and Catalina 10.15.1b2. I updated the os and booted from OC 0.5.2 ok. If I restart I get "Unable to load kernel cache". I can still boot from clover 5096 with no problems, I can use OC to boot mohave no problems. It will even boot Windows just fine. Will not boot into catalina again from OC. Please help and thank you.

 

EFI.zip

10 hours ago, iGPU said:

 

Sorry, it didn't help. I did just notice that you're must be on "Catalina 10.15.1" (your sig says "Mojave 10.15.1", but Mojave = 10.14.x), and I only saw the Mojave.

 

So, while it may not affect your boot, Catalina 10.15.1 beta (2) seem to need boot/arg agdpmod=pikera (which I'd told you to remove), and no need for WEG with a navi GPU, like RX5700. I don't know about Vega 64 (also in your sig) since not navi. (I'm not running beta OS and don't have a navi GPU, just a Vega 56, so I'm out of that loop.)

Correct, it is Catalina! Fix.

 

In Clover, I have to put `agdpmod=pikera`, otherwise I have a black screen... I don't know why.

When I replace `pikera` by `vit9696` or without WEG, it doesn't work.

 

With ou without this boot args, OC crash, so I think it is not the problem.

19 hours ago, NorthAmTrans said:

Am I reading this right?

 

If I set scan policy to 1 (0x00000001) then OC will see only the OS I use? Or would I need to include their devices as well. "1" doesn't seem to work on it's own and my OS is on an M.2 drive. Am ok to presume I need...

 

1, 2, 400, 8000? so a total of 0x00008403 (33,795)?

 

Im doing this mostly to learn but also my logs tell me that a lot of my boot is spent here.


0x00000001 - Known File Systems Only
0x00000002 - Known Device Types.
0x00000200 - HFS File System Scan
0x00000400 - Allow EFI Partition Scan
0x00010000 - Allow Sata Scan
0x00020000 - SAS Scan
0x00040000 - SCSI Scan
0x00080000 - NVMe Scan
0x00100000 - CD/DVD Scan
0x00200000 - USB Drive Scan
0x00400000 - FireWire Scan
0x00800000 - SD/Card Media Scan

 

 

this information is wrong. correct one is: 

 

0x00000001 (bit 0) — OC_SCAN_FILE_SYSTEM_LOCK,

0x00000002 (bit 1) — OC_SCAN_DEVICE_LOCK,

.....

 

RTFOM: READ THE {censored} ORIGINAL MANUAL

https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Configuration.pdf

  • Like 1
56 minutes ago, justin said:

 

this information is wrong. correct one is: 

 

0x00000001 (bit 0) — OC_SCAN_FILE_SYSTEM_LOCK,

0x00000002 (bit 1) — OC_SCAN_DEVICE_LOCK,

.....

 

RTFOM: READ THE {censored} ORIGINAL MANUAL

https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Configuration.pdf

Delightfully hostile. Will disregard other manuals, I've read em all but just wanted something to copy and paste.

 

Can you help me come up with a value or teach me how you do that will scan only my M.2 drive?

1 hour ago, NorthAmTrans said:

Delightfully hostile. Will disregard other manuals, I've read em all but just wanted something to copy and paste.

 

Can you help me come up with a value or teach me how you do that will scan only my M.2 drive?

 

to scan only M.2 (NVME+APFS), you need:

 

0x00000001 (bit 0) — OC_SCAN_FILE_SYSTEM_LOCK

0x00000002 (bit 1) — OC_SCAN_DEVICE_LOCK

0x00000100 (bit 8) — OC_SCAN_ALLOW_FS_APFS

0x00080000 (bit 19) — OC_SCAN_ALLOW_DEVICE_NVME,

 

that's bit 0+1+8+19, hex 0x80103, decimal 524547

(open Calculator.app, View-Programmer, click bit 0 1 8 19 to set them "1", then click 16 and 10, you will get the hex and decimal value)

so put ScanPolicy=524547 in there.

 

Screen Shot 2019-10-21 at 02.41.21.png

Edited by justin
  • Like 7

 

Hi @justin

I have now  0xB0503. Converted that will be 722179.

This combination reads as:

OC_SCAN_FILE_SYSTEM_LOCK 

OC_SCAN_DEVICE_LOCK
OC_SCAN_ALLOW_FS_APFS
OC_SCAN_ALLOW_DEVICE_SATA 

OC_SCAN_ALLOW_DEVICE_SASEX 

OC_SCAN_ALLOW_FS_ESP

OC_SCAN_ALLOW_DEVICE_NVME

 

OC_SCAN_ALLOW_FS_ESP allows to scan EFI System partition wich means that my EFI partition-map will show up as a separate boot option in Boot menu together with my Windows boot option.

Is there a way to hide only the EFI boot option in Boot menu and keep just the Windows boot option in Boot menu?

I have Windows on a separate disk.

Edited by obus
  • Like 1
2 hours ago, justin said:

 

to scan only M.2 (NVME+APFS), you need:

 

0x00000001 (bit 0) — OC_SCAN_FILE_SYSTEM_LOCK

0x00000002 (bit 1) — OC_SCAN_DEVICE_LOCK

0x00000100 (bit 8) — OC_SCAN_ALLOW_FS_APFS

0x00080000 (bit 19) — OC_SCAN_ALLOW_DEVICE_NVME,

 

that's bit 0+1+8+19, hex 0x80103, decimal 524547

(open Calculator.app, View-Programmer, click bit 0 1 8 19 to set them "1", then click 16 and 10, you will get the hex and decimal value)

so put ScanPolicy=524547 in there.

 

Screen Shot 2019-10-21 at 02.41.21.png

My freaking hero. Ok, im getting the understanding. Thanks for taking the time to help educate.

18 hours ago, moozuki said:

Seem to have an issue with OC and Catalina 10.15.1b2. I updated the os and booted from OC 0.5.2 ok. If I restart I get "Unable to load kernel cache". I can still boot from clover 5096 with no problems, I can use OC to boot mohave no problems. It will even boot Windows just fine. Will not boot into catalina again from OC. Please help and thank you.

 

EFI.zip

Just spent most of the day trying to solve this. Still get "unable to load kernel cache (0x0E) ". If I don't get help I will have to go back to Clover since OC will not boot the new OS.

 

So I recently went back to hackintoshing, and decided to use OC, and just a few days ago I got a 10.15 update I'm guessing is 10.15.1. Anyway I thought why not try updating and see what happens. It seems to reboot into the macOS Installer, shows it start an install stating it has 20 minutes left, after about 6 seconds the screen goes blank, I see verbose commands run down the screen real quick and then it reboots, starting a loop. I was able to get into the boot menu and force it back into MacOS, I'm just curious if this is something I can manage to fix or if I'll have to always do reinstalls to update.

3 minutes ago, SionicIon said:

So I recently went back to hackintoshing, and decided to use OC, and just a few days ago I got a 10.15 update I'm guessing is 10.15.1. Anyway I thought why not try updating and see what happens. It seems to reboot into the macOS Installer, shows it start an install stating it has 20 minutes left, after about 6 seconds the screen goes blank, I see verbose commands run down the screen real quick and then it reboots, starting a loop. I was able to get into the boot menu and force it back into MacOS, I'm just curious if this is something I can manage to fix or if I'll have to always do reinstalls to update.

there are a few reboots that take place when updating some times 2 or 3 till mac os install is gone

  • Like 1
24 minutes ago, errorexists said:

there are a few reboots that take place when updating some times 2 or 3 till mac os install is gone

Tried again, it's stuck in a loop, it's restarted 11 times so far to the same macOS install that just restarts after 5-6 seconds.

On 10/14/2019 at 12:29 PM, UefiBooter said:

This was covered just a few posts ago.........

 

To enable StartupDisk Pane to select the 'Default' boot option you need

 

#1 Working NVRAM

#2 RequestBootVarRouting set to TRUE

#3 FwRuntimeServices.efi loaded.

 

RequestBootVarRouting

This quirk requires OC_FIRMWARE_RUNTIME protocol implemented in FwRuntimeServices.efi. The quirk lets default boot entry preservation at times when firmwares delete incompatible boot entries. Simply said, you are required to enable this quirk to be able to reliably use Startup Disk preference pane in a firmware that is not compatible with macOS boot entries by design.

 

Sorry for getting back to you so late after your reply. Unfortunately, FwRuntimeServices.efi and Emulated NVRAM just flat out doesn't seem to work on my board. I've poured over the PDF documentation, my BIOS options, posted EFI folders, and every Forum and Reddit post that I can find.

 

It seems I'm stuck with Clover until there's better OpenCore support for my new MoBo (Gigabyte Designare Z390). :(

9 hours ago, obus said:

 

Hi @justin

I have now  0xB0503. Converted that will be 722179.

This combination reads as:

OC_SCAN_FILE_SYSTEM_LOCK 

OC_SCAN_DEVICE_LOCK
OC_SCAN_ALLOW_FS_APFS
OC_SCAN_ALLOW_DEVICE_SATA 

OC_SCAN_ALLOW_DEVICE_SASEX 

OC_SCAN_ALLOW_FS_ESP

OC_SCAN_ALLOW_DEVICE_NVME

 

OC_SCAN_ALLOW_FS_ESP allows to scan EFI System partition wich means that my EFI partition-map will show up as a separate boot option in Boot menu together with my Windows boot option.

Is there a way to hide only the EFI boot option in Boot menu and keep just the Windows boot option in Boot menu?

I have Windows on a separate disk.

 

Set HideSelf=YES

  • Like 1
×
×
  • Create New...