Reading BIOS information in Linux

A lot of information about a personal computer is stored as part of the BIOS and can be retrieved using data structures defined in the SMBIOS specification. On Linux operating systems, this information can be easily viewed using the dmidecode utility. This allows one to look up information such as system manufacturer, model name, serial number, BIOS version, asset tag, etc. Here is some sample output of this command running on a Lenovo ThinkPad:

[08:36:21][~]
[pagey@thunk]$ sudo dmidecode --string system-version
ThinkPad SL410

[08:36:24][~]
[pagey@thunk]$ sudo dmidecode --string system-serial-number
LRX4278

The dmidecode package includes some other handy utilities such as biosdecode, ownership, and vpddecode. No need to turn the laptop upside down just to look up the serial number or model number.

[~]
[pagey@thunk]$ sudo vpddecode
# vpddecode 2.9
BIOS Build ID: 6JET69WW
Box Serial Number: LRX4278
Motherboard Serial Number: 1ZNKE9A6206
Machine Type/Model: 28427PU
This entry was posted in Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>