lcp / mokutil

The utility to manipulate machine owner keys
GNU General Public License v3.0
60 stars 37 forks source link

problem of failed to delete secure boot state #41

Open dfdtc opened 3 years ago

dfdtc commented 3 years ago

I use HASEE Z8 laptop.When i tried to set secure boot for kail5.10 system,i followed the guide of debian to set it,and it raised a warning: problem of failed to delete secure boot state. I'm not sure how to fix it.

lcp commented 3 years ago

Could you share more details? For example, the error messages you have seen and the steps to reproduce the issue.

praneet-ph commented 2 years ago

i too facing the same issue. i entered command "sudo mokutil --enable-validation" and i reboot the system. It entetred into mok management showing options -> continue to boot, enroll mok. entered into enroll mok, it asked for password and i entered it. then it says :failed to delect secure boot state. please help me fix it. thanks.

mikroelektro commented 2 years ago

I am having the same issue on ubunt 20.04. When I enable the validation using mokutil, then rebooting the system. I got a dialog to change the status of secure boot and after that I got the error saying failed to delete secure boot state

praneet-ph commented 2 years ago

i found the solution for this problem. I guess the issue occur due to enrolling of mokutil keys which cant be reverted back. so, I reseted mokutil and it worked perfectly. Use command: sudo mokutil --reset