<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>E14 on Prateek Punetha</title><link>/tags/e14/</link><description>Recent content in E14 on Prateek Punetha</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 03 Sep 2021 00:00:00 +0000</lastBuildDate><atom:link href="/tags/e14/index.xml" rel="self" type="application/rss+xml"/><item><title>Updating My ThinkPad BIOS from Linux</title><link>/posts/updating-thinkpad-bios-from-linux/</link><pubDate>Fri, 03 Sep 2021 00:00:00 +0000</pubDate><guid>/posts/updating-thinkpad-bios-from-linux/</guid><description>&lt;p>About a year ago, I got a ThinkPad E14 Gen 2 (Ryzen) and wanted to update its BIOS.&lt;/p>
&lt;p>However, I didn&amp;rsquo;t want to install Windows just to update the BIOS. After some research online, I discovered that Lenovo releases BIOS updates for ThinkPad in two formats - one is through the Bios Update Utility (Windows), which is a .exe file, and the other is a .iso file that can be flashed through a USB thumb drive.&lt;/p></description><content>&lt;p>About a year ago, I got a ThinkPad E14 Gen 2 (Ryzen) and wanted to update its BIOS.&lt;/p>
&lt;p>However, I didn&amp;rsquo;t want to install Windows just to update the BIOS. After some research online, I discovered that Lenovo releases BIOS updates for ThinkPad in two formats - one is through the Bios Update Utility (Windows), which is a .exe file, and the other is a .iso file that can be flashed through a USB thumb drive.&lt;/p>
&lt;p>Here&amp;rsquo;s how to update the BIOS under Linux:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Get the latest version of the BIOS in .iso format for your model from the Lenovo support site.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Download &lt;code>geteltorito&lt;/code>, a Perl script that extracts the boot image from the bios.iso file. You can grab it from &lt;a href="https://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito/geteltorito.pl">&lt;strong>here&lt;/strong>&lt;/a>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Extract the boot image from the bios.iso file (in my case, the file was r1auj38wd.iso) using the command &lt;code>$ geteltorito.pl -o bios_update.img r1auj38wd.iso&lt;/code>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Copy the image to USB using the &lt;code>dd&lt;/code> command: &lt;code>$ sudo dd if=bios_update.img of=/dev/sda&lt;/code>. Note that you should replace &lt;code>/dev/sda&lt;/code> with the corresponding device name for your system.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Boot from your USB drive, follow the instructions, and update the BIOS.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>At first, I was nervous about what would happen if anything went wrong, but everything worked out just fine :)&lt;/p></content></item></channel></rss>