Bootable FreeDOS Live image for BIOS upgrade

Download Link:

I was struggling with BIOS upgrades for our new Dell servers, as Dell didn’t provide bootable ISO image for BIOS upgrades.
After searching for DOS bootable images I have found FreeDOS project.

Unfortunately FreeDOS 1.1 LiveCD mode is not supported out of the box.

Using modified iso image from this page you can boot directly to DOS without need to install anything:

To add your own files to the iso, just use trial version of Magic ISO Maker (300MB maximum), or some similar program.
Just put your custom files in FREEDOS folder and after booting you will be able to run them in DOS environment.

After boot process is complete run dir command to see what files are in current directory.


On the following picture you can see that Dell BIOS update utility – M620-0~0.EXE is present in the directory.

The only thing left is to execute it:

E:\FREEDOS> M620-0~0.EXE

This Bootable DOS ISO was tested on HP, DELL, Supermicro iKVMs and on VmWare.

Download Link:

Generate lines in vi editor

When you need to add multiple similar records to a configuration file (IP addresses for example), you may use vi editor to do it directly:

 :r! for i in $(seq 1 5); do echo "This is line \#${i}"; done

This command wil generate 5 lines:

This is line #1
This is line #2
This is line #3
This is line #4
This is line #5

Similar command used to generate Reverse DNS entries in BIND:

 :r! for i in $(seq 1 5); do echo "$i PTR host${i}"; done

Line numbers can be changed, modifyng the $(seq 1 5); part.