sodcalculator

10 Tech How-To

How to Find Your Motherboard in Linux

Guide 10-28145 · Updated · Step by step

This guide shows you how to identify the exact make and model of your motherboard from a Linux or Ubuntu system. You’ll learn several command-line methods that work on most distributions, plus a graphical option for Ubuntu. No special tools or hardware knowledge are needed—just a terminal window and a few minutes.

What You’ll Need

  • A computer running Linux or Ubuntu with a working terminal (Ctrl+Alt+T on Ubuntu)
  • Read access to system information files (standard for regular users)
  • Optional: sudo privileges if you want to use certain diagnostic tools

Step-by-Step

  1. Open a terminal window. On Ubuntu, press Ctrl+Alt+T. On other distributions, look for “Terminal” in your application menu.
  2. Try the simplest command first. Type sudo dmidecode -t baseboard and press Enter. Enter your password when prompted. This reads the DMI (Desktop Management Interface) table directly from your BIOS/UEFI. Look for the lines labeled “Manufacturer,” “Product Name,” and “Version.” For example, “Manufacturer: Gigabyte Technology Co. Ltd.” and “Product Name: B450 AORUS PRO WIFI.”
  3. If you don’t have sudo or dmidecode isn’t installed, use the /sys filesystem instead. Run these three commands:
    cat /sys/devices/virtual/dmi/id/board_vendor
    cat /sys/devices/virtual/dmi/id/board_name
    cat /sys/devices/virtual/dmi/id/board_version

    These print the manufacturer, model, and version without needing root access.

  4. Use the lshw tool for a more detailed report. Install it first if needed (sudo apt install lshw on Ubuntu/Debian, sudo pacman -S lshw on Arch). Then run sudo lshw -class system. The output includes a “description: Motherboard” section with “product” and “vendor” fields.
  5. Check with inxi for a quick summary. Install it (sudo apt install inxi) and run inxi -M. This shows “Machine:” and “Mobo:” lines with the model and BIOS information. It’s the most readable output for beginners.
  6. Use the graphical System Information tool on Ubuntu. Open the Activities overview (press the Super/Windows key), type “System Information” or “Details,” and open the app. Click the “Overview” or “System” tab—the motherboard model is often listed under “System” or “Motherboard.” On some Ubuntu versions, you may need to look in the “About” section of Settings.
  7. If nothing above works, try sudo lspci -v | grep -A 8 -i "host bridge". This shows the chipset, which often reveals the motherboard family (e.g., “Intel 8th Gen Core Processor Host Bridge”). It’s less precise than the other methods but can help narrow it down.

Common Mistakes

  • Running dmidecode without sudo. The command requires root privileges to read the DMI table; without sudo, you’ll get a permission denied error.
  • Confusing the CPU with the motherboard. The output of lscpu or cat /proc/cpuinfo shows your processor, not your motherboard. Don’t mistake “Model name” for the board model.
  • Using the BIOS version as the board model. The BIOS string (e.g., “F50”) is not the motherboard model. Look for the product name field, not the firmware revision.
  • Assuming the chassis type is the motherboard. dmidecode -t chassis shows the case model (e.g., “Desktop” or “Tower”), which is unrelated to the actual motherboard.

Tips

  • Write down the manufacturer and product name exactly as shown. For example, “ASUS” and “TUF GAMING B550-PLUS” are the two fields you need.
  • If you’re using a prebuilt system (Dell, HP, Lenovo), the motherboard model may be a generic OEM part. The product name might be something like “0VHWGR”—you can search that string online to find the original system model.
  • For laptops, the motherboard model often includes the series (e.g., “Dell 0D28YY”). This is still the correct identifier for driver and upgrade purposes.
  • Combine the motherboard model with the BIOS version (from dmidecode -t bios) if you’re planning a BIOS update.
  • Use sudo dmidecode -t baseboard | grep -E "Manufacturer|Product" to get just the two lines you need without scrolling through the full output.

Troubleshooting

“dmidecode: command not found” — The tool isn’t installed. On Debian/Ubuntu, run sudo apt install dmidecode. On Fedora, sudo dnf install dmidecode. On Arch, sudo pacman -S dmidecode.

Permission denied when reading /sys files — Some systems restrict access to DMI files. Use sudo cat /sys/devices/virtual/dmi/id/board_name instead, or fall back to sudo dmidecode.

The output shows “System Information” instead of motherboard details — You may have run dmidecode -t system instead of -t baseboard. The system type gives the computer model, not the board. Use the exact command from Step 2.

All commands return empty or “N/A” — This happens on some virtual machines or very new hardware where the DMI table is incomplete. Try sudo lspci -v | grep -i "host bridge" to at least identify the chipset. If you’re in a VM, the motherboard is virtualized and not meaningful.

inxi shows “Mobo: Unknown” — inxi relies on the same DMI data. If it’s unknown, the BIOS isn’t exposing the model. Try updating your BIOS/UEFI firmware first, then re-run the command.

Frequently Asked Questions

Q: Do I need to install anything to find my motherboard?
A: No. The /sys method works out of the box on virtually all Linux systems. The other tools (dmidecode, lshw, inxi) are often pre-installed or available in your package manager.

Q: Can I find the motherboard model without opening the computer case?
A: Yes. All the commands in this guide read the model from the system firmware, so you don’t need to physically inspect the board.

Q: Will these commands work on any Linux distribution?
A: Yes. The /sys filesystem and dmidecode are standard across all distros. Package names for installing tools may differ, but the commands themselves are universal.

Q: Is the motherboard model the same as the chipset?
A: No. The chipset (e.g., “AMD B550” or “Intel Z690”) is a component on the motherboard. Multiple motherboards can use the same chipset. The model identifies the specific board from the manufacturer.

Q: What if I have a prebuilt PC from Dell or HP?
A: The motherboard model will likely be an OEM part number. That’s fine for finding drivers or checking compatibility. You can also search the full system model (from dmidecode -t system) to find the original specs.

Q: Can I use this information to check if my motherboard supports a new CPU?
A: Yes. With the exact model, you can search the manufacturer’s website for the CPU compatibility list. The chipset alone is not enough—the BIOS version also matters, which you can get from dmidecode -t bios.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →