Updating bios from linux
Although Gigabyte claim that their QFlash BIOSes can be loaded independently of the OS the box is running, they only supply them as Windows binary self extracting archives.Gigabyte tech support aren't much help, suggesting that users can just extract it on a Windows box. The Gigabyte QFlash binaries are simply self extracting rar files.OK, this post is more about creating the bootable USB stick needed, was too much of a chicken to try Flashrom …First, find your serial number, for querying Lenovo support (BIOS upgrade) pages.
A list of links to firmware downloads can be found at BIOS Upgrade Downloads for most Thinkpad models. Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting disks from the IBM website cannot be booted directly as such.
This page is meant to describe ways to update the BIOS on a Think Pad that only runs Linux for users that don't have ready access to Windows. Follow these steps: Use "geteltorito" to extract the update image from ISO image, downloaded from Lenovo's drivers page.
If you have Windows on your Think Pad you can just boot into it and follow instructions on the Lenovo website. Write the extracted image to a USB Flash drive using dd.
Handle 0x000D, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 3460CLG Version: Think Pad X1 Carbon Serial Number: DEXFXX UUID: MMMMMMMM-NNNN-OOOO-PPPP-QQQQQQQQQQQQ Wake-up Type: Power Switch SKU Number: LENOVO_MT_3460 Family: Think Pad X1 Carbon … Find the Drivers & Software URL at Lenovo (again, real serial number obfuscated in URL).
Navigate to the “BIOS Update Bootable CD”, which in my case turned out to be called ./-o g6uj21g6uj21Booting catalog starts at sector: 20 Manufacturer of CD: NERO BURNING ROM Image architecture: x86 Boot media type is: harddisk El Torito image starts at sector 27 and has 65536 sector(s) of 512 Bytes Image has been written to file "g6uj21us.img".