LinuxQuestions.org
Review your favorite Linux distribution.
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 04-23-2006, 07:08 PM   #1
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
BIOS update


I guess this is technically not a Linux question, but I'm sure the problem will sound familiar. I want to flash my BIOS, but the downloaded software only works in Windows or DOS. My plan was to download a FreeDOS floppy bootimage and make a bootable iso with the BIOS software.
This is what I've done:

I've downloaded the BIOS software here and the bootimage here.
Then I executed following commands:

Code:
$cd ~
$mkdir -p flashcd/boot
$dd if=fdos1440.img of=flashcd/boot/boot.img bs=10k count=144
$cp -a 3a32/ flashcd/
$mkisofs -b boot/boot.img -c boot/boot.catalog -o flashcd.iso flashcd
When I try booting with this cd, I get "....Boot error". Can anybody explain what I've done wrong? Or give me a better solution to flash the BIOS?
 
Old 04-24-2006, 12:14 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1
Posts: 551
Blog Entries: 1

Rep: Reputation: 45
It looks like you are trying to build a CD image on a floppy disk. A floppy disk is much simpler. Assuming that the boot image that you downloaded is a ready to go bootable MSDOS image, then perhaps:

[bash]$ dd if=bootimagepath&filenamehere >/dev/fd0 (where /dev/fd0 is your floppy drive).
 
Old 04-24-2006, 04:00 AM   #3
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
I don't have a floppy drive on that computer I want to upgrade.
 
Old 04-24-2006, 08:57 AM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
http://www.ultimatebootcd.com/
 
Old 04-24-2006, 09:18 AM   #5
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Emerson
Yes, I've found that site already. But then I'll have an iso that I can boot with, but how to get my flashing software on it?
 
Old 04-24-2006, 09:25 AM   #6
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Google is your friend, yeah
 
Old 04-24-2006, 01:51 PM   #7
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1
Posts: 551
Blog Entries: 1

Rep: Reputation: 45
Quote:
From merchtemeagle

I don't have a floppy drive on that computer I want to upgrade.
Maybe temporarily hook a floppy drive up to that computer. Floppy drives are as inexpensive as flies these days.
 
Old 04-24-2006, 02:06 PM   #8
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by xode
Maybe temporarily hook a floppy drive up to that computer. Floppy drives are as inexpensive as flies these days.
That could be an option. It is a notebook though. Is that relatively easy to do?
 
Old 04-24-2006, 02:30 PM   #9
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Easier may be making a small fat partition on your hard disk and after booting with Ultimate Boot Disk load upgrade from there. You may need to shrink your existing partitions for this though.
 
Old 04-24-2006, 02:45 PM   #10
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
This is what I've done so far:

I downloaded the UBCD iso and took the following steps:

Code:
$cd ~
$mkdir -p flashcd/
$mkdir -p tmp/
$mount ubcd.iso tmp/
$cp -R tmp/* flashcd/
$cp -R 3a32/ flashcd/
$cd flashcd/
$mkisofs -N -J -joliet-long -D -V "UBCD" -o /home/lddekeyz/flashcd.iso -b boot/loader.bin -no-emul-boot -boot-load-size 4  .
I'm able to boot with this disk and I choose to start FreeDOS. There, I do the following (the last step is as described in the README.txt of the downloaded BIOS software):

Code:
Q:\ T:
T:\ cd 3A32
T:\ PHLASH16 ZL53A32.WPH /mode=3 /X
The "Phoenix Phlash16 Utility Version 1.4 Build 57" starts. It mentions it's loading the image file but halts with the error:
"Invalid Opcode at 00F8 0001 0282 3B02 75C6 E22B 81F6 00C3 8110 00FB 72A0 66E5 C0"

I hate it how hardware vendors are able to make a non OS-specific task a nightmare.

Last edited by merchtemeagle; 04-24-2006 at 02:50 PM.
 
Old 04-24-2006, 04:42 PM   #11
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
You may try Uniflash instead that PHLASH16 ... just my two cents.
 
Old 04-24-2006, 06:04 PM   #12
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
I'll take a look at Uniflash. Would the procedure just consist of running Uniflash with the provided .WPH file?
 
Old 04-24-2006, 06:16 PM   #13
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
It has been long time since I used Uniflash, I remember everything was pretty straightforward and self-explanatory.
 
Old 04-24-2006, 06:53 PM   #14
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
I'm checking the list of supported motherboards on the Uniflash website.
Problem I'm having now is: I don't know what chipset my motherboard uses. I can't see the STOP procedure, it seems like my screen is warming up then.
If I enter the setup by pressing <F12>, then I can see: VGA Bios Version SiS 2.27.g8. Does that tell me something about the used chipset?
 
Old 04-24-2006, 08:02 PM   #15
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
No, VGA BIOS has nothing to do with this. Trying is not going to do any harm, if your chip is not supported Uniflash will tell you.
 
  


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
need help Update BIOS amdy General 2 04-18-2006 07:43 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 update Pico_01 Linux - General 1 08-11-2004 05:15 PM
update Bios Kaiser Linux - Software 5 09-16-2003 11:45 PM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
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