Files
firestuff/2006-01-22-flashing-without-microsoft-or-floppy-drives.html

29 lines
1.1 KiB
HTML
Raw Normal View History

<!--# set var="title" value="Flashing without Microsoft or floppy drives" -->
2019-04-25 02:45:09 +00:00
<!--# set var="date" value="2006-01-22" -->
<!--# include file="include/top.html" -->
<p>Ran into an issue where we had to flash upgrade some firmware in a server. As usual, firmware downloads came as MS-DOS programs, and told you to put them on a bootable DOS floppy disk and boot from it. This is becoming a real pain in the ass — who actually uses that Microsoft crap anymore? :) Also, what server has a floppy drive?</p>
<p>So, we improvise. Grab this <a href="files/boot.img">FreeDOS boot disk</a>. Mount in Linux:</p>
<pre><code>sudo mount -o loop boot.img /mnt
</code></pre>
<p>Copy whatever files were provided by the vendor (hint: unzip handles most Windows self-extracting .exes) into /mnt.</p>
<pre><code>sudo umount /mnt
</code></pre>
<p>Build a CD image:</p>
<pre><code>mkdir cdimage
mkdir cdimage/boot
cp boot.img cdimage/boot
mkisofs -r -b boot/boot.img -c boot/boot.catalog -o cdimage.iso cdimage
</code></pre>
<p>Then burn with your favorite CD burning program. Presto!</p>
<!--# include file="include/bottom.html" -->