mirror of
https://codeberg.org/smxi/pinxi.git
synced 2024-09-28 15:20:29 +02:00
100 lines
3 KiB
Text
100 lines
3 KiB
Text
|
================================================================================
|
||
|
INXI
|
||
|
================================================================================
|
||
|
FILE: inxi-machine.txt
|
||
|
VERSION: 1.0
|
||
|
DATE: 2023-08-28
|
||
|
|
||
|
----------------------------------------
|
||
|
Docs:
|
||
|
See:
|
||
|
|
||
|
----------------------------------------
|
||
|
Code:
|
||
|
See:
|
||
|
|
||
|
----------------------------------------
|
||
|
Comments:
|
||
|
|
||
|
================================================================================
|
||
|
Sections:
|
||
|
MACHINE DATA
|
||
|
get_device_sys()
|
||
|
FIRMWARE CHECK
|
||
|
SECURE BOOT
|
||
|
|
||
|
================================================================================
|
||
|
MACHINE DATA
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
========================================
|
||
|
get_device_sys()
|
||
|
----------------------------------------
|
||
|
|
||
|
https://www.dmtf.org/dsp/DSP0134
|
||
|
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_2.8.0.pdf
|
||
|
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.2.0.pdf
|
||
|
https://blogs.technet.microsoft.com/brandonlinton/2017/09/15/updated-win32_systemenclosure-chassis-types/
|
||
|
|
||
|
========================================
|
||
|
FIRMWARE CHECK
|
||
|
----------------------------------------
|
||
|
|
||
|
https://eclypsium.com/blog/linux-commands-to-check-the-state-of-firmware/
|
||
|
|
||
|
========================================
|
||
|
SECURE BOOT
|
||
|
----------------------------------------
|
||
|
|
||
|
To report the state of Secure Boot the mokutil command is the most straightforward:
|
||
|
|
||
|
$ mokutil --sb-state
|
||
|
SecureBoot disabled
|
||
|
Of course, on certain platforms mokutil will also report the configuration state of Secure Boot:
|
||
|
|
||
|
$ mokutil --sb-state
|
||
|
SecureBoot disabled
|
||
|
Platform is in Setup Mode
|
||
|
I also like the “bootctl” command because it will report the Secure Boot state in addition to the setup mode value (with more consistency) and currently active bootloaders:
|
||
|
|
||
|
$ bootctl status
|
||
|
systemd-boot not installed in ESP.
|
||
|
System:
|
||
|
Firmware: n/a (n/a)
|
||
|
Secure Boot: disabled
|
||
|
Setup Mode: setup
|
||
|
Available Boot Loaders on ESP:
|
||
|
ESP: /boot/efi (/dev/disk/by-partuuid/56aada5c-a01a-3b4e-b04e-40e1d4003074)
|
||
|
Boot Loaders Listed in EFI Variables:
|
||
|
Title: Manjaro
|
||
|
ID: 0x0000
|
||
|
Status: active, boot-order
|
||
|
Partition: /dev/disk/by-partuuid/56aada5c-a01a-3b4e-b04e-40e1d4003074
|
||
|
File: └─/EFI/MANJARO/GRUBX64.EFI
|
||
|
Title: UEFI OS
|
||
|
ID: 0x0001
|
||
|
Status: active, boot-order
|
||
|
Partition: /dev/disk/by-partuuid/56aada5c-a01a-3b4e-b04e-40e1d4003074
|
||
|
File: └─/EFI/BOOT/BOOTX64.EFI
|
||
|
|
||
|
========================================
|
||
|
|
||
|
----------------------------------------
|
||
|
|
||
|
----------------------------------------
|
||
|
|
||
|
----------------------------------------
|
||
|
|
||
|
================================================================================
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
========================================
|
||
|
|
||
|
----------------------------------------
|
||
|
|
||
|
----------------------------------------
|
||
|
|
||
|
----------------------------------------
|
||
|
|