Flashing without Microsoft or floppy drives
This commit is contained in:
28
2006-01-22-flashing-without-microsoft-or-floppy-drives.html
Normal file
28
2006-01-22-flashing-without-microsoft-or-floppy-drives.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!--# set var="title" value="Flashing without Microsoft or floppy drives" -->
|
||||
<!--# set var="date" value="January 22, 2006" -->
|
||||
|
||||
<!--# 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 .exe’s) 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" -->
|
||||
BIN
files/boot.img
Normal file
BIN
files/boot.img
Normal file
Binary file not shown.
@@ -15,7 +15,7 @@
|
||||
<body class="<!--# echo var="class" -->">
|
||||
|
||||
<header>
|
||||
<h1><a href="https://firestuff.org/">where the flamingcow roams</a></h1>
|
||||
<h1><a href=".">where the flamingcow roams</a></h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
<li>2009-Sep-11: <a href="2009-09-11-confusing-bind-with-cnames.html">Confusing BIND with CNAMEs</a></li>
|
||||
<li>2009-Feb-19: <a href="2019-02-19-the-odd-case-of-my-mugging.html">The odd case of my mugging</a></li>
|
||||
<li>2009-Feb-03: <a href="2009-02-03-5-packet-tcp-connection.html">5-packet TCP connection?</a></li>
|
||||
<li>2006-Jan-22: <a href="2006-01-22-flashing-without-microsoft-or-floppy-drives.html">Flashing without Microsoft or floppy drives</a></li>
|
||||
</ol>
|
||||
|
||||
<!--# include file="include/bottom.html" -->
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<!--# set var="title" value="Flashing without Microsoft or floppy drives" -->
|
||||
<!--# set var="date" value="January 22, 2006" -->
|
||||
|
||||
<!--# include file="include/top.html" -->
|
||||
|
||||
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?
|
||||
|
||||
So, we improvise. Grab this [FreeDOS boot disk](files/boot.img). Mount in Linux:
|
||||
|
||||
sudo mount -o loop boot.img /mnt
|
||||
|
||||
Copy whatever files were provided by the vendor (hint: unzip handles most Windows self-extracting .exe’s) into /mnt.
|
||||
|
||||
sudo umount /mnt
|
||||
|
||||
Build a CD image:
|
||||
|
||||
mkdir cdimage
|
||||
mkdir cdimage/boot
|
||||
cp boot.img cdimage/boot
|
||||
mkisofs -r -b boot/boot.img -c boot/boot.catalog -o cdimage.iso cdimage
|
||||
|
||||
Then burn with your favorite CD burning program. Presto!
|
||||
|
||||
<!--# include file="include/bottom.html" -->
|
||||
@@ -39,5 +39,6 @@
|
||||
1. 2009-Sep-11: [Confusing BIND with CNAMEs](2009-09-11-confusing-bind-with-cnames.html)
|
||||
1. 2009-Feb-19: [The odd case of my mugging](2019-02-19-the-odd-case-of-my-mugging.html)
|
||||
1. 2009-Feb-03: [5-packet TCP connection?](2009-02-03-5-packet-tcp-connection.html)
|
||||
1. 2006-Jan-22: [Flashing without Microsoft or floppy drives](2006-01-22-flashing-without-microsoft-or-floppy-drives.html)
|
||||
|
||||
<!--# include file="include/bottom.html" -->
|
||||
|
||||
Reference in New Issue
Block a user