I need help for my first Hackintosh

Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#1
Hi Everyone,

This is my first hackintosh with opencore and i'm unable to boot it up.
Started the installation successfully, but after the first reboot, the installer in the opencore menu wont show the apple logo it just reboot automatically seems crashed.

I have two gpu GPU
- NVIDIA GTX 1650 super (no nvidia web drivers available need to be disabled so i used boot argument -wegnoegpu in my config.plist)
- Dedicated GPU : Intel UHD Graphics 630

I have another problem
I would like to run the integrated graphics for my hackintosh and the GTX for my Windows. when i switch Initial Display Output to iGPU and leave it auto (not enabled) i cant see the bios screen and if i switch Initial Display Output to iGPU with iGPU enabled there is no output at all.
ps : i tired to switch cable between two hdmi output

Specs:
Gigabyte B460M Aorus Pro (Bios: F5b)
Intel Core i5 10400
Ram 2 x 8GB Patriot VIPER STEEL 8Gb - 3200Mhz
SSD WD 512GB
VGA iGPU Intel UHD Graphics 630
Opencore 0.6.6

Best,
 

Attachments

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#2
Attaching a Copy of your OpenCore folder would be helpful. Redact your Serial number, UUID, MLB and ROM, if you have checked the SN. with Apple Support.

I take it you are dual booting macOS and Windows 10 and use the Nvidia card for Windows.

The Integrated GPU (UHD 630), has it been set with a Framebuffer that can drive a display, or have you used an empty/headless framebuffer with zero (0) display connectors? As the Nvidia card is being disabled you should be using a Framebuffer that can drive a display.

You may be best served temporarily removing the Nvidia GPU, setting up your Hack with the IGPU and then reinstalling the Nvidia card once you have macOS installed. This will cause you less issues.

I would also recommend you only have the drive you plan to install macOS on connected, along with the macOS installer USB. Again to minimise the risk of a kernel panic from something unrelated to the installation process.
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#3
@Edhawk, thanks for the fast reply, first of all i'm doing a dual boot in same SSD. I didn't change anything from factor i don't know if there is an empty/headless framebuffer with zero (0) display connectors, how can i change that ? is it in the bios ?
I will remove the Nvidia card during the installation process.

Here is my EFI
 

Attachments

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#4
No the headless framebuffer would be in your config.plist. This would be something you added depending on how well you followed the OC guide and whether you understood what they were telling you to do.
  • So you have a single SSD, that has been formatted how?
    • GUID/GPT or MBR?
    • NTFS or HFS/APFS?
    • How many partitions?
  • Have you already installed Windows 10 on the SSD?
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#5
The OC folder looks good, did you create it, or did you obtain it from someone with a similar system.

I am really surprised to see a USBPorts.kext in the /OC/Kexts folder if this is your first hack. Which guide did you follow to create it?
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#6
I have two partitions on the GPT SSD, windows is already installed first as the guide tells.
I created my EFI and failed with bootstrap paths errors so i got this EFI from someone has the same hardware except the Nvidia.
i followed the Dortania's OpenCore Install Guide
here is my first EFI
 

Attachments

Last edited:

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#7
If you are booting with the EFI folder in post # 3 the other EFI doesn't enter the equation and can be ignored.

Do you have a 200-210MB EFI Partition on the SSD, at the beginning of the SSD? If you had Windows on the drive before attempting to install macOS, you would have had to have created this EFI Partition via Windows or a Linux distro using GParted or a similar disk partitioning application.

While the guide might say it doesn't matter which order the OS's are installed in a few places, it then contradicts itself and says to install macOS first! See this section of the Multiboot guide - https://dortania.github.io/OpenCore-Multiboot/empty/samedisk.html#precautions

Personally I always installed macOS first, creating the EFI Partition, a macOS partition and a separate HFS+ formatted partition for Windows. Installed macOS. Then deleted and re-formatted the HFS+ Windows partition to NTFS, while installing Windows on the disk.

However, I soon learnt that having the two OS's on separate disks is far easier to manage and less likely to cause issues.
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#9
OK, then have you set your Bios to run macOS.

These were the common changes required, before we all started using OpenCore.
  1. Virtualization : Enabled
  2. VT-d : Disabled
  3. XHCI Hand-Off : Enabled
  4. Legacy USB Support: Auto/Enabled
  5. IO SerialPort : Disabled
  6. Network Stack : Disabled
  7. XMP Profile : Auto / Profile 1/Enabled
  8. UEFI Booting set to Enabled and set Priority over Legacy
  9. Secure Boot : Disabled
  10. Fast Boot : Disabled
  11. OS Type: Other OS
  12. Wake on LAN : Disabled
When using a Dedicated Graphics + Integrated graphics card:
  1. Integrated Graphics : Enabled
  2. Graphics: PEG/PCIe Slot 1
  3. Initial Display Output : PCIe 1 Slot
  4. DVMT Pre-Allocated : 128M or higher
Do your bios settings match these?
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#10
Yes i did the changes but there i some configs i did not find them
  1. Virtualization : Enabled (done)
  2. VT-d : Disabled (done)
  3. XHCI Hand-Off : Enabled (done)
  4. Legacy USB Support: Auto/Enabled (not sure about this one)
  5. IO SerialPort : Disabled (done)
  6. Network Stack : Disabled (not sure about this one)
  7. XMP Profile : (XMP not set i'm using default config)
  8. Secure Boot : Disabled (done)
  9. Fast Boot : Disabled (done)
  10. OS Type: Other OS (Windows 10)
  11. Wake on LAN : Disabled (done)
When using a Dedicated Graphics + Integrated graphics card:
  1. Integrated Graphics : Enabled (done)
  2. Graphics: PEG/PCIe Slot 1 (default is PCIe Slot 1)
  3. Initial Display Output : PCIe 1 Slot (done)
  4. DVMT Pre-Allocated : 128M or higher (not sure about this one)
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#11
To get the system working at its best with a dual boot system for macOS you need to change item 10 to Other OS. This is in the Boot section of your Bios:
Screenshot 2021-02-24 at 09.17.55.png


You need to have the DVMT Pre-Allocated set to 128MB for the IGPU. This is within the Settings section of the Bios:
Screenshot 2021-02-24 at 09.15.06.png

The Legacy USB settings are also to be found in the Settings section of the bios:
Screenshot 2021-02-24 at 09.15.25.png


Network Stack, also within the Settings section of the Bios:
Screenshot 2021-02-24 at 09.15.40.png


You may also need to set Above 4G Decoding to Enabled.
Screenshot 2021-02-24 at 09.23.10.png


If the Bios is not set correctly this can lead to unnecessary Kernel Panics while booting the system.
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#12
Hello, i tried today to boot without GPU Nvidia but the pc wont start and gives me 5 short beeps means CPU error how to fix this ? i tried to clear my cmos and its the same result
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#13
pc is booting now but with black screen

edit : after trying with removing battery failed i used the jumpers to clear cmos, its working now

same kernel panic, should i go for catalina ?
 

Attachments

Last edited:

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#14
The issue isn't the version of macOS you are trying to install. There is something wrong with the contents of the EFI folder or the config.plist.

Removing the Nvidia card while you are installing macOS will help.

The kernel panic screen image in post #13 is most commonly related to an issue with the SSDT-EC.aml you are using. However, there are a number of other possible causes, and an equal number of possible fixes.

I would recommend you have a read of this section of the OC Troubleshooting guide - https://dortania.github.io/OpenCore...rnel-issues.html#stuck-on-eb-log-exitbs-start
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#15
Couldn't install am stuck with boot loop with that panic error, i tried reinstalling with a full installer done via a real mac and fixed this error Device is write locked with this https://github.com/marknotton/OpenCore-EFI#2-device-is-write-locked
unplugged all disks and usb devices from pc too
tried many EFI folders with no luck :(
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#16
  1. Did you follow the guidance in the link you posted, changing the csr-active-config value and adding the -s boot argument?
  2. Did this allow you to boot to Single User Mode?
  3. Did it enable you to install Big Sur, after typing 'Exit'?
  4. Did you then remove the -s boot argument?
  5. Have you checked your bios to see if anything has changed and needs to be reset?
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#17
When you change EFI folders, do you reset/clear the Nvram to remove the previous settings?
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#18
Yes i did reset Nvram serval times from opencore menu
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#19
What is the story regarding the questions in post #16?
 
Joined
Feb 23, 2021
macOS
10.15.7
Mobo
Gigabyte B460M Aorus Pro
CPU
Intel Core i5 10400
GPU
NVIDIA GTX 1650 super + Intel UHD Graphics 630
#20
  1. Did you follow the guidance in the link you posted, changing the csr-active-config value and adding the -s boot argument? ( yes )
  2. Did this allow you to boot to Single User Mode? ( yes it started installing )
  3. Did it enable you to install Big Sur, after typing 'Exit'? ( i didn't get this step to type exit it started installing big sur and then pc rebooted the first time )
  4. Did you then remove the -s boot argument? ( yes )
  5. Have you checked your bios to see if anything has changed and needs to be reset? ( everything is good in the bios )