Linux如何使用命令查看BIOS版本

时间:2019-11-20 08:52:47  来源:igfitidea点击:

在Linux,如何通过命令行查看BIOS的版本?
在CentOS Linux系统中,如何使用命令检查主板BIOS版本?
如何不进入bios,在系统中查看BIOS版本?

Linux中查看BIOS版本

可以使用dmidecode命令,该命令用于获取硬件信息,比如SN号。
需要使用root运行下面的命令:

dmidecode | less

输出示例:

dmidecode 2.10
SMBIOS 2.5 present.
45 structures occupying 1832 bytes.
Table at 0xCFF6A000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Phoenix Technologies LTD
        Version: 2.1
        Release Date: 06/23/2008
        Address: 0xE4F00
        Runtime Size: 110848 bytes
        ROM Size: 1024 kB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                3.5"/2.88 MB floppy services are supported (int 13h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                BIOS boot specification is supported
                Targeted content distribution is supported

如何在Linux中查看BIOS固件版本

使用-s选项显示BIOS版本:

sudo dmidecode -s bios-version

查看所有与BIOS相关的信息:

sudo dmidecode --type bios

输出示例:

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
 
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: American Megatrends Inc.
	Version: GL702ZC.305
	Release Date: 05/10/2018
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 16 MB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		BIOS ROM is socketed
		EDD is supported
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		Smart battery is supported
		BIOS boot specification is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 5.12