Packetwatch.net

Get system serial number in Mythbuntu



Last modified: Jun. 3, 2012

Contents
1 - Summary
2 - Dmidecode installation
3 - Commands


1 - Summary

This guide will show how to get the system serial number and BIOS information
in Mythbuntu. It will show how to install dmidecode package. This has been tested
in Mythbuntu 12.04.


2 - Dmidecode installation

Install the dmidecode package.
# sudo apt-get install dmidecode
[sudo] password for user: 


3 - Commands

You can display the system information including serial number by typing the
following.
# sudo dmidecode -t 1 | grep -e 'Manufacturer\|Product Name\|Serial Number' | cut -f 2
[sudo] password for user: 
Manufacturer: System manufacturer
Product Name: System Product Name
Serial Number: System Serial Number

You can display the BIOS information by typing the following.
# sudo dmidecode -t 0 | grep -e 'Vendor\|Version\|Release Date' | cut -f 2
[sudo] password for user: 
Vendor: American Megatrends Inc.
Version: XXXX   
Release Date: XX/XX/XXXX


Last modified: Thu Jan 1 00:00:00 1970 UTC
Packetwatch Research 2002-2017.