Files
firestuff/2006-01-22-flashing-without-microsoft-or-floppy-drives.html
2019-04-25 02:45:09 +00:00

29 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--# set var="title" value="Flashing without Microsoft or floppy drives" -->
<!--# 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" -->