BIOS Update

Hardware manufactures often provide updates for BIOS and other types of firmware. To apply (often referred to as "flash") the updates is sometimes not straight forward on GNU/Linux systems. This occasionally requires some extra work.

Gather firmware information
First find the motherboard's manufacturer and the model. Check the user manual that came with the system. Most of the needed information can be found in the user manual.

The package can be used to retrieve additional information on system hardware. dmidecode looks at the motherboard's DMI table in order to provide richer details about the firmware and hardware components.

Lastly, if physical access to the motherboard is possible required information may be found directly on the motherboard itself.

After some searching for where the manufacturer stores firmware update, proceed to download the package necessary to update the hardware. It is normal for a manufacturer to store firmware update packages in .zip, .exe, or .iso format.

BIOS option
Many BIOS have an option to read the new binary image from an external memory stick or floppy disk. If this is the case all that is required is to enter the BIOS setup and look for the option.

Boot-CD
Often the manufacturer offers a CD-ROM image to download as a boot medium. The file should have a .iso file extension which can typically be burnt to an empty CD-R(W). cdrecord can be used in order to burn the image to a disk.

Choose from the BIOS boot menu to boot from CD and follow the instructions on the manufacturers website or in the user manual.

FreeDOS environment
FreeDOS can be used to run DOS-based BIOS update utilitys. A "custom" FreeDOS image which includes the necessary BIOS tools must be created. After the custom image has been generated boot the image via one of the methods shown below.

Download FreeDOS and tools:


 * FreeDOS - Download the file.
 * FreeDOS bootsector - Download the file.
 * The DOS-Flash program and new BIOS from the manufacturers website.

Create a custom FreeDOS image
First download the required software and enable the loopback device in the kernel:

If the module has not been loaded use modprobe to load it:

Install the required software:

Create an image file of ~20MB using the dd command. The name needs to be when replacing the one on the SystemRescueCD):

Write a file system to the image:

Write the bootsector to the image file:

Now copy the FreeDOS files to the new image.

Create the mountpoints:

Mount the original image:

Mount the new image:

Copy the FreeDOS system files to the new image:

Now copy the flash program and the new BIOS to the image file:

Unmount both images:

Using SystemRescueCD to boot FreeDOS
The SystemRescueCD comes with a version of FreeDOS. This version can replace the original image and create a bootable memory stick which contains the needed programs to flash the firmware.

Download SystemRescueCD and prepare LiveUSB

 * SystemRescueCD - Download the normal ISO image.

Create a bootable memory stick
Use the default method to create the SystemRescueCD boot medium, the script will provide guidance through the installation.

Create the folder in :

Mount the CD image:

Start the installation script:

Unmount the CD image:

Replace the FreeDOS image
It is time to replace the original FreeDOS image on the SystemRescueCD memory stick.

Mount the SystemRescueCD memory stick ( needs to be replaced by the device name of the memory stick):

Replace the file:

Unmount the SystemRescueCD memory stick:

Booting the FreeDOS image from GRUB directly
To boot FreeDOS without any external media use the memdisk tool from syslinux to allow grub (or another bootloader) to boot the FreeDOS image directly.

Mount the partition (if needed):

Copy the memdisk binary, and the newly built FreeDOS image to :

Edit and add an entry for FreeDOS:

BIOS update
Restart and choose to boot from the USB memory stick or the new grub entry. When using SystemRescueCD, in the GRUB command line type:

This should boot into the new FreeDOS image. DOS prompt should appear:

Now start the BIOS update by following the manufacturers instructions. Some useful commands in DOS:


 * cd 
 * Change to the directory.


 * dir
 * List the files in the current directory.


 * type </tt>
 * Display the contents of a file.

Flashrom
Check the new BIOS image:

If everything checks out, then flash'em: