LinuxQuestions.org
Visit Jeremy's Blog.
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 05-06-2008, 05:21 PM   #1
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,923

Rep: Reputation: 278Reputation: 278Reputation: 278
Smile DOS Boot Disk CDrom How To


You can skip this part. I want to be able to find this information in the future. It won't get lost here. A little background: PCs don't have floppies anymore. What are laptop users supposed to do for a bios upgrade? CDrom drives have taken over for floppies, and this is a good thing, but bad. Every bios update uses dos based utilities, so we need a way to make a dos boot CDrom. You can start here for the juicy stuff.

Download the bare bones basic, or BBB, open source dos floppy image here: FDOEM.144.gz .

make sure you are in the directory you want to work from. If you download everything to /home/sam/Desktop/, and you are in /home/sam/, these instruction won't work. You need to be in the same directory as the files you're using.

For real newbies, set the browser to download somewhere you can find the file. Use gunzip FDOEM.144.gz to open the file.

Download the bios update file, and the flash utility, from the motherboard manufacturers website, and unzip them with unzip <file.zip>.

Copy this shell script into a text editor, fill in the missing bios upgrade filename, and flash utility filename. Name the script something after it is saved, and chmod a+x <script_name>. Then: su
password:
./<script_name> should spit out the iso file.

----------------------------copy-------------------------------
#!/bin/bash
# dos boot cd bios flash disk
# script. Must be run from
# The same directory as the files
# it uses. Use chmod a+x <script_name>
# to make this script executable.

mkdir /mnt/dos
modprobe loop
mount -o loop FDOEM.144 /mnt/dos -t msdos
cp ./<bios upgrade file> /mnt/dos/
cp ./<flash utlity> /mnt/dos/
rm /mnt/dos/autoexec.bat
rm /mnt/dos/config.sys
rm /mnt/dos/readme
umount /mnt/dos
mkisofs -o <dos-cd-image-name>.iso -b ./FDOEM.144 ./FDOEM.144 ...

-----------------------------copy------------------------------

... And burn <dos-cd-image-name>.iso to a cd, as an image, not as file. In k3b, you choose Burn CD Image
from the Tools Menu. Boot with the CD, use the dir command to check filenames after you're in dos. Flash the bios.

The rest is up to you, My Son, for I have given you a fine mind, courage, and adeptitude. You shall not fail. God is with you.

-Awesome

Last edited by AwesomeMachine; 05-06-2008 at 06:26 PM. Reason: correction
 
Old 05-06-2008, 05:34 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Thanks, pal. I just downloaded the new BIOS yesterday and knowing I have to fiddle (again! I never remember how I did it last time) was holding me back.
 
Old 05-06-2008, 05:37 PM   #3
viron
Member
 
Registered: Dec 2005
Location: McKinney, Texas
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Good stuff. This is exactly what I do to upgrade my BIOS. You can burn the image from the CLI using:

cdrecord dev=/dev/cdrom -v dos-boot-image.iso

Changing /dev/cdrom to your appropriate device obviously.
 
  


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
DOS boot disk Christof999 Linux - Software 1 07-10-2006 12:27 PM
dos boot disk mfds Linux - Newbie 3 04-14-2004 07:22 PM
9.1 install, boot from cdrom, select source as cdrom, Can't find disk jake555 Slackware 1 10-30-2003 11:34 AM
loading dos from lilo without boot disk chetan13 Linux - General 10 06-19-2003 12:35 PM
samba dos boot disk mnauta Linux - Networking 1 05-28-2003 03:33 PM


All times are GMT -5. The time now is 04:17 PM.

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