centos7 查看bios信息
  YZrgyfOxOb04 2023年11月02日 61 0

CentOS 7 查看 BIOS 信息

BIOS (Basic Input/Output System) 是计算机开启时运行的固件,它负责初始化计算机的硬件设备,并启动操作系统。在 CentOS 7 中,可以通过不同的方式来查看 BIOS 信息,本文将介绍三种方法。

方法一:使用 dmidecode 命令

dmidecode 是一个能够从 BIOS 中读取信息的工具。在 CentOS 7 中,可以使用以下命令安装 dmidecode

sudo yum install dmidecode -y

安装完成后,可以使用以下命令查看 BIOS 信息:

sudo dmidecode -t bios

命令执行输出的结果类似于以下内容:

# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Dell Inc.
	Version: 2.10.0
	Release Date: 06/05/2018
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 16384 kB
	Characteristics:
		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
		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
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 2.10

Handle 0x0024, DMI type 13, 22 bytes
BIOS Language Information
	Language Description Format: Abbreviated
	Installable Languages: 5
		en-US
		zh-CN
		fr-FR
		de-DE
		it-IT
	Currently Installed Language: en-US

Handle 0x0023, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

方法二:使用 lspci 命令

lspci 是一个用于显示所有 PCI 总线相关信息的命令。在 CentOS 7 中,可以使用以下命令安装 lspci

sudo yum install pciutils -y

安装完成后,可以使用以下命令查看 BIOS 信息:

sudo lspci -vvv | grep -i "vendor\|product" --color=auto

命令执行输出的结果类似于以下内容:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
...

方法三:查看 /sys/firmware/dmi/tables/ 目录

BIOS 信息存储在 /sys/firmware/dmi/tables/ 目录下的文件中。可以使用以下命令查看 BIOS 信息:

sudo cat /sys/firmware/dmi/tables/smbios_entry_point

命令执行输出的结果包含 BIOS 的详细信息。

通过这三种方法,我们可以方便地在 CentOS 7 中获取到 BIOS 的信息。

参考链接:

  • [dmidecode man page](
  • [lspci man page](
【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

上一篇: axios增删改查 下一篇: bios识别sd卡
  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  TX6np8f0LW62   2023年12月23日   29   0   0 androidciideciideandroid
YZrgyfOxOb04