<?xml version="1.0" encoding="UTF-8"?>
<trick>
  <category-id type="integer">4</category-id>
  <comments type="integer">#&lt;Comment:0x2b6b0f10ff68&gt;</comments>
  <content>&lt;h2&gt;Step by step instructions&lt;/h2&gt;


	&lt;p&gt;Create a working directory:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
mkdir biosupdate &amp;#38;&amp;#38; cd biosupdate
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;Download the latest &lt;span class=&quot;caps&quot;&gt;BIOS&lt;/span&gt; image from your vendors site and put it into the newly created biosupdate directory.&lt;/p&gt;


	&lt;p&gt;The Award &lt;span class=&quot;caps&quot;&gt;BIOS&lt;/span&gt; is used on a lot of motherboards, but please check twice if this is the case on your machine.&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
wget ftp://ftp.shuttle.com/BIOS/utility/awdflash.zip
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;Download the &lt;a href=&quot;http://www.freedos.org/&quot;&gt;FreeDOS&lt;/a&gt; boot image:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
wget http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdboot.img
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;Now we create a directoy to loop mount the FreeDOS boot image, remove one unnecessary file and copy the flash utility and the &lt;span class=&quot;caps&quot;&gt;BIOS&lt;/span&gt; image into that directory. Then we unmount the image and delete the temporary directory. The result is a new boot image:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
mkdir tmp
mount -t vfat -o loop fdboot.img tmp
rm tmp/fdconfig.sys
cp awdflash.EXE &amp;lt;YOUR_BIOS_IMAGE&amp;gt; tmp   # Replace &amp;lt;YOUR_BIOS_IMAGE&amp;gt; with whatever file you downloaded in the very first step
umount tmp
rm -r tmp
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;Now we have to create an &lt;span class=&quot;caps&quot;&gt;ISO&lt;/span&gt; image:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
mkdir isoimage
cp fdboot.img isoimage
mkisofs -r -b fdboot.img -c boot.cat -o biosupdate.iso isoimage
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;If your system is configured correctly, you can burn the image with the following command to a blank CD:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
cdrecord biosupdate.iso
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;Boot the CD and if all went well, you can enter &lt;strong&gt;awdflash &lt;YOUR_BIOS_IMAGE&gt;&lt;/strong&gt; on the &lt;span class=&quot;caps&quot;&gt;DOS&lt;/span&gt; command prompt. Just follow the AWDFlash instructions.&lt;/p&gt;


	&lt;p&gt;For more Linux tricks click &lt;a href=&quot;http://howflow.com/tags/linux&quot;&gt;here&lt;/a&gt;&lt;/p&gt;</content>
  <content-bbcode nil="true"></content-bbcode>
  <content-format>Textile</content-format>
  <content-html nil="true"></content-html>
  <content-textile>h2. Step by step instructions

p. Create a working directory:


&lt;pre&gt;
&lt;code&gt;
mkdir biosupdate &amp;&amp; cd biosupdate
&lt;/code&gt;
&lt;/pre&gt;


p. Download the latest BIOS image from your vendors site and put it into the newly created biosupdate directory.


p. The Award BIOS is used on a lot of motherboards, but please check twice if this is the case on your machine.


&lt;pre&gt;
&lt;code&gt;
wget ftp://ftp.shuttle.com/BIOS/utility/awdflash.zip
&lt;/code&gt;
&lt;/pre&gt;

p. Download the &quot;FreeDOS&quot;:http://www.freedos.org/ boot image:


&lt;pre&gt;
&lt;code&gt;
wget http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdboot.img
&lt;/code&gt;
&lt;/pre&gt;


p. Now we create a directoy to loop mount the FreeDOS boot image, remove one unnecessary file and copy the flash utility and the BIOS image into that directory. Then we unmount the image and delete the temporary directory. The result is a new boot image:


&lt;pre&gt;
&lt;code&gt;
mkdir tmp
mount -t vfat -o loop fdboot.img tmp
rm tmp/fdconfig.sys
cp awdflash.EXE &lt;YOUR_BIOS_IMAGE&gt; tmp   # Replace &lt;YOUR_BIOS_IMAGE&gt; with whatever file you downloaded in the very first step
umount tmp
rm -r tmp
&lt;/code&gt;
&lt;/pre&gt;


p. Now we have to create an ISO image:


&lt;pre&gt;
&lt;code&gt;
mkdir isoimage
cp fdboot.img isoimage
mkisofs -r -b fdboot.img -c boot.cat -o biosupdate.iso isoimage
&lt;/code&gt;
&lt;/pre&gt;


p. If your system is configured correctly, you can burn the image with the following command to a blank CD:


&lt;pre&gt;
&lt;code&gt;
cdrecord biosupdate.iso
&lt;/code&gt;
&lt;/pre&gt;


p. Boot the CD and if all went well, you can enter *awdflash &lt;YOUR_BIOS_IMAGE&gt;* on the DOS command prompt. Just follow the AWDFlash instructions.


p. For more Linux tricks click &quot;here&quot;:http://howflow.com/tags/linux</content-textile>
  <created-at type="datetime">2008-05-16T23:31:34+02:00</created-at>
  <creator-id type="integer">1</creator-id>
  <deleted-at type="datetime" nil="true"></deleted-at>
  <file nil="true"></file>
  <id type="integer">183</id>
  <lang-id type="integer" nil="true"></lang-id>
  <locale>en</locale>
  <nreports type="integer">0</nreports>
  <nvotes type="integer">6</nvotes>
  <permalink>flash_your_award_bios_with_linux</permalink>
  <published-at type="datetime">2008-05-16T21:48:52+02:00</published-at>
  <state>published</state>
  <summary>Even in our modern times, most of the motherboard and BIOS vendors are only supplying .EXE files to flash the BIOS. This trick shows you how to upgrade your BIOS with Linux. All you need is a blank CDR, a FreeDOS image and some tools.</summary>
  <title>Flash your (Award) BIOS with Linux</title>
  <updated-at type="datetime">2008-05-23T23:19:54+02:00</updated-at>
  <updater-id type="integer">3</updater-id>
  <url nil="true"></url>
  <url-code nil="true"></url-code>
</trick>
