A tool is needed to install "flash" the image into the chip on the motherboard that holds the BIOS. Typically you are instructed to run some command from windows or to prepare a bootable DOS floppy. Either of these options (never mind that almost no systems these days have floppies) are problematic at best for a person running linux.
WARNING Flashing a new bios is risky. If things don't go right, you may end up with a dead motherboard (and a new appreciation for the role of the BIOS in the world of computing). I will describe what has worked for me, but you should be aware of the risks and realize that your hardware may be different and incompatible with the instructions I am giving here.
yum install flashromAfter this, I used the following commands:
su flashrom flashrom -r oldbios.bin flashrom -w newbios.binThe first two flashrom commands should be safe on any system. The first simply probes for hardware and reports what it finds. The second (flashrom -r) command reads the current bios image and deposits it in a file. The last (flashrom -w) command is the risky one - it writes a new image into the flash chip.
You won't really know that everything is OK until you have successfully rebooted your system. Since linux does not use the BIOS when it is running, you could flash a new bios, run for weeks, and then discover when you rebooted that your system could not reboot. So, I held my breath when I rebooted and everything was fine. But I had two facts to bolster my confidence. One is that my motherboard was listed on the flashrom website as working. The other is that the first two flashrom commands had produced reasonable results and read out a bios image that matched (in size at least) the new bios image I had downloaded.
Using flashrom was simple, quick, and easy.
Along the way I did
yum erase NetworkManagerThis is always my kneejerk response when any networking problem pops up, but may be what is causing the next round of troubles.
RTNETLINK answers: File existsAlso, and in particular, the "route" command shows that no default route is set, which is the root of my trouble no doubt. DNS is working because I can talk to a DNS server on my local LAN. I can set the default route by hand via:
route add default gw 199.104.105.1But this will just get me along while I research the problem. The quick answer for now is:
yum install NetworkManager service network restartThe upshot of all of this, as far as I can sort it out, is that whatever script the service network restart command is running is still trying to talk to network manager. Somewhere in that process it is doing whatever it does to try to configure the default route and the utterly misleading message about "File exists" comes forth.
mkdir floppy mount -t vfat -o loop fdoem.144 floppy cp flasher.exe floppy cp newbios.rom floppy umount floppy mkisofs -o bootcd.iso -b fdoem.144 fdoem.144 cdrecord -v bootcd.isoI did not actually follow through with this, because flashrom did the job for me.
Adventures in Computing / [email protected]