How to check BIOS version/information in Linux ?
Today in this post, we will see how to check the BIOS version and other information on a Linux server.
Lets have a look how to check this.
1. Specifying particular option with dmidecode.
[root@ngelinux001 ~]# dmidecode -s bios-version 2.1.5 [root@ngelinux001 ~]# dmidecode -s bios-release-date 04/11/2016 [root@ngelinux001 ~]# dmidecode -s bios-vendor Dell Inc. [root@ngelinux001 ~]#
2. Grep required information from dmidecode
[root@ngelinux001 ~]# dmidecode | egrep -iA8 "bios information|system information" BIOS Information Vendor: Dell Inc. Version: 2.1.5 Release Date: 04/11/2016 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 16384 kB Characteristics: ISA is supported -- System Information Manufacturer: Dell Inc. Product Name: PowerEdge R630 Version: Not Specified Serial Number: 9XXXXX2 UUID: 4C4C4544-0059-4410-8037-B9C04F43XXXX Wake-up Type: Power Switch SKU Number: SKU=NotProvided;ModelName=PowerEdge R630 Family: Not Specified [root@ngelinux001 ~]#
3. Specifying type to get all information.
[root@ngelinux001 ~]# dmidecode --type bios # dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.8 present. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: Dell Inc. Version: 2.1.5 Release Date: 04/11/2016 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 16384 kB Characteristics: ISA is supported PCI is supported PNP is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported EDD is supported Japanese floppy for Toshiba 1.2 MB is supported (int 13h) 5.25"/360 kB floppy services are supported (int 13h) 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported BIOS boot specification is supported Function key-initiated network boot is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 2.1 Handle 0x0D00, DMI type 13, 22 bytes BIOS Language Information Language Description Format: Long Installable Languages: 1 en|US|iso8859-1 Currently Installed Language: en|US|iso8859-1 [root@ngelinux001 ~]#
4. By reading /sys filesystem data.
[root@ngelinux001 ~]# cat /sys/class/dmi/id/bios_version 2.1.5 [root@ngelinux001 ~]# cat /sys/class/dmi/id/bios_ bios_date bios_vendor bios_version [root@ngelinux001 ~]# cat /sys/class/dmi/id/bios_* 04/11/2016 Dell Inc. 2.1.5 [root@ngelinux001 ~]#