Determining What Motherboard You're Using, On Linux

It's been a couple of years since I rebuilt my desktop, and since then, I've largely forgotten what hardware is in my machine.

So about a month ago, when I was adding some new hardware, I realised I couldn't remember what I was using. I thought "surely there's a better way than trawling through emails", and lo and behold, How do I find out my motherboard model? on AskUbuntu, which has a handy root and non-root variant.

However, as a caveat, this likely will not be accurate depending on if you are running in a Virtual Machine, i.e. on shared hosting.

Without Root Access

By running the following command:

$ cat /sys/devices/virtual/dmi/id/board_{vendor,name,version}
ASUSTeK COMPUTER INC.
X99-A II
Rev 1.xx

Which should be good enough for what you need!

With Root Access

If you have root access, there is the dmidecode command that can provide much better information, such as:

$ sudo dmidecode -t 1
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: ASUS
	Product Name: All Series
	Version: System Version
	Serial Number: System Serial Number
	UUID: bdcbd580-c021-11d3-9c5b-3497f6dc8eb8
	Wake-up Type: PCI PME#
	SKU Number: All
	Family: ASUS MB

Written by Jamie Tanna's profile image Jamie Tanna on , and last updated on .

Content for this article is shared under the terms of the Creative Commons Attribution Non Commercial Share Alike 4.0 International, and code is shared under the Apache License 2.0.

#blogumentation #command-line #linux.

This post was filed under articles.

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.