Contribute
Register

Sonoma reboot on desktop

Joined
Feb 23, 2024
Messages
2
Motherboard
Gigabyte Z490 Aorus Master
CPU
I9-10850K
Graphics
RX 580
I'm trying to install Sonoma on a Gigabyte z490 Aorus Master with an I9 10850k and 32Gb RAM. The installation goes well until I get the main menu (type password). I type the password, but after a few seconds the monitor goes blank and system reboots. I am not able to complete the installation to the end. I'm still booting from the installation USB drive. I have adjusted the BIOS settings as per the official Opencore guide. I have attached my EFI, pls help
 

Attachments

  • EFI.zip
    4.5 MB · Views: 2
Last edited:
First thing of note, is your Gigabyte motherboard doesn't need SSDT-RHUB.aml. This SSDT is only required for Asus motherboards. So it can be deleted from your OC setup.

Second thing of note, is your UTBMAp.kext is trying to activate 18 x USB ports, HS01 to HS11 inclusive and SS01 to SS07 inclusive. This is wrong, as Apple have set a limit of 15 x USB ports as a maximum for any Apple Intel system.

Screenshot 2024-03-17 at 18.00.57.png 18 x USB ports active

So you need to edit your UTBMap to remove 3 x USB ports from the kext.
You might also need to check that you are using the correct USB connector types for each port, as you don't have either of the Type-C ports/headers or Internal USB header ports shown as active. Do you not have any Type-C or USB2 case front ports? Are you not using the rear I/O Type-C port?

Your motherboard contains an Intel WiFi/BT card, you are lacking any Intel WiFi and Bluetooth kexts in your setup.

You have a discrete GPU RX 580 shown in your User Profile, but you have the Intel IGPU setup to drive a display in your config.plist. If you are using the RX 580 to drive your display(s), then the IGPU should be setup with an Empty/Headless framebuffer.

So the DeviceProperties section goes from this:

Screenshot 2024-03-17 at 18.05.47.png

To this:

Screenshot 2024-03-17 at 18.07.25.png

I have made a few other edits to the config.plist, disabling USBToolBox.kext and your UTBMap.kext while enabling the Kernel > Quirks > XhciPortLimit entry. Plus adding ResetNvramEntry.efi to the Drivers folder and config.plist.

Try this revised EFI, see if this helps.

Testing/Booting:
If you want to try this revised EFI, simply add your Serial Number, MLB and ROM data to the revised config.plist. Don't make any other changes to the setup.
  • Enable your IGPU in the BIOS, but make sure you have the PCIE/PEGP/External GPU set as the primary graphics card.
  • You may need to boot in to the BIOS twice to check that the correct graphics settings are in place.
Copy the revised EFI folder to the EFI partition on a spare USB pen drive and boot from the pen drive to test the EFI.

Don't replace your current EFI until you are sure the revised EFI works and boots without any issues.

You will need to use the ResetNvramEntry.efi option before you boot with this revised OC setup.
  • Simply boot from the USB pen drive, press the Spacebar when you arrive on the OC boot screen (GUI),
    • This will unhide the tools and drivers contained in your OC setup.
  • Select the ResetNvramEntry.efi and the system should automatically reboot.
  • Select your USB pen drive from the system Boot Menu again, and
    • This time boot in to macOS using the revised EFI.
Let us know how you get on with this revised OC EFI.
 

Attachments

  • EFI-v1.zip
    4.6 MB · Views: 4
First thing of note, is your Gigabyte motherboard doesn't need SSDT-RHUB.aml. This SSDT is only required for Asus motherboards. So it can be deleted from your OC setup.

Second thing of note, is your UTBMAp.kext is trying to activate 18 x USB ports, HS01 to HS11 inclusive and SS01 to SS07 inclusive. This is wrong, as Apple have set a limit of 15 x USB ports as a maximum for any Apple Intel system.

View attachment 579918 18 x USB ports active

So you need to edit your UTBMap to remove 3 x USB ports from the kext.
You might also need to check that you are using the correct USB connector types for each port, as you don't have either of the Type-C ports/headers or Internal USB header ports shown as active. Do you not have any Type-C or USB2 case front ports? Are you not using the rear I/O Type-C port?

Your motherboard contains an Intel WiFi/BT card, you are lacking any Intel WiFi and Bluetooth kexts in your setup.

You have a discrete GPU RX 580 shown in your User Profile, but you have the Intel IGPU setup to drive a display in your config.plist. If you are using the RX 580 to drive your display(s), then the IGPU should be setup with an Empty/Headless framebuffer.

So the DeviceProperties section goes from this:

View attachment 579919

To this:

View attachment 579920

I have made a few other edits to the config.plist, disabling USBToolBox.kext and your UTBMap.kext while enabling the Kernel > Quirks > XhciPortLimit entry. Plus adding ResetNvramEntry.efi to the Drivers folder and config.plist.

Try this revised EFI, see if this helps.

Testing/Booting:
If you want to try this revised EFI, simply add your Serial Number, MLB and ROM data to the revised config.plist. Don't make any other changes to the setup.
  • Enable your IGPU in the BIOS, but make sure you have the PCIE/PEGP/External GPU set as the primary graphics card.
  • You may need to boot in to the BIOS twice to check that the correct graphics settings are in place.
Copy the revised EFI folder to the EFI partition on a spare USB pen drive and boot from the pen drive to test the EFI.

Don't replace your current EFI until you are sure the revised EFI works and boots without any issues.

You will need to use the ResetNvramEntry.efi option before you boot with this revised OC setup.
  • Simply boot from the USB pen drive, press the Spacebar when you arrive on the OC boot screen (GUI),
    • This will unhide the tools and drivers contained in your OC setup.
  • Select the ResetNvramEntry.efi and the system should automatically reboot.
  • Select your USB pen drive from the system Boot Menu again, and
    • This time boot in to macOS using the revised EFI.
Let us know how you get on with this revised OC EFI.
Thanks a lot for your clear explanation. I made all the suggested modifications, so no hangs anymore, installation has completed successfully! :) . I also added kext for wifi and LAN, and now internet works fine. About audio, I am using the codec 0, and the rear audio output appears as Headphone: I should probably test all various numbers until I find the correct one. I was not able to fix the USB, yet (need some time to map all ports): I'll let you know the results. But, you suggeted to disable USBToolbox.kext and UTBMap.kext while enabling the Kernel > Quirks > XhciPortLimit entry. Is this just temporarily, right?. I guess I need to use both kext with correct port mapping (less than 15) at the end.
 
For Audio, use layout-id=18 (alcid=18 boot argument) as that is the id that is specific for your Z490's ALC1220 audio codec.

Screenshot 2024-03-18 at 13.59.30.png Audio codec layout-id=18

Suggestions to disable the UTBMap.kext are fine, as long as you are enabling the XhciPorLimit quirk in your config.plist at the same time. With the intention to recreate a USBPorts.kext or USBMap.kext in macOS.

If you use the USBPort.kext process in Hackintool, as shown in the guide linked below. You will only need the single kext to activate the 15 x USB ports for your setup. Same goes for the USBMap.kext process but I think the USBPorts.kext creation is simpler to follow.

 
Back
Top