Can I change the serial-number from `dmidecode -t 3` output?
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
dmidecodeoutput? - 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)
dmidecodeor 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.