nix-community / lanzaboote

Secure Boot for NixOS [maintainers=@blitz @raitobezarius @nikstur]
GNU General Public License v3.0
916 stars 44 forks source link

Kernel hash does not match! #376

Closed dasehak closed 4 months ago

dasehak commented 4 months ago

When I try to boot the following message prints:

[ERROR]: stub/src/thin.rs@070: Kernel hash does not match!
Failed to execute Generation Name (\path\to\generation): Security violation

Reinstalling the kernel does not help

blitz commented 4 months ago

Hi @dasehak! Did you have a working setup before? Did anything change? Can you elaborate a bit on your setup (hardware, NixOS version/configuration, Lanzaboote version, ...).

dasehak commented 4 months ago

Hi @dasehak! Did you have a working setup before? Did anything change? Can you elaborate a bit on your setup (hardware, NixOS version/configuration, Lanzaboote version, ...).

  1. No
  2. No 3.1. X99-based motherboard, Intel Xeon E5-2678 v3 3.2. NixOS 24.11.20240715.f193f94 (Vicuna) x86_64, config: https://github.com/dasehak/nixos-config-remake 3.3. 0.4.1
dasehak commented 4 months ago

I don't know why, but it's fixed I'm closing the issue