如何获取我的主板的BIOS版本?
命令
在提问之前,我尝试了使用
命令
dmidecode
可以提供一些关于BIOS的信息,但我找不到我所需要的内容...
在提问之前,我尝试了使用
dmidecode
命令,但没有找到我需要的内容 - 我只想要BIOS版本,其他输出都不需要。dmidecode
可以提供一些关于BIOS的信息,但我找不到我所需要的内容...
dmidecode
命令,但没有找到我需要的内容 - 我只想要BIOS版本,其他输出都不需要。我找到解决办法了。
当然是使用dmidecode,但问题出在结果上...
我不想列出关于我的BIOS的所有结果,我只需要版本号。
命令如下:
sudo dmidecode -s bios-version
SIX7910J.86A.0537.2012.0723.1217
cat /sys/devices/virtual/dmi/id/bios_version
或者甚至cat /sys/devices/virtual/dmi/id/bios_*
而无需使用sudo
命令。 - snapfractalpopsudo dmidecode | less
71CN40WW(V1.15)
。 - Avinash Rajdmidecode
通常会返回一些关于您的BIOS的信息块。它应该看起来像这样:
BIOS Information
Vendor: American Megatrends Inc.
Version: 0309
Release Date: 04/18/2013
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 8192 kB
Characteristics:
PCI is supported
APM 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
BIOS boot specification is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 4.6
dmidecode
在您的机器上没有包含这些数据,恐怕您将不得不重新启动并实际查看BIOS。