Contribute
Register

[Solved] PC Restarting on the 2nd part of Mojave Installation

Status
Not open for further replies.
Joined
Dec 26, 2018
Messages
15
Motherboard
GIGABYTE H370M D3H
CPU
i3-8100
Graphics
UHD Graphics 630
Mobile Phone
  1. Android
So, I recently bought a PC with the following configuration:
  • Gigabyte H370M D3H Motherboard
  • Intel i3 8100
  • 8GB RAM DDR4
  • 240 GB SSD
My BIOS configurations:
  • Load Optimized Defaults
  • Peripherals -> Super IO Configuration -> Serial Port -> Disabled
  • Peripherals -> USB Configuration -> XHCI Hand-off -> Enabled
  • Peripherals -> Above 4G Decoding -> Enabled
  • Chipset -> VT-d -> Disabled

And tried installing Mojave in it. First following the official guide, but I was always stuck on the forbidden sign and "waiting for root device" error. I tried all USB ports, but it was only fixed by using the USBInjectAll.kext (which I'm not sure by this day what it does exactly).

So moving on, installation seemed to go well, but when I choose to boot from the SSD disk, as soon as it begins the 2nd part of the installation, the screens goes blank and some errors appears briefly before the PC is rebooted (I'm attaching the errors here).

IMG_20190101_194132295_BURST000_COVER_TOP.jpg


I read somewhere here that one person managed to bypass it by using the -disablegfxfirmware flag. I tried it and, yay, installation finished and I could log in the desktop screen. All USB stuff seemed to be working, so I proceeded to run Multibeast and install some drivers. I was not sure which drivers to use, so I picked Voodoo for the sound and some other standard ones. But when trying to boot from the SSD, it would restart in the middle of the process. I managed to boot with the flash drive to the login screen, but then my mouse and keyboard wouldn't work.

Then I thought to myself: chill, I'll just reinstall and next time I won't install any drivers and see if that's the problem.

I proceeded to do the same thing, formatted the SSD again and installed everything from scratch. But I'm back to the same problem of Mac crashing on the 2nd part of the installation. And this time, the -disablegfxfirmware flag doesn't solve it.

And this is where I am now. I read someone say that you must format your SSD in APFS for Mojave so I did it from scratch again , this time formatting the whole disk in APFS and the previous error persists. I'm uploading my clover folder, which has some modifications I did based on another success case, but since they didn't work I guess I could just use the default clover configuration.

OBS: This is my first hackintosh, so I might be more lost than you guys assume.
 

Attachments

  • CLOVER.zip
    2.7 MB · Views: 65
So, I added the Lilo and WhateverGreen kexts on the flash drive and the installation did proceed till the end. At this point I'm not sure whether it had any effect or whether you just have to try the 2nd installation again and again until it finally works (considering the -disablegfxfirmware flag also didn't help the second time I tried, it probably had no effect either)...

After running Multibeast with no drivers, I copied the same Clover folder (including Lilo and WhateverGreen) to the system EFI partition, and I'm able to boot. The problem now is that no USB devices work (neither booting from the flash drive or the system boot), so I'm not able to log in. But they all worked fine (including USB 3.1) when the system was first configured and showed my user already logged.

So, in summary:
  • During the first boot, after the 2nd installation succeeds and you get to accept a few terms, I'm taken to my user desktop and USB works fine (my keyboard is attached to USB 2.0 and my mouse to a USB 3.1);
  • I selected no drivers but did run Multibeast to configure the bootloader in the SSD disk;
  • After booting from the SSD or from the flash drive, I get to the login screen, but no USB ports seem to work.
I`m uploading my current Clover folder just in case it helps in he future.
 

Attachments

  • CLOVER.zip
    3 MB · Views: 80
Last edited:
Thank you @BreBo

So I tried to just put the XHCI-unsupported.kext file in the folder but it didn't work. I tried many XHCI injectors and also nothing would work. Then I got another config.plist and compared the configurations with mine. I'm not sure what I did (maybe was setting Inject Kexts to Yes instead of Detect in System Parameters) but now USB works okay using XHCI-unsupported. I'm able to boot without any flash drive. I'm uploading my new clover folder in case anyone wants to take a look.
 

Attachments

  • CLOVER.zip
    3 MB · Views: 68
Thank you @BreBo

So I tried to just put the XHCI-unsupported.kext file in the folder but it didn't work. I tried many XHCI injectors and also nothing would work. Then I got another config.plist and compared the configurations with mine. I'm not sure what I did (maybe was setting Inject Kexts to Yes instead of Detect in System Parameters) but now USB works okay using XHCI-unsupported. I'm able to boot without any flash drive. I'm uploading my new clover folder in case anyone wants to take a look.
Several comments:
  • That EXC_CORPSE_NOTIFY exception you posted is normal. This happens twice, once during the end of Stage 1 and then within the first minute of Stage 2. The installer is simply trying to reboot your machine. In both cases you can resume the installation by choosing Boot macOS Install from Mojave at the Clover boot menu.
  • The version of Clover that is included with MultiBeast 11.0.1 seems to have a problem with Inject Kexts = Detect, but is okay with Inject Kexts = Yes. So if you used the "detect" option, the files in CLOVER/kexts/Other were most likely not injected. This problem is fixed in the latest release of Clover.
  • Your config.plist looks fine, but I've made some modifications for extra safety:
    • Added Rehabman's recommended ACPI patches for USBInjectAll (XHC1 to XHC; EHC1 to EH01; EHC2 to EH02).
    • Enabled "FixHeaders"
    • Devices --> USB --> Inject and FixOwnership both enabled
    • Changed the Match string of your USB port limit patch from 10.14.2 to simply 10.14
    • Rt Variables --> CsrActiveConfig --> Changed 0x3 to 0x67
 

Attachments

  • config-v2.plist
    6.3 KB · Views: 120
Thank you for taking the time to polish it! Your config.plist works well! Now I guess I just need to customize my USBInjectAll.kext and create a custom patch for the GPU to work.

BTW, Audio works fine with the standard Apple ALC driver in Multibeast.
 
Thank you for taking the time to polish it! Your config.plist works well! Now I guess I just need to customize my USBInjectAll.kext and create a custom patch for the GPU to work.

BTW, Audio works fine with the standard Apple ALC driver in Multibeast.
You might be aware of the Black Screen problem with UHD 630, where no video is displayed if the proper AppleIntelFramebuffer is applied. The thread below may provide some clues. I haven't followed the clues myself, but will do so soon.
https://www.tonymacx86.com/threads/...ntel-i7-8700-hd630.256513/page-5#post-1855339
 
You might be aware of the Black Screen problem with UHD 630, where no video is displayed if the proper AppleIntelFramebuffer is applied. The thread below may provide some clues. I haven't followed the clues myself, but will do so soon.
https://www.tonymacx86.com/threads/...ntel-i7-8700-hd630.256513/page-5#post-1855339

Yeah, I've tried a few configurations but haven't got luck yet. Whenever I change the model to something different than iMac for the WhateverGreen settings, it just won't boot (I'm also making sure to use the latest version of WhateverGreen and Lilo). But I'm very motivated to make it work, since I don't want to buy a separate graphics card at the moment and it is almost unusable for my purposes without any graphics acceleration.
 
You might be aware of the Black Screen problem with UHD 630, where no video is displayed if the proper AppleIntelFramebuffer is applied. The thread below may provide some clues. I haven't followed the clues myself, but will do so soon.
https://www.tonymacx86.com/threads/...ntel-i7-8700-hd630.256513/page-5#post-1855339

Just an update here, I did manage to make the GPU acceleration work. I'm using the recommended settings for `WhateverGreen` following the guide but couldn't make it work on HDMI. I decided to settle for VGA since it's working fine and monitor sleeps correctly now, besides the night shift feature is also available. I also patched the `USBInjectAll.kext` only with the USB ports used by my motherboard.

mojave.jpg
 

Attachments

  • CLOVER.zip
    3.8 MB · Views: 58
Last edited:
Just an update here, I did manage to make the GPU acceleration work. I'm using the recommended settings for `WhateverGreen` following the guide but couldn't make it work on HDMI. I decided to settle for VGA since it's working fine and monitor sleeps correctly now, besides the night shift feature is also available. I also patched the `USBInjectAll.kext` only with the USB ports used by my motherboard.
I managed to enable HDMI on my motherboard today. Full details are here:
https://www.tonymacx86.com/threads/...-9700k-amd-rx-580.267551/page-35#post-1884159

Not sure if this will work for you, but you might want to try using Bus ID 0x04 for the HDMI connector.
 
Status
Not open for further replies.
Back
Top