Re: How to get UEFI setting by shell?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
    another question.With secure boot on,
    I make a kernel module test.ko
    Then insmod test.ko:
    [root@localhost linux]# insmod test.ko 
   insmod: ERROR: could not insert module test.ko: Required key not available

     How can I sign my test.ko for CentOS7.1?
  
    If I set secure boot off, insmod test.ko will be successful.
 w.k.

 ------------------ Original ------------------
  From:  "ÎÒ×Ô¼ºµÄÓÊÏä";<304702903@xxxxxx>;
 Date:  Fri, Jan 22, 2016 03:07 PM
 To:  "eero.volotinen"<eero.volotinen@xxxxxx>; "gordon.messmer"<gordon.messmer@xxxxxxxxx>; 
 Cc:  "centos"<centos@xxxxxxxxxx>; 
 Subject:  Re:  How to get UEFI setting by shell?

 

 volotinen and gordon.messmer:
  
    thank you for your answers.
  
 w.k.
  
 
 ------------------ Original ------------------
  From:  "Gordon Messmer";<gordon.messmer@xxxxxxxxx>;
 Date:  Fri, Jan 22, 2016 02:13 PM
 To:  "CentOS mailing list"<centos@xxxxxxxxxx>; 
 
 Subject:  Re:  How to get UEFI setting by shell?

 

On 01/21/2016 09:47 PM, wk wrote:
>     How to check/get UEFI information by shell/bash terminal ?   example:if UEFI is enabled? if secure boot is enabled?

Systems that boot via UEFI will have /sys/firmware/efi.

You may have access to your secure boot setting in 
/sys/firmware/efi/efivars/, or in the output of "bootctl --path 
/boot/efi status"


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux