<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jason schaefer &#187; unzip</title>
	<atom:link href="http://jasonschaefer.com/archives/tag/unzip/feed" rel="self" type="application/rss+xml" />
	<link>http://jasonschaefer.com</link>
	<description>documentation and stuff :(){ :&#124;:&#38; };:</description>
	<lastBuildDate>Thu, 12 Jan 2012 20:15:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>* Flashing a BIOS update using only free tools (FreeDOS, etc)</title>
		<link>http://jasonschaefer.com/archives/209</link>
		<comments>http://jasonschaefer.com/archives/209#comments</comments>
		<pubDate>Fri, 12 Mar 2010 08:52:41 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[documentation]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[freedos]]></category>
		<category><![CDATA[gpl]]></category>
		<category><![CDATA[unzip]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wodim]]></category>

		<guid isPermaLink="false">http://jasonschaefer.com/?p=209</guid>
		<description><![CDATA[The wonderful world of motherboard BIOS updates, is still old fashioned. Updates are often still built for Microsoft Windows environments. Often requiring MS DOS. Those of us who don&#8217;t have DOS, a floppy drive, an install of Windows 98 to create a bootable floppy, cheesy Pâté, or MS Windows for that matter &#8230;.. Here is <a href='http://jasonschaefer.com/archives/209'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>The wonderful world of motherboard BIOS updates, is still old fashioned. Updates are often still built for Microsoft Windows environments. Often requiring MS DOS. Those of us who don&#8217;t have DOS, a floppy drive, an install of Windows 98 to create a bootable floppy, cheesy Pâté, or MS Windows for that matter &#8230;.. Here is a way one can flash that BIOS of your mobo using, our favorite free software licensed, operating systems and tools.</p>
<p>DISCLAIMER: Don&#8217;t attempt this unless you know what you are doing. I have never had problems doing this, BUT many things can go wrong and you CAN easily &#8220;brick&#8221; your hardware. Proceed at your own risk!!</p>
<p>We will be using <a href="http://www.freedos.org/">FreeDOS</a>, a wonderfully free and royalty exempt Microsoft DOS compatible operating system. Licensed under the General Public License (GPL).<br />
Note: As usual, my posts require some knowledge of the command line.</p>
<pre class="brush:plain">
wget http://www.fdos.org/bootdisks/autogen/FDOEM.144.gz
gunzip FDOEM.144.gz
mkdir floppy
sudo mount -o loop FDOEM.144 floppy/
ls floppy
</pre>
<p>you should see these files:<br />
AUTOEXEC.BAT  COMMAND.COM  CONFIG.SYS  KERNEL.SYS  README  sys.com</p>
<p>Download your BIOS update file from the manufacturer or vendor.<br />
Note: Sometimes, the update will be distributed as a .exe (Windows Executable) file. Most likely it will actually be a compressed zip archive. You can use unzip to extract the .exe file.</p>
<p>Download the update using wget, then unzip the resulting image file &#8220;FDOEM.144&#8243; into the mounted folder: &#8220;floppy/&#8221;</p>
<pre class="brush:plain">
wget http://path-to-your-bios-update/BIOS_UPDATE.zip
sudo unzip BIOS_UPDATE.zip -d floppy/
</pre>
<p>In this case, the following files are extracted from the BIOS_UPDATE.zip file:<br />
inflating: BIOS.WPH<br />
inflating: OEMPHL.EXE<br />
inflating: OPTIONS.BAT<br />
inflating: PHLASH16.EXE<br />
inflating: releasenotes.txt<br />
inflating: 1.BAT</p>
<p>now, move to the previous directory (cd ..), and un-mount the FDOEM.144 image:</p>
<pre class="brush:plain">
cd ..
sudo umount floppy/
</pre>
<p>generate the iso image:</p>
<pre class="brush:plain">
genisoimage -o flashboot.iso -b FDOEM.144 FDOEM.144
</pre>
<p>Now burn flashboot.iso to CD using wodim:</p>
<pre class="brush:plain">
wodim flashboot.iso
</pre>
<p>Now you can boot from that cd and run your flash utility!! Read the BIOS update instructions on how to do this.. </p>
]]></content:encoded>
			<wfw:commentRss>http://jasonschaefer.com/archives/209/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

