-
Notifications
You must be signed in to change notification settings - Fork 39
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
I can't change the Secure Boot mode to enabled "Failed to delete Secure Boot state" #45
Comments
The parameter, "--enable-validation", is used to enable signature validation in shim, not BIOS, and it's not necessary to use "--enable-validation" as long as you never invoke "mokutil --disable-validation" before. As for "SecureBoot disabled", please paste the results of these two commands:
For a properly configured system, SecureBoot should be "06 00 00 00 01" and SetupMode should be "06 00 00 00 00". Otherwise, you may have a buggy firmware. |
I am having the same issue, the outputs:
Using ubuntu 21.10, Secure boot is enabled in the UEFI menu (bios), I have an asus VIII hero motherboard. |
Looks like you have a buggy firmware :-( Per UEFI SPEC, when SecureBoot is 0 (disabled), SetupMode has to be 1 (enabled) to allow the user to configure the key databases. When SecureBoot is 1 (enabled,), SetupMode has to be 0 (disabled) to indicate the system is ready for SecureBoot. In you case, both are 0 and I really have no idea what it is. |
So do you think the problem is with the firmware of my motherboard? Because the firmware is the latest version, and my motherboard is pretty decent with a good brand too (ASUS VIII hero) I should also mention that i am also using the Nvidia drivers that i downloaded directly via their website, and i remember it said some stuff about secure boot during its installation, not sure if that has to do anything with this or not tho. Also could downgrading my Ubuntu to something like 20.04, etc help? |
It's nothing to do with OS but the firmware. I'd suggest to check the Secure Boot settings in the UEFI menu and see if Secure Boot is really enabled and PK/KEK/db are properly set. |
The secure boot is ON in bios, does this mean that i am really using secure boot? |
I am having this issue at the moment. did anyone manage to find a fix? |
@freebiesoft probably old, but ran into the same thing today. Just:
This was able to get my one wonky system back into a state where I could load machine owner's keys and enable validation. |
Hello,
I installed Ubuntu 18.04 fresh on a System on a new System. Secure Boot is showen as enabled, in the BIOs of the Computer, but as I used the
sudo mokutil --sb-state
to check the status it says "SecureBoot disabled".Then I used
sudo mokutil --enable-validation
to change it in the MOK Menu, but after I confirmed to enable Secure Boot, I get the Message "Failed to delete Secure Boot state".Has anyone an Idea?
with kind regards
The text was updated successfully, but these errors were encountered: