panpeter | Hi there, short question. Is there a way i can detect if ubuntu was booted via secure boot? may some file inside /sys/firmware/efi or can i only detect via trying to load a non-signed module? | 06:20 |
---|---|---|
=== lotuspsychje_ is now known as lotuspsychje | ||
=== DJones_ is now known as DJones | ||
jushur | panpeter: Check whether the dir /sys/firmware/efi exists, if it exists it means the kernel has booted in EFI mode. | 10:11 |
panpeter | jushur: okay, but is efi == secure boot? i thought this only means we do not have used legacy bios to boot? | 10:12 |
jushur | panpeter: od -An -t u1 /sys/firmware/efi/efivars/SecureBoot-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX | 10:16 |
jushur | panpeter: write out that, exept all the -XXXX after SecureBoot | 10:16 |
jushur | panpeter: that part you tab autocomplete | 10:16 |
panpeter | jushur: will test this, thanks a lot ;) | 10:16 |
jushur | panpeter: sudo bootctl status | 10:18 |
panpeter | jushur: is this the systemd way to check it? | 10:18 |
=== nacc_ is now known as nacc | ||
=== Elimin8r is now known as Elimin8er | ||
=== JanC_ is now known as JanC | ||
=== ghostcube_ is now known as ghostcube |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!