How to add files to a DOS boot CD?

August 18, 2010 at 00:18:33
Specs: Windows XP, P4 2.4 GHz, 1GB ram
My winXP shuttle PC is randomly crashing - various blue screen and black screens. Thought it might be graphics card/driver so have tried 3 different cards with different drivers - still crashing. I went to check the BIOS settings, but every time i boot & try to access the BIOS menu i get a garbled screen. I'm guessing my BIOS is corrupt and want to try upgrading it. I have downloaded latest .bin file version and AWDFLASH.exe - i have a DOS boot CD iso - using gBurner i added the BIOS files onto the CD iso and re-burnt. The disk boots fine into DOS but the awdflash.exe and .bin file are not visible in DOS (the files are visible on the disk under windows XP). Am i doing something wrong? Any help would be much appreciated.

See More: How to add files to a DOS boot CD?

Report •

#1
August 18, 2010 at 01:34:56
Check the file attributes for hidden and system on that files.
Also make sure not to use long filenames for folders and files.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#2
August 18, 2010 at 10:52:22
This may be way off target, but I did something similar ages ago using an msdos floppy image and then added files to the cdrom using Easy CD.

If I recall correctly, the dos part booted as A: and the extra files became part of the first drive loaded by mscdex. I don't know if it will help you or not, but try checking other drive letters - B:, D:, E:, etc

On a side note, if you can boot the machine to dos, then you could possibly use a null modem cable to transfer the bin and flash utility over a serial connection. It's slow, but should work. Similarly, you could try dos' intersvr and interlnk programs.


Report •

#3
August 18, 2010 at 14:14:24
Thanks for the replies.
Will check for file attributes - the file names are all short and not in folders so that shouldn't be an issue.
I've tried changing drive letters - B: takes me to the same CD I boot from - no other drive letters are visible (hard-drives are NTFS so i guess DOS won't see them).
My DOS knowledge is very light - not sure how to do the serial connection part or use intersvr/interlnk - but will try and read up on it.
Thanks again.

Report •

Related Solutions

#4
August 18, 2010 at 15:37:06
Oh, therefore, you have a dos bootable CD, created with an bootfloppy disk image as bootsector for the cd.
So when you put the AWFLASH and the BIOS update file simply on that CD, you have to load a CD dos driver in the config.sys file of floppy boot disk image as well as the command mscdex with it's necessarry parameters in the autoexec.bat file.
In that case, when everything is correct and you boot your machine from such CD, you'll get a simulated floppy drive A or B and a CD-Rom drive D, E or F, depanding on, how many hard drives are installed and how many partitions are dos readable.
So at the bottom line, you can't see the files, because there is not CD-ROM DOS driver loaded in config.sys file and no MSCDEX entry in autoexec.bat file.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#5
August 18, 2010 at 20:30:58
OK - that makes sense.
I opened the autoexec.bat and config.sys on the DOS CD iso (using gBurner) - results below

autoexec.bat

@echo off
MSCDEX.EXE /D:banana /L:R


config.sys

DEVICE=HIMEM.SYS /testmem:off
FILES=30
BUFFERS=20

DEVICE=cd1.SYS /D:banana

rem DEVICE=cd1.SYS /D:banana /P:1f0,14
rem DEVICE=cd1.SYS /D:banana /P:170,15
rem DEVICE=cd1.SYS /D:banana /P:170,10
rem DEVICE=cd1.SYS /D:banana /P:1e8,12
rem DEVICE=cd1.SYS /D:banana /P:1e8,11
rem DEVICE=cd1.SYS /D:banana /P:168,10
rem DEVICE=cd1.SYS /D:banana /P:168,9

LASTDRIVE=Z

As i said earlier - my knowledge of DOS is very basic - i'm not sure what that all means but it appears to have CD support?

thanks again for your help.

btw - the DOS iso I got from allbootdisks.com


Report •

#6
August 19, 2010 at 02:50:02
Ok, so you have to change drive at the dos prompt to drive R:, if there was no error during boot up to dos.
On this drive, you should find your files.

Btw.:
In config.sys, the line
DEVICE=cd1.SYS /D:banana
is, where the dos driver for CD-ROM is loaded and it gets the device name banana, which is used later in autoexec.bat for the MSCDEX command.

In autoexec.bat,
MSCDEX.EXE /D:banana /L:R
does the following:
MSCDEX assignes a drive letter to the device name banana, in this case drive letter R:

That's why I said, you should be able to access the files on drive R:

Give it a try.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#7
August 19, 2010 at 03:29:57
It works!
The files are visible on the R: drive and i can now run the BIOS update tool (and i know a little more about DOS).

thank you very much for your knowledge and assistance!


Report •

#8
August 19, 2010 at 03:34:05
You are welcome :-)

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#9
October 23, 2010 at 11:34:11
.I have the same problem but I cant see my file in dos mode, and I cant access my drives.I tried :R and all the letters. just :A and :B which looks similar as the boot CD itself.

Report •

Ask Question