Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-11-2004, 04:09 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 23

Rep: Reputation: 15
automatic BIOS update


Is there a way in which I can set up an automatic BIOS update on system reboot? eg if I can set up a partition for BIOS update and modify lilo.conf somehow so that on reboot, the new version of BIOS is flashed and then the system reboots with the actual OS (I have redhat 7 systems)

Old 08-11-2004, 05:15 PM   #2
Registered: Aug 2002
Posts: 16,113

Rep: Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865Reputation: 1865
IMHO it isn't work the effort for maybe a few times that one would want or need to update a motherboards BIOS. If something goes wrong with the script and the update is not successfull then you might be unable to boot your PC. If this happens you will need to replace the BIOS flash memory IC. Besides it only takes a few minutes to accomplish the task.

But yes you could probably do it. It would be possible to change the default boot order with a different lilo.conf file. Your partition would need to be a version of DOS. (DOSemu will not work) on a primary partition. A couple of MB, ie enough for the kernel image and BIOS image. The worst case would be if the BIOS update is a self extracting zip file. The batch file or some executable will need to run the file to extract the image, Figure out the image file name, run the BIOS flash utility. Hopefully you can enter the image file on the command line. Then you can use loadlin to reboot back to linux. To use loadlin you need to copy the kernel image i.e. vmlinuz or whatever to the DOS partition. When the system reboots you can rewrite the old lilo.conf file if necessary. You could use some file to detect which lilo.conf file is loaded.

Last edited by michaelk; 08-11-2004 at 05:19 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic update lik Linux - Newbie 1 04-24-2005 09:05 AM
how to update the BIOS ? qwijibow Linux - General 5 11-15-2004 10:24 PM
BIOS update textomat Linux - Software 6 09-11-2004 04:15 PM
Automatic BIOS configuration on 200 Server's dazdaz General 0 11-17-2003 03:43 AM
update Bios Kaiser Linux - Software 5 09-16-2003 11:45 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration