AppleNVMe Assert Failed @ IONVMeController.cpp

I'm trying to install macOS Sonoma instead of my Windows 11 installation. My PC is an HP (oh no, you guessed it right) ProDesk 600 G3 SFF. It has an HDD and a 256GB SSD M.2. Windows 11 is currently installed on the SSD, and I want to replace it with macOS (full hardware info is mentioned at the end).

So I did research, found OpenCore, and started setting it up. My CPU is Intel Core i7-7700 (Kaby Lake), so I added Kexts and other stuff relevant to my PC specs.

I also downloaded macOS Sonoma Recovery Image (because I have no Mac, I had to go with this). I faced a lot of problems with OpenCore not booting and other things, but I finally got the OpenCore boot manager to work.

So I clicked on my USB name suffixed with "(external) (dmg)" to get into the installer, and this happened (Image at the bottom): The system was logging the same error all over my screen, and this was the error: [AHCI][PRT][00170010] AbortCommands::5382 Port 1 - called, deviceWithError 0, errCode = 0xe0030005

I instantly looked up on the internet to see what is the cause of this error, and I was able to (kinda) fix this problem by removing NVMeFix.kext and adding CtlnaAHCIPort.kext. Now I get another error saying that:

"" AppleNVMe assert failed ../../../IoNvmeController.cpp ""

I'm trying to install Sonoma, and I've bypassed the device check by setting the argument for that.

Thank you for helping me be a member of Hackintoshers Club 😀 (or whatever you call it).

submitted by /u/dotnetian
[link] [comments]