HP-EliteDesk-800-G2-DM-Hackintosh icon indicating copy to clipboard operation
HP-EliteDesk-800-G2-DM-Hackintosh copied to clipboard

Secure boot in opencore

Open bronzeblood opened this issue 2 years ago • 1 comments

I had to change a setting in config.plist

from

<key>SecureBootModel</key>
 <string>Default</string>

to

<key>SecureBootModel</key>
<string>Disabled</string>

To get opencore to load, after that all went smoothly

bronzeblood avatar May 04 '22 00:05 bronzeblood

I was also getting this error:

OC: grabbed zero system-id for SB, this is  not allowed

And instead of your suggestion was able to go around it by generating a random ApECID using:

> python3 -c 'import secrets; print(secrets.randbits(64))'
3000XXXXXXXXXX...

Then edited the file \EFI\OC\config.plist to add the ID:

<key>ApECID</key>
<integer>3000XXXXXXXXXX</integer>

And it booted all right.

Note: Not sure if SystemUUID shouldn't be set as well.

TCB13 avatar Jun 04 '22 16:06 TCB13