LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2010, 06:47 AM   #1
Koyae
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Rep: Reputation: 0
Updating BIOS from a USB


Okay.

I'm now getting fabulously clean boots after having done the pen-drive trick with the SimplyMEPIS iso that I've got.

The next issue is: my BIOS is WAY out of date, and since I want to be doing stuff with Kismet with my wifi-card working in RFMON (hardware-details here), I need to flash and upgrade the BIOS. I also need to do this so I can complete backing up my system before I do a partition and install because my DVD-drive has largely forgotten how to read and write.

I got over one hurdle I'd been having, but the issue now when I try to execute from Windows is the blocky commandline-text GUI tells me "Cannot flash if memory managers (e.g. EMM386) present." Booting into Linux also does me no good because MEPIS will not run the .exe, or the .bat (which, just calls the exe with a few different args) and does not know how to interpret the WPH-file which is the actual meat and bones of the new information that needs to be loaded. I remember reading somewhere along the way that a WPH can be run if I do some hex-editing but I don't think this simplyMEPIS distro has the right tool pre-installed.
I'm not sure whether the same 'memory management'-problem would be caused by a live USB-boot of Linux or not.

Do I need to download a distro that has DOSBox preinstalled in the live version, or is there something to doing the hex editing?

Because of the way XP is configured, there's no way to get to the command prompt before the shell is loaded -- startup-scripts are only enabled post-logon, and XP no longer supports an old ME-option called RunServicesOnce, which apparently can run stuff before logon.

Short of installing Windows 98 to get a non-memory managed cpl, what are my options?
Will a live version of SimplyMepis interfere with the BIOS-flash, or would it be managing different memory than the complaint is about? If Linux can do the flash for me then do I need a new distro-iso so I can run the exe, or can I install programs directly to the flash somehow and have them show up "pre-installed" on live boot? Or is there a surefire way to edit the WPH so the BIOS can get updated without having to wait for that?

Please help.
Thanks.

Last edited by Koyae; 04-11-2010 at 06:49 AM.
 
Old 04-11-2010, 07:09 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
There are many ways to flash the BIOS, many of them quite risky. Maybe you should post what motherboard you have, that may help in deciding what is the best way.
 
Old 04-11-2010, 07:20 AM   #3
Koyae
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
Copied and pasted from my start-thread:

video:
NVIDIA GeForce 9600M GT (not integrated)
Processor:
Core2 Duo T9400 @ 2.53GHz
Chipset:
Mobile Intel® PM45 Express Chipset
I/O Controllers:
Intel(R) 82801IMB Intel(R) I/O Controller Hub (ICH9M-B) SATA Controller found in IDE mode
Mobile Intel® 82PM45 Memory Controller Hub (MCH)
wireless card:
Intel WiFi Link 5300 AGN
 
Old 04-11-2010, 08:10 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,823
Blog Entries: 27

Rep: Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122
Hi,

Take a look at 'Flashrom' & 'Universal BIOS Flash programmer for Linux, BSD and more'.

 
Old 04-11-2010, 08:25 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
Quote:
Originally Posted by Koyae View Post
Copied and pasted from my start-thread:

video:
NVIDIA GeForce 9600M GT (not integrated)
Processor:
Core2 Duo T9400 @ 2.53GHz
Chipset:
Mobile Intel® PM45 Express Chipset
I/O Controllers:
Intel(R) 82801IMB Intel(R) I/O Controller Hub (ICH9M-B) SATA Controller found in IDE mode
Mobile Intel® 82PM45 Memory Controller Hub (MCH)
wireless card:
Intel WiFi Link 5300 AGN
Well, I don't think flashrom or coreboot will work. So where did you get this BIOS you need to flash ? Is it for DOS or Window$ ? If it's for DOS, you may want to use a boot disk or some other bootable media with some version of DOS on it and the BIOS you need to flash. If it's Window$, you should extract the BIOS file that you need to flash, and make a DOS boot disk for flashing it. I think it's very unsafe to flash BIOS using Window$ or wine.

I know with my mobo, the site where I download the BIOS from Intel has a bootable DOS CD ready made, so you just burn it and flash, with my other mobo, Gigabyte has a boot option to boot into DOS and flash a BIOS from another media even USB. So it really does depend a lot on the mobo manufacturer, but even so, you should be able to do it with a DOS boot disk.
 
Old 04-11-2010, 08:34 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,823
Blog Entries: 27

Rep: Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122
Hi,

Your right, I didn't realize this was for a laptop.

The OP should look at the manufactures Update utilities.
 
Old 04-11-2010, 02:14 PM   #7
Koyae
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
Okay. Here's what the manufacturer's site provides, incase you think I'm dumb for not seeing a utility anywhere.

http://www.ibuypower.com/Support/Driver.aspx

What IBP calls "CZ9-Ultra" which is the same as "HL-90" which is what it says on the bottom of my machine under "model#." Feel free to wander around the tree as I did, looking for an easy approach. There is really just the one file that's there. Basically the simple upgrade program can't be run with my current OS running at the same time.

There's also a utility that runs under Windows XP just fine, but all that it does is update the /drivers/ that the chipset uses to interface with the various devices. Nothing significant changed after I restarted after installing that. Does anyone know of a working and available utility that will just let me get a (say) Win95 prompt to show up off of a USB-drive? Or is there a way to just get the BIOS to just /run/ the executable?

Then I could boot to the drive, flash, and then change my USB-drive back to its former self.

Suggestions, please. I'm no expert at this stuff.

Last edited by Koyae; 04-11-2010 at 02:15 PM.
 
Old 04-11-2010, 03:41 PM   #8
Koyae
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
Alright. I got it.

I used this fabulous walkthrough here to get a simple DOS USB and it worked like a charm.

On to my next question (about backups) in a new thread.
 
Old 04-11-2010, 06:22 PM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,823
Blog Entries: 27

Rep: Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122Reputation: 2122
Hi,

Please mark the post as Solved via the Thread Tools.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updating bios on Acer Aspire One symon1980 Linux - Hardware 4 05-12-2009 10:35 AM
updating bios nanjil SUSE / openSUSE 2 02-06-2006 05:33 AM
Updating BIOS xcraider Fedora - Installation 5 02-18-2005 10:31 AM
updating bios with linux? quarry_06 Linux - Software 4 12-04-2004 07:33 AM
Updating BIOS from a .exe file Jeffmrg Linux - Hardware 23 09-24-2004 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration