Ubuntu: Gathering hardware and BIOS details

ubuntuWhether you need to flash the BIOS or check hardware compatibility for a virtualization engine, it is often necessary to gather details on your current hardware, BIOS, and CPU/DRAM feature set.

In this article I’ll provide a starting list of commands you can use to gather this information.

Motherboard/BIOS

dmesg | grep DMI:
sudo dmidecode -t 2
lspci
sudo lshw
sudo biosdecode

Memory

sudo dmidecode -t memory

CPU

sudo dmidecode -t processor
cat /proc/cpuinfo

Whether Intel (VT-x) or AMD (AMD-V) CPU virtualization technology is enabled.

egrep --color '(vmx|svm)' /proc/cpuinf

Disks

sudo lshw -C disk

 

REFERENCES

https://ubuntuforums.org/showthread.php?t=318789

https://askubuntu.com/questions/179958/how-do-i-find-out-my-motherboard-model/578374

http://raelcunha.com/2015/12/23/updating-bios-with-ubuntu/ (updating with freedos)

https://askubuntu.com/questions/256792/how-do-i-enable-hardware-virtualization-technology-vt-x-for-use-in-virtualbox (virtualization of cpu)