Skip to content

Drop two UKI profiles to get number of PE sections under 25 #44

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DaanDeMeyer
Copy link
Collaborator

The UEFI firmware "UEFI 2.50 (American Megatrends 5.12)" on my laptop puts a limit of 25 on the number of PE sections in a EFI binary. Let's drop two profiles to get the number of PE sections back under 25 otherwise I get "Access violation" trying to boot the latest particleos UKIs on my laptop.

Let's have a single factory reset profile instead of two. To keep all
functionality, we only keep the tpm2 clear profile.
The UEFI firmware on my laptop (American Megatrends Inc) enforces
a limit of 25 PE sections on any loaded UEFI binary. Unti we figure
out a better way to deal with this limit, drop the emergency profile
to get the number of PE sections under 25 again.
@DaanDeMeyer DaanDeMeyer requested a review from poettering April 6, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant