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

Ventoy support #91

Closed
acoul opened this issue May 26, 2023 · 2 comments
Closed

Ventoy support #91

acoul opened this issue May 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@acoul
Copy link

acoul commented May 26, 2023

Can EfiGuard be used with Ventoy ? I tried to create an iso out of a USB key, but I failed :(

@Mattiwatti
Copy link
Owner

I just tried this, and the short version is that no, it doesn't look like it can. The reason for this is the fact that EfiGuard is unloading itself when you are booting into Ventoy instead of booting the Windows Boot Manager directly, because it thinks you're booting something other than Windows. Well, you are booting something other than Windows, it just so happens that Ventoy can also chainboot Windows, which I agree, EfiGuard should support.

So the good news is that I know what the issue is and I can probably fix it, but the bad news is that the naive fix (simply not unloading the driver) leads to other potential issues, for instance: the sequence

  1. EfiGuard
  2. Ventoy or similar boot manager
  3. Linux

breaks with this fix, and in a worse way, because Linux does not even boot. This surprises me a little, since I don't recall ever having an urgent need to unload the DXE driver when not booting Windows, I just thought it would be neater this way. So I will have to investigate some more to figure out a fix for this that works with all operating systems.

@Mattiwatti
Copy link
Owner

9aff366 should fix this. Thanks for reporting.

@Mattiwatti Mattiwatti added the bug Something isn't working label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants