View previous topic :: View next topic |
Author |
Message |
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Thu Mar 10, 2011 10:38 am Post subject: [SOLVED] Update bios with no floppy, cdrom or Windows |
|
|
I have an computer without floppy or cdrom that it is used as a server. The bios is old enough for not being able to boot from a usb stick and not recognising a second hand sata disk. Most of the resources I have reviewed suggest the creation of floppy or cd-rom disk to update the bios, Although this is an uncommon situation, I give the steps I had to do to update the bios, in case it is helpful for somebody:
1.- Unload a Boot Disk from allbootdisks and copy the image into your boot partition. For example:
Code: | wget http://www.allbootdisks.com/downloads/Disks/Windows_ME_Boot_Disk_Download50/Diskette%20Images/WindowsME.img
mount /boot
cp WindowsME.img /boot |
2.- Copy memdisk (you need to have syslinux install) to the boot partition:
Code: | cp /usr/share/syslinux/memdisk /boot |
3.- (grub): Modify your grub.conf so you boot from the image:
Code: | # dos boot
title boot DOS
root (hd0,0)
kernel /boot/memdisk
initrd /boot/WindowsME.img |
4.- Create a vfat partition and copy the bios flash program and bios image there (you need to get them from the motherboard vendor).
5.- Reboot and use the corresponding option from the grub menu.
The fat partition will appear as C:. You can then proceed to update your bios.
This is what has worked for me. Initially, I was reluctant to create a dos partition, and I wanted to create an image with the files to upgrade the iso. This is an example of what I have been doing:
Code: | mkdir oldiso
mkdir newiso
wget http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdfullcd.iso
mount -o loop fdfullcd.iso oldiso
cp oldiso/* newiso
diff oldiso newiso
mkdir newiso/newbios
cp A0315IAG.BIN Awdflash.exe newiso/newbios
mkisofs -r -o FreeDosBios.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-info-table newiso |
And this is the example of the grup options I have used for this case:
Code: | # dos boot
title boot DOS
root (hd0,0)
kernel /boot/memdisk iso
initrd /boot/FreeDosBios.iso |
I was able to boot, but unable to find the bios flash files. I leave it here just in case is useful to somebody.
This is a list of the references I have used:
|
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Sun Mar 20, 2011 11:47 am Post subject: |
|
|
Moved from Kernel & Hardware to Documentation, Tips & Tricks as it fits better here. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
V10lator Apprentice
Joined: 11 Jul 2004 Posts: 207
|
Posted: Thu Jun 09, 2011 12:25 am Post subject: |
|
|
I don't use memdisk + floppy images for that. I'm simply using flashrom (sys-apps/flashrom) for BIOS updates. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Thu Jun 09, 2011 1:45 am Post subject: |
|
|
Flashrom overwrote onboard NIC's MAC address with ff:ff... in one of my boxes.
I used dosemu to install Freedos to an empty image I created. The image is here for download. This image has more than 1 MB free, should accommodate your needs.
Mount this image using loop, add your flash file(s) to it, use dd to copy it to a USB stick, boot from USB and flash.
I've learned even computers which do not have USB boot option often boot from the USB stick with boot options set to ZIP drive or USB floppy. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Thu Sep 15, 2011 2:57 am Post subject: |
|
|
V10lator wrote: | I don't use memdisk + floppy images for that. I'm simply using flashrom (sys-apps/flashrom) for BIOS updates. |
I am again with a laptop bios upgrade, and I have found this message in the flashrom supported harware:
flashrom.org wrote: | IMPORTANT: At this point we recommend to not use flashrom on untested laptops unless you have a means to recover from a flashing that goes wrong (a working backup flash chip and/or good soldering skills).
Total amount of supported laptops: 2. Not yet supported (i.e., known-bad): 8. |
In this situation, I had a Toshiba Tecra laptop that was able to boot from USB. The procedure that I have followed has been the following:
1.- Create a FreeDoss bootable usb with unetbootin
2.- Copy the files CHGBIOSF.EXE and BIO0076T.COM to the usb.
3.- Boot from the usb
4.- After booting, go to C:, where you can find the files CHGBIOSF.EXE and BIO0076T.COM
5.- Execute: CHGBIOSF.EXE BIO0076T.COM
The main issue has been to identify the files that upgraded the bios, as this was a windows self-executable file (that I have unzip with 7z).
Cheers! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|