Recently I had to update the bios of my laptop from a USB pendrive, because I had no CD/DVD drive around.
Cameron Seader’s post http://blog.seader.us/2013/10/lenovo-bios-update-method-for-linux-and.html came very handy, but used an obsolete tool so I updated his instructions a bit to make them work.
1. Get the machine type and model of your laptop
In order to grab this information you can either go to the BIOS or use dmidecode or hwinfo.
In my case it was ThinkPad W530 2438-2KU.
2. Download appropriate bios update iso from Lenovo’s site
I got mine: “g5uj22us.iso” from http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS029170
3. Extract the boot image from the iso
To do it you can use genisoimage, which can be installed using regular:
$ sudo apt-get install genisoimage
or can be downloaded from: http://manpages.ubuntu.com/manpages/lucid/man1/genisoimage.1.html
Once you have this tool, run:
$ geteltorito g5uj22us.iso > biosupdate.img
4. Copy the boot image to the USB pendrive
$ sudo dd if=biosupdate.img of=/dev/usbthumdrive bs=512K
Reboot and boot from USB to run the Flash Utility