balopez83 / Surface_Pro_3_Hackintosh

OpenCore based Hackintosh on Surface Pro 3
51 stars 6 forks source link

"Halting on critical error" #6

Closed undeadjess closed 1 year ago

undeadjess commented 1 year ago

Heya, I downloaded a macos version 001-51042 - 10.15.7 macOS Catalina (19H2) using GibMacOS, and moved across the efi folder in the latest release, but when booting I only get three lines, Secure Boot Disabled [ext4] unsupported features 20000 Halting on critical error I've tried re imaging the USB but that didn't solve anything.

Any clue whats going on with this?

balopez83 commented 1 year ago

Hi @BS-zombie , So the "Secure Boot Disabled" is fine. That is simply because Secure boot is off in your UEFI and will go away if you register the code and re-activate it in UEFI later.

The "[ext4] unsupported features 20000" is odd though. When you copied over my release EFI did you copy your old config.plist over replacing the one in the release? If not, did you edit the config.plist with OpenCore configurator or any edit program? Usually an error like that is due to an improper edit of the config.plist file adding or changing a feature that is not supported in the version of OpenCore you are trying to boot.

I suspect if you re-copy my release EFI over and don't change any file in there you should boot just fine.

balopez83 commented 1 year ago

Its possible that Gibmacos might be changing some files on the EFI partition of the USB as well so make sure to copy the release EFI over as the last step

balopez83 commented 1 year ago

It occurs to me that the issue might be before OpenCore boots and is an error with the Secure Boot enabled boot efi file. Even if this is the error you should be able to fix this by ensuring that all files included in my release EFI are copied to your boot disk as the last step in creating your boot disk. Many other programs change the files in subfolders of the EFI folder and any one of those will damage the boot process on the Surface Pro 3. Since the SP3 is so particular in the way it boots (thanks Microsoft) it requires a very particular EFI folder to ensure that OpenCore always boots and to allow Dual booting with Windows in addition to supporting secure boot.

undeadjess commented 1 year ago

Just tried again, same problem, even making sure to copy the efi last. I also copied the __MACOSX, as well as several .DS_Store files, and left the single boot file in the root of the partition. Is this correct?

balopez83 commented 1 year ago

Hi @BS-zombie So anything with a . or __ in front won't be necessary as its just macOS cache files and has nothing to do with booting.

So at the root of your EFI partition you should only have an EFI folder /EFI/

Inside the EFI folder you should have the following: /EFI/BOOT/ /EFI/grub/ /EFI/OC/ /EFI/ENROLL_THIS_KEY_IN-MOKMANAGER.cer

If your folder structure is any different then you need to correct it before it will boot. The release folder itself is in the correct folder/file structure and so you should simply have a clean/empty EFI partition on your disk and you simply need to only copy the EFI folder and drop/copy it to the root of the EFI partition. Don't copy the contents within the EFI folder to the root of the drive otherwise you will not be able to boot. It sounds like you might have done that which might be your issue.

undeadjess commented 1 year ago

So weird, it's still not working, even with just those files. I'll try making the usb on a mac sometime soon and see if that changes anything, though I don't see how it would...

balopez83 commented 1 year ago

@BS-zombie , I am not sure if your folder structure is exactly right, so here are some screenshots of how it should be:

EFI Partition Structure

Entire structure 3 levels deep:

Screenshot 2023-03-07 at 2 15 39 PM

balopez83 commented 1 year ago

@BS-zombie not sure if this was resolved or not. Closing this due to no activity and since this issue seems to only currently impact your installation. Please re-open if you are still having an issue and need assistance.