i tried to turn on secureboot and everything working fine but now i use or rebuild system it gives error .
It seems to me that the only way this (horribly unhelpful) error message can happen is if the Lanzaboote install tool cannot find the public keys. To see why this is the case (and whether there exist additional shortcomings in the documentation you ran into), can you please answer the following questions:
- What does “I tried to turn on secureboot and everything working fine” mean exactly? If you did indeed turn on Secure Boot, then Lanzaboote must have worked at least once or the system would not boot at all.
- Did you generate the keys with
sbctl create-keys
? If yes, are they still present in/var/lib/sbctl
or/etc/secureboot
? - What value is
boot.lanzaboote.pkiBundle
set to?