LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 15
automatic BIOS update


Hi,

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)

Thanks
 
Old 08-11-2004, 06:15 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,150

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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 06:19 PM.
 
  


Reply


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 10:05 AM
how to update the BIOS ? qwijibow Linux - General 5 11-15-2004 11:24 PM
BIOS update textomat Linux - Software 6 09-11-2004 05:15 PM
Automatic BIOS configuration on 200 Server's dazdaz General 0 11-17-2003 04:43 AM
update Bios Kaiser Linux - Software 5 09-17-2003 12:45 AM


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

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