diff --git a/2006-01-22-flashing-without-microsoft-or-floppy-drives.html b/2006-01-22-flashing-without-microsoft-or-floppy-drives.html new file mode 100644 index 0000000..82650e3 --- /dev/null +++ b/2006-01-22-flashing-without-microsoft-or-floppy-drives.html @@ -0,0 +1,28 @@ + + + + + +

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. 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!

+ + diff --git a/files/boot.img b/files/boot.img new file mode 100644 index 0000000..894bbb7 Binary files /dev/null and b/files/boot.img differ diff --git a/include/top.html b/include/top.html index c54e45c..9bbeb6d 100644 --- a/include/top.html +++ b/include/top.html @@ -15,7 +15,7 @@ ">
-

where the flamingcow roams

+

where the flamingcow roams

diff --git a/index.html b/index.html index f59270a..2763606 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,7 @@
  • 2009-Sep-11: Confusing BIND with CNAMEs
  • 2009-Feb-19: The odd case of my mugging
  • 2009-Feb-03: 5-packet TCP connection?
  • +
  • 2006-Jan-22: Flashing without Microsoft or floppy drives
  • diff --git a/markdown/2006-01-22-flashing-without-microsoft-or-floppy-drives.md b/markdown/2006-01-22-flashing-without-microsoft-or-floppy-drives.md new file mode 100644 index 0000000..86120f0 --- /dev/null +++ b/markdown/2006-01-22-flashing-without-microsoft-or-floppy-drives.md @@ -0,0 +1,25 @@ + + + + + +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! + + diff --git a/markdown/index.md b/markdown/index.md index 384525f..2d6fda8 100644 --- a/markdown/index.md +++ b/markdown/index.md @@ -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)