To secure boot an Ubuntu installation i use shimx64.efi loader. Trie to copy-paste it to the boot directory of my Kali Linux (whose GRUB loader i am currently using), but it doesn't seem to work. How can i secure boot the latter, or more generic any Linux distribution?

1 Answer 1


Following is the TYPICAL boot order for a secure boot supported Linux OS :

  1. Shim.efi is loaded
  2. BOOTX64.efi is loaded
  3. BOOTX64.efi requests for grubx64.efi
  4. grubx64.efi request for grub.cfg
  5. grub.cfg loads vmlinuz and initrd

So, in order to support secure boot, you must have BOOTX64.efi signed with your keys. Register your PK(primary key), KEK (Key exchange key) in firmware

NOTE: shim.efi is not needed if your OS's keys are registered by OEM/HW vendor's firmware.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .