如何查詢linux下BIOS信息


一般可以使用dmidecode命令(還有biosdecode命令可參考),背景知識如下:

SMBIOS (System Management BIOS)是主板或系統制造者以標准格式顯示產品管理信息所需遵循的統一規范。
DMI (Desktop Management Interface, DMI)就是幫助收集電腦系統信息的管理系統,DMI信息的收集必須在嚴格遵照SMBIOS規范的前提下進行。
SMBIOS和DMI是由行業指導機構Desktop Management Task Force (DMTF)起草的開放性的技術標准;不過DMTF宣布DMI的生命期在2005年結束了。

 

使用dmidecode命令時,如果不加任何參數,則打印出所有類型的信息;

加上“-t type_num”或者“-t keywords”可以查看某個類型信息。

查詢指令 

查詢BIOS中的Secure boot設置: bootctl    status

查詢BIOS版本      sudo dmidecode -s bios-version

查詢BIOS系統信息  sudo dmidecode -t  0

如果要查詢-t 后面的類型號,可以通過man dmidecode進行查詢

SMBIOS specification 2.7.1 中定義了如下的結構類型:

Type Description
0 BIOS Information
1 System Information
2 Baseboard (or Module) Information
3 System Enclosure or Chassis
4 Processor Information
5 Memory Controller Information (Obsolete)
6 Memory Module Information (Obsolete)
7 Cache Information
8 Port Connector Information
9 System Slots
10 On Board Devices Information
11 OEM Strings
12 System Configuration Options
13 BIOS Language Information
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-Bit Memory Error Information
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security

 

關於BIOS  UEFI  Secure Boot的關系,見:

UEFI、BIOS、Secure Boot的關系和知識介紹 

參考資料:

http://en.wikipedia.org/wiki/System_Management_BIOS

http://en.wikipedia.org/wiki/Desktop_Management_Interface

http://www.joecen.com/2007/04/19/view-bios-operating-system-in-the-dmi-smbios-information/

https://blog.csdn.net/chenyulancn/article/details/16945095

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM