Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenDuet with new secure PE/COFF loader cannot load HfsPlusLegacy.efi from OCBinaryData #2363

Closed
wolf606 opened this issue Dec 23, 2023 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@wolf606
Copy link

wolf606 commented Dec 23, 2023

A new secure PE/COFF loader was introduce in the 0.8.8 release of OpenCore. When using OpenDuet from the OpenCore 0.9.7 package, the firmware cannot load the latest HfsPlusLegacy.efi driver from OcBinaryData.

Loading HfsPlusLegacy.efi in OpenDuet from the OpenCore 0.8.7 package:
IMG_20231223_142227317_HDR

Loading HfsPlusLegacy.efi in OpenDuet from the OpenCore 0.9.7 package:
IMG_20231223_135746210_HDR

@mikebeaton
Copy link
Contributor

@wolf606 @Lost-Entrepreneur439 Can you check that acidanthera/OpenCorePkg@47ad1a7 fixes the issue for you? Build is in https://github.com/acidanthera/OpenCorePkg/actions/runs/7346200425 (macOS XCODE5 Artifacts at the bottom of the screen, you need to be logged in to GitHub and you need to wait a moment for the Artifacts section to populate).

@EAZYBLACK
Copy link

EAZYBLACK commented Dec 28, 2023

I was also having same issue, thank you contributor i tried the build you sent and now it loads hfspluslegacy fine

@Ampernic
Copy link

Ampernic commented Jan 17, 2024

Maybe I miss-understand something in working of new versions of OC and OpenDuet , but still can boot apfs volumes (its doesn't show in picker) by hfspluslegacy without enabling apple secure boot after update from 0.9.5 to 0.9.7 in latest commit.
In release 0.9.7 version it doesn't load fully.

Is it normal? How to solve that? I can't use apple secure boot because I need root patches on my hardware, and it not boot with enabled secure boot.

@mikebeaton
Copy link
Contributor

mikebeaton commented Jan 17, 2024

@Ampernic - Please can you provide a debug log of when this fails to load and config.plist.

@Ampernic
Copy link

Ampernic commented Jan 17, 2024

@Ampernic - Please can you provide a debug log of when this fails to load and config.plist.

Yeah, sure.

opencore-2024-01-17-180910.txt

config.zip

In log i see 'Volume Corrupt' for some volumes, but has no it when Apple Secure Boot is Default

I tried to reinstall all (fully opencore and openduet, recreate config, redownload driver from OCBinaryData, reinstall mac os 11.7.10 from recovery(in fat32 efi partition) and full installer on separate HFS+ partition, but still Volume Corrupt and not showing in piker.
If use old opencore version or enable apple secure boot to default its boot successfully.

(I use build from that commit acidanthera/OpenCorePkg@b24d13e because latest release 0.9.7 won't load hfspluslegacy fully, how was said in that issue)

@vit9696 vit9696 reopened this Jan 18, 2024
@Ampernic
Copy link

If needed log with enabled apple secure boot
opencore-2024-01-18-072925.txt
With apple secure boot apfs volumes are shown in piker
photo1705564778

@XRevan86
Copy link

Additionally, OpenDuet 0.8.7 is the last version that is capable of booting Linux, newer versions print out unsupported.

@mikebeaton
Copy link
Contributor

@XRevan86 - We are not aware of this, please make a separate issue, include a debug log and config.plist.

@XRevan86
Copy link

XRevan86 commented Jan 19, 2024

include a debug log and config.plist

@mikebeaton, OpenDuet 0.8.8+ is not able to boot Linux EFISTUB binaries irrespective of whether OpenCore is used at all.

@mikebeaton
Copy link
Contributor

A log of it failing within OpenCore would still be helpful, as would a separate issue, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

6 participants