Is there a way to find what motherboard model I have?
If yes, how, please?
There's also some great graphical tools that show you not just your motherboard info, but all info about your computer.
Search for the
hardinfo package in the Software Center or run
sudo apt-get install hardinfo from the command line. The motherboard make and model can be found on the Devices > DMI page.
sudo add-apt-repository ppa:atareao/atareao sudo apt update sudo apt install cpu-g
lshw-gtk – Graphical frontend for
I would like to suggest a variant for the unprivileged users, since not always it's possible to execute commands as root (some users simply cannot and however it is always a good practice to avoid to run commands as root when it's not needed), or there is no will or possibility to install new program:
that it is a short version, shell expanded, of
cat /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_version and gives as a spartan output respectively vendor, name and version:
FUJITSU D3062-A1 S26361-D3062-A1
Inside the path
/sys/devices/virtual/dmi/id/ it's possible to find some files with information relative to BIOS, board (motherboard), chassis... not all are readable by an unprivileged user due to a security or privacy issues.
Of course, e.g, a
sudo cat board_serial (that usually is readable only by root,
-r--------) or a
sudo cat board_* can easily overcame this limit...
...but, maybe, if privileges are available it's more cosy to use
dmidecode piped in some filter as said in other answers too.
Below the version I prefer, because compact and quick:
sudo dmidecode | grep -A4 '^Base Board Information'
Often it works in the short version too
sudo dmidecode | grep -A4 '^Base'
Base Board Information Manufacturer: FUJITSU Product Name: D3062-A1 Version: S26361-D3062-A1 Serial Number: MySerialNumber(1)
(1) if it is protected for unprivileged user maybe it's better to avoid to post it :-)
Ps> it works fine too
sudo lshw | grep -A5 "Motherboard", but I find it a little lazier then
You can also use
lshw. It is usually run with
sudo as that allows it to probe your devices and accurately report back information. Just run
and the first entries in the results will detail your system and the motherboard and the bios, like in the example below:
*-core description: Motherboard product: Aspire 1700 vendor: acer physical id: 0 version: 0303 serial: None *-firmware description: BIOS vendor: acer physical id: 0 version: 3C13 date: 05/12/04 size: 109KiB capacity: 448KiB capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification
lshw will give you a lot of other information as well; if you want any particular data in future you can run, for example,
sudo lshw -class video to find out about your graphics card. For a listing of the hardware classes
lshw analyses, enter
sudo lshw -short. For more information on the program, enter
man lshw in the terminal or visit the Ubuntu manpages.
As Schweinsteiger has noted,
dmidecode is also a useful tool for reporting on motherboard info.
I found the quickest & easiest way to determine the motherboard model on my computer is:
dmesg | grep DMI:
which, for the Gigabyte Z68MA-D2H-B3 in my computer, yields:
dennis ~ $ dmesg | grep DMI: [ 0.000000] DMI: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3/Z68MA-D2H-B3, BIOS F2 04/15/2011
This worked for me:
sudo dmidecode --string baseboard-product-name