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. 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, the required information may be found directly on the motherboard itself.

After searching for the manufacturer's 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 BIOSes have an option to read the new binary image from an external memory stick or floppy disk. Enter the BIOS setup and look for the option. If the BIOS does not support this, continue with the next section.

Boot-CD
Often the manufacturer offers a CD-ROM image to download as a boot medium. The file should have an file extension which should be properly burned to an empty CD-R(W). One of the tools that supports this is :

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 utilities. 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 to load it:

Install the required software:

Create an image file of ~20MB using the 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 tool from syslinux to allow grub (or another bootloader) to boot the FreeDOS image directly.

Mount the partition (if needed):

Copy the 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. The DOS prompt should appear:

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


 * Change to the directory.
 * Change to the directory.


 * List the files in the current directory.
 * List the files in the current directory.


 * Display the contents of a file.
 * Display the contents of a file.

Flashrom
Some motherboards can support flashing (via the package) directly from the system. In this case the only needed component is the BIOS image. Before continuing this path, first check the list of supported hardware.

If the hardware is supported, verify the new BIOS image:

If everything checks out, then flash it: