Узнать версию биос linux

Check BIOS Version in Ubuntu Linux – Command

BIOS is a firmware interface between a computer’s hardware and the operating system and like any software, it can be updated.

Knowing the BIOS version can tell you if you have the most up-to-date version of the BIOS or it has to be updated.

This note shows how to check the BIOS version in Ubuntu Linux from the command-line, though these commands should work for the other Linux systems as well.

Cool Tip: How to create a swap file in Linux! Read more →

Check BIOS Version in Linux

In Linux, to get the complete information about the computer’s BIOS from the command-line, use the dmidecode command:

$ sudo dmidecode -t bios -q --- BIOS Information Vendor: American Megatrends Inc. Version: UX31A.219 Release Date: 06/14/2013 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 6144 kB 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) 8042 keyboard services are supported (int 9h) 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: 4.6 BIOS Language Information Language Description Format: Long Installable Languages: 1 en|US|iso8859-1 Currently Installed Language: en|US|iso8859-1

To check the BIOS version only, you can run the dmidecode command as follows:

$ sudo dmidecode -s bios-version --- UX31A.219

Источник

Читайте также:  Linux mint какие бывают

Is there a way to get the BIOS version from inside Linux?

I want to get the BIOS version from Linux without going directly to the BIOS. I mean, is there a way to get the BIOS version from inside Linux?

4 Answers 4

Without superuser privileges

It is as simple as reading the following file:

$ cat /sys/class/dmi/id/bios_version 1.1.3 

With superuser privileges

$ sudo dmidecode -s bios-version 1.1.3 

Also, you might have to install this package, which is available in:

  • Linux i386, x86-64, ia64
  • FreeBSD i386, amd64
  • NetBSD i386, amd64
  • OpenBSD i386, amd64
  • BeOS i386
  • Solaris x86
  • Haiku i586

You can use lshw , hwinfo , inxi and hardinfo (DMI):

# lshw -class memory # hwinfo --bios $ inxi -M $ hardinfo 

The above command should work after installing them through your package manager.

Only the first answer proposed by @cuonglm allow you the get bios information without installing an additional package:

I was wandering in /sys folder then I went into /sys/firmware/dmi/tables then got two files DMI and smbios_entry_point . If you read DMI file then in my case first word was LENOVO and second word was BIOS version . I know this is not simple and straight answer but you can get more information regarding your pc from this file.

sudo dmidecode | grep "BIOS Information" -A10 | grep -e "Version:" -e "Vendor:" 

This sort of text filtering is fragile. Much better to make a specific request for the specific information you want, as shown by cuonglm.

You must log in to answer this question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Читайте также:  Restart services and linux

Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.13.43530

Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Проверка версии BIOS в Linux

Столкнулись с тем, что некоторые выделенные серверы с отличающимися версиями BIOS работают совершенно по-разному. Поэтому требовалось сообщить в ДЦ самую подходящую прошивку. Узнать версию в linux очень просто, достаточно дать в консоли команду от root:

dmidecode | grep 'BIOS Information' -A 30

dmidecode | grep ‘BIOS Information’ -A 30

Выхлоп этой команды представлен ниже. Версия биос в данном случае — Version: P80

BIOS Information
Vendor: hp
Version: P80
Release Date: 04/02/2015
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 8192 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
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)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
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
Firmware Revision: 2.42

Читайте также:  Linux mint 64 бит

Источник

Оцените статью
Adblock
detector