Can I change the serial-number from `dmidecode -t 3` output?

Solution Verified - Updated -

Issue

  • We can check the serial number from following command:
# dmidecode -t 3

...
Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
        Manufacturer: Sun Microsystems
        Type: Rack Mount Chassis
        Lock: Not Present
        Version:
        Serial Number: 0000000-0000000000        <=======
  • Can we change this serial number shown in dmidecode output?
  • Some tools can't discover systems completely due to many VMs with duplicate serial numbers. Can we change the Linux VM Serial Number in SMBIOS?

Environment

  • Red Hat Enterprise Linux (all versions)
  • dmidecode or other way to read the system serial number from SMBIOS DMI information

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content