Update BIOS under Linux

Last time I’ve faced a problem of updating BIOS while having only a computer with Linux and no bootable CD or pendrive (USB stick) with DOS and no access to MS DOS/MS Windows bootable pendrive/floppy/etc. The motherboard’s manufacturer (MSI) provided BIOS upgrade in form of DOS program what required to use some kind of DOS-like software.

The simplest track (no messing with FreeDOS image, no Qemu, no complicated commands) I figured out is:

  1. Prepare a pendrive with FAT16 primary, bootable partition (fdisk, mkfs.msdos) – most likely your USB stick is just ready.
  2. Install UNetbootin – on Ubuntu-like Linux just run Synaptic and search for “unetbootin” package and install it. This is GUI program for easy preparing bootable pendrives from ISO image files intended for burning on CD/DVD.
  3. Run UNetbootin, select distribution “FreeDOS” ver. 1.0, select USB drive with your pendrive and click OK to install this free DOS on the pendrive.
  4. Mount the pendrive and copy files for BIOS upgrade on the pendrive’s root directory – in my case these were 2 files: an updater .EXE file and BIOS image file.
  5. Restart computer and boot from the prepared pendrive – it should give you “A:” prompt. As you can check your BIOS-upgrade files are not present here. That’s really tricky!
  6. Type c: and press [Enter] – it should give you “C:” prompt (WARNING: my computer had the hard drive disconnected so probably that’s why I could use “c:” – you may try another drive-letter). Now you’re in a directory containing files for your BIOS upgrade.
  7. Proceed with BIOS update (follow instructions from motherboard manufacturer).

Please note, that only open source software was used in this procedure.

Advertisements

About krzysztoftomaszewski

I've got M.Sc. in software engineering. I graduated in 2005 at Institute of Computer Science, Warsaw University of Technology, Faculty of Electronics and Information Technology. I'm working on computer software design and engineering continuously since 2004.
This entry was posted in BIOS, Linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s