On this page
How to Check BIOS Version Without Rebooting
Sometimes when you have old machines, you might want to know if flashing the BIOS would allow you to use a larger disk. From a remote system, the following command (run as root) will give you plenty of information:
dd if=/dev/mem bs=32k skip=31 count=1 | strings -n 8 | grep -i bios
1+0 records in
1+0 records out
32768 bytes transferred in 0.011551 seconds (2836813 bytes/sec)
Award SoftwareIBM COMPATIBLE 486 BIOS COPYRIGHT Award Software Inc.oftware Inc. Aw
Award Modular BIOS v4.51PG
Explanation
On an x86 system, the BIOS is traditionally accessible in the last 64KB of the first MB of memory. The dd command is instructed to read from RAM starting at the first byte, skipping 31 blocks of 32KB each, and displaying the 32nd block.
This tip was found on comp.os.linux.misc (from marcello).
Another example looking at the last 32KB of the first MB of memory:
sudo dd if=/dev/mem bs=32k skip=30 count=1 | strings -n 8 | grep -i bios
1+0 records read
1+0 records written
32768 bytes (33 kB) copied, 0.000149 seconds, 220 MB/s
Phoenix cME FirstBIOS Notebook Pro
Last updated 29 Aug 2007, 19:46 CEST.