View previous topic :: View next topic |
Author |
Message |
Hell-Razor Guru
Joined: 10 Jun 2004 Posts: 458
|
Posted: Thu May 03, 2007 11:06 am Post subject: HowTo: Flash Bios NO floppy! NO DOS! |
|
|
I ran into this problem today actually. I found a little bug in my bio's and decided it was time to upgrade it. I looked around on the forums for a while and did not come up with anything so I joined the #linux irc channel. After talking to people there for about an hour I got my answer. And from there I decided there may be people looking for this same thing, so here is how I did it.
First of all i would like to thank notp for his help in hunting this problem down. Thank you
Step 1: Download FreeDOS boot disk floppy image
Second of all you are going to need a files called FDOEM. Thanks to the guys at FreeDos
Code: | wget http://www.fdos.org/bootdisks/autogen/FDOEM.144.gz |
Time to gunzip this file, simply type in:
Code: | gunzip FDOEM.144.gz |
Step 2: Copy your BIOS flash utility and new BIOS image to the mounted floppy disk image
This next step is going to require you to have vfat and loop support. To check run:
Code: | zcat /proc/config.gz | grep LOOP #will return CONFIG_BLK_DEV_LOOP=y if enabled
zcat /proc/config.gz | grep VFAT #will return CONFIG_VFAT_FS=y if enabled |
From here we need to use both the commands to "mount" the FDOEM image so we can edit it.
Make a temp directory (if needed) to house the image:
Mount the FDOEM image:
Code: | mount -t vfat -o loop FDOEM.144 /mnt/image |
If this step went without errors then everything is right on track. From here make sure to download your motherboard BIOS drivers and a motherboard flash utility (if need be. Mine required one so here is what I did).
Be sure to unzip them before moving them to the FDOEM image.
Code: | unzip A8V-ASUS-Deluxe-1017.zip #BIOS IMAGE
unzip AFUDOS.zip #BIOS FLASH UTILITY
cp AFUDOS.exe A8V-ASUS-Deluxe-1017.ROM /mnt/image |
Double check to make sure the files are not too big for our "floppy":
Then unmount:
Step 3: Burn a bootable CD which will emulate floppy device for us
We need to make our "floppy" image bootable. There is a very easy way of doing this and that is to use mkisofs
Code: | mkisofs -o bootcd.iso -b FDOEM.144 FDOEM.144 |
From here you want to toss in a blank CD/DVD to burn to. In the last step you want to burn it using cdrecord:
Code: | cdrecord -v bootcd.iso |
Step 4: Reboot, flash, reboot, enjoy your new BIOS
Enjoy!
Found at: http://www.linuxinsight.com/how-to-flash-motherboard-bios-from-linux-no-dos-windows-no-floppy-drive.html
Last edited by Hell-Razor on Fri May 18, 2007 5:45 am; edited 1 time in total |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu May 03, 2007 11:18 am Post subject: |
|
|
or... add the iso as a entry in GRUB,
nice writeup mind, I need to flash my BIOS _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Hell-Razor Guru
Joined: 10 Jun 2004 Posts: 458
|
Posted: Thu May 03, 2007 11:30 am Post subject: |
|
|
naib -- have that howto laying around somewhere? I can / will add it. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu May 03, 2007 11:45 am Post subject: |
|
|
mmm I might of been mistaken
grub can chainload a physical disk in floppy/cd as well as memtest.bin... can't find how to do an iso (pretty sure I saw it??)
if it cant, if there was a way todo like memtest then that would be sweet! _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
|
Back to top |
|
|
JeliJami Veteran
Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
Posted: Thu May 03, 2007 12:02 pm Post subject: |
|
|
I remember doing a BIOS upgrade from a running Gentoo environment with LinuxBIOS (v2), on some VIA mobo. And it succeeded
I think the utility was called flash_and_burn. _________________ Unanswered Post Initiative | Search | FAQ
Former username: davjel |
|
Back to top |
|
|
Hell-Razor Guru
Joined: 10 Jun 2004 Posts: 458
|
Posted: Sat May 05, 2007 3:31 pm Post subject: |
|
|
naib--- this way requires noedit the grub AND it will work on any machine. I think this should be put as a sticky. |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Mon May 14, 2007 10:17 pm Post subject: |
|
|
awesome hell-razor, this is EXACTLY what I needed. Many thanks for sharing |
|
Back to top |
|
|
|