View Single Post
  #23  
Old February 26th 08, 05:24 PM posted to microsoft.public.win98.setup
DJW
External Usenet User
 
Posts: 86
Default Can I restore Windows 98 from an USB external CR-rom drive?

On Feb 26, 8:16 am, John Dulak wrote:
DJW wrote:
OK I got a new CD-ROM drive, a TEAC md CD-22E-N83 and put it in the
laptop I can hear it spin at startup with the windows 98 boot floppy
in A drive which is more than the old DVD did. However it still will
not bring up the Windows 98 install CD I have in the drive at startup.
I went out and got the driver for the drive online and put it on the
boot floppy its name is TeacCD-224EDriver.exe and also put the file
Teac_cdi.sys that came within the driver zipped file. The read-me that
came with the driver is below:


To install the TEAC CD-ROM Driver, add the following lines. Be sure to
replace path with the correct location of the TEAC_CDI.SYS and
MSCDEX.EXE.


In CONFIG.SYS,
DEVICE=path\TEAC_CDI.SYS /D:MSCD001


In AUTOEXEC.BAT,
path\MSCDEX.EXE /D:MSCD001


I think I did the change with notepad correctly (do caps or small case
matter?) in the CONFIG.SYS file the thing mensioned above about the
path I was not sure about but the line as I saw other similar file
entries. I put it in as:
device=TEAC_CDI.SYS /D:MSCD001


Please see below what is now my floppy's config.sys file:


[menu]
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menuitem=HELP, View the Help file.
menudefault=CD,30
menucolor=7,0


[CD]
device=himem.sys /testmemff
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
device=TEAC_CDI.SYS /D:MSCD001


*** That is correct IF you also copied TEAC_CD.SYS to the root
directory of the floppy.

Since you are still having problems try moving the Teac driver to the
top of the list, just below the himem.sys line. The boot floppy tries
each of the CD drivers in the order listed and "listens" for a
response from the drive. The oakcdrom.sys driver works for most drives
but not all.





[NOCD]
device=himem.sys /testmemff


[HELP]
device=himem.sys /testmemff


[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z


But when it came to the AUTOEXEC.BAT file I did not find a clear thing
to do. However I did find what they asked to add in the line.... LH %ramd
%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
already there so I did not make any change to that file (was that a
mistake?).
Below is the complete autoexec.bat file:


@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P
15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D
3 C
cls
call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ NUL
copy readme.txt %RAMD%:\ NUL


:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR


:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.


IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
GOTO QUIT


:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT


:QUIT
echo To get help, type HELP and press ENTER.
echo.
rem clean up environment variables
set CDROM=
set LglDrv=


One thing I read somewhere online was about the CD not being found
when the MSCDEX.EXE file is loaded. I looked on the CD and found no
file by that name so I went to the web and got the win 98 file for it
and put it also on the boot floppy.


The CD drive is still not coming up I get the message:


Device driver not found: "MSCD001"


No valid CDROM device drivers selected.


Can anybody give me any help as to what I still need to do to get the
windows install CD working in this laptop.


DJW:

From the above it appears that your bootable floppy is the (more or
less standard) one from bootdisks.com. The drivers on that disk will
work with the vast majority of CD drives without modification. While
your new drive may have come with its own driver It may well work with
many others so don't kill your self trying to use the Teac driver.
See the inline note above if you want to try the Teac driver.

- If you think you have FUBARed the boot floppy by tinkering with it
create another one and try again.

- The Windows 98 install CD is bootable. In a previous post you said
the BIOS boot order was set to CD first so try booting without the
floppy disk in the drive.

- The file MSCDEX.EXE is already on the floppy and you do not have
to install a second copy.

- path is a common shorthand way of refering to the complete
string of directories (folders) where the file is located. e.g.
c:\windows\options\cabs\setup.exe will sometimes be refered to as
path\setup.exe.

- The DOS command line noes NOT care about capital vs lower case
letters. It DOES pay attention to spaces and the letter O is different
from the numeral zero.

If you are interested in just how to get access to a CD drive from DOS
here is my "Standard" answer.

***********************

The ability to access a CD-ROM drive from DOS relies on drivers
loaded by way of your CONFIG.SYS and AUTOEXEC.BAT files.
If done correctly they will assign a drive letter to the CD-ROM
drive and allow you to access the drive from the command line.

Assuming your CD-ROM drive uses an IDE interface and NOT a SCSI
interface, or the proprietary interface on a sound card.

In your CONFIG.SYS file, you need to have a line something like:

DEVICE=C:\CDROM\MTMCDAI.SYS /D:MSCD001
|_____||_______|__________| |________|
| | | |_____ Name used to identify drive to
| | | MSCDEX.EXE Must EXACTLY match
| | | AUTOEXEC.BAT entry.
| | |
| | |_________________ CD-ROM's software driver.
| |
| |___________________________ Path to CD-ROM's software
| driver.
|
|___________________________________ Command that loads a device
driver.
(May also be DEVICEHIGH or DH.)

Where "MTMCDAI.SYS" is the CD-ROM driver file for your CD-ROM
drive and "C:\CDROM\" is the drive and directory where it is
located. The "/D:" switch sets an arbitrary string descriptor
("MSCD001" in the example above) that is passed to MSCDEX.EXE
in your AUTOEXEC.BAT file. (See Below)

A collection of "generic" IDE CD-ROM drivers along with
sample CONFIG.SYS and AUTOEXEX.BAT files can be found in
these self extracting archives:

http://www.bootdisk.com/mexico/thepa...o/cdromsys.exe

The widely applicable "MTMCDAI.SYS CD-ROM driver
is available he

http://www.driverguide.com/archives/archive1/41.html

You may find the exact driver for your CD-ROM drive at one
of the links on this page:

http://digilander.libero.it/pnavato/drivers/

+++ AND +++ in your AUTOEXEC.BAT file you need to have
a line something like:

C:\CDROM\MSCDEX.EXE /D:MSCD001 /L:I /S
|_______||________| |________| |__| |_|
| | | | |_ Enables Network Sharing.
| | | | (Optional)
| | | |
| | | |______ Specifies CD-ROM drive letter.
| | | (Optional)
| | |
| | |______________ Name used to identify drive,
| | Must EXACTLY match CONFIG.SYS
| | entry.
| |
| |_________________________ Microsoft's CD-ROM drive
| extention software.
|
|_________________________________ Path to MSCDEX.EXE

Use the proper path to access MSCDEX.EXE it may be located in
C:\DOS\ OR C:\WINDOWS\ or a directory created by the CD-ROM
install program. In the above example it is located in "C:\CDROM\".
You can search your C: drive for it by typing at the DOS prompt;

dir c:\mscdex.exe /s /p Enter

This will search ALL the directories on your C: drive and
report the location of all copies of MSCDEX.EXE

You can also download it at:

ftp://ftp.microsoft.com/softlib/MSLFILES/MSCDX223.EXE
(Self extracting archive file.)

* The "/L:" switch lets you explicitly specify the CD-ROM Drive Letter.
The above example sets it to "I".
* The string following the /D: switch must _EXACTLY_ match the string
in CONFIG.SYS following your CD-ROM device driver's "/D:" switch.
* If your CONFIG.SYS file contains a "LASTDRIVE=*" line be sure "*" is
at least one letter higher in the alphabet than your last hard drive
or equal to the letter used in the /L: switch.
* The "/S" switch is required if you want to share the CD-ROM drive
over a network.

--
\\\||///
------------------o000----(o)(o)----000o----------------
----------------------------()--------------------------
'' Madness takes its toll - Please have exact change. ''

John Dulak - Gnomeway Services -http://tinyurl.com/2qs6o6


John,
The original post was because I could not boot using my hard drive C
and the internal DVD was faulty (been that way for some time) so I
wanted to know how to use the windows 98 install CD with an USB
external CD_RW drive. Never could get it done that way. Well sort of
gave up because I found and got a CDROM drive on ebay for 10 bucks.
That way I would finally have an internal optical again and thought
the whole restore process would be cut and dried.
So far all I can do is boot with the floppy. I did try to boot the win
98 install CD with the new CDROM drive without the floppy in it and it
went no ware. Above you are showing a lot of C prompt commands I guess
assuming that C drive is able to boot the machine. It said at startup
that no FAT or FAT32 could be found. So even if it is not bootable
could files still be accessed and used on C? Or were you quoting what
I could try if C was up and working. I am beginning to wonder if the
original DVD drive was OK and it is something else that also is not
allowing the new CDROM to work. However with the old DVD in it would
flash its lamp a few times at startup but never spin. The new drive
does the same but I hear a spinning sound in the beginning. When the
DVD went bad I talked to a tech at Winbook the Laptop's maker and he
lead me through some things and then came to the conclusion it was a
bad DVD drive. The crazy thing was that in the device manager it
always said the drive was functioning correctly.
I just talked to TEAC and even though I found a driver for I guess a
floppy the one I used in my try to get to the CD I also found online
associated with that model of CDROM at driverguide.com one named
Atapi_Dos.exe which when unzipped was much more in files and folders
and of course larger and it seemed only to be used to install the
driver onto a hard disk when I read the read-me file with it. I wrote
to Teac and they said and I quote
"There is no drivers required for internal IDE drives, as the drivers
are the generic IDE drivers within Windows 98SE, Me, 2000, XP, and
even Windows Vista.
You can confirm if the drive is working by booting up from the drive
with a bootable disc inside (i.e. Windows 98 or XP disc). If the
drive is working fine then it will prompt you if you want to continue
with the Window XP installation. This means that the system is
properly configured and the drive is recognized by the system
(hardware), however, the current installation of Windows does not.
Then you need to reinstall Windows XP or ask Microsoft how to reload
only the generic IDE drivers."

First I know I told them that I was using win 98 must be a scripted
reply sent to me. I am guessing from what you stated above that
windows 98 installer CD should be able to boot the computer without a
floppy put in first? I will try to reorder the driver load command in
the config.sys file but I still am foggy on whether my AUTOEXEC.BAT
file read correctly due to me not editing any thing on it. I will also
make a new boot floppy from a working windows 98 machine and or also
visit bootdisk.com and get one there. Any help with the URL or name of
the boot disk I should pick up at the site for the best try at this?
Thanks for all the help I am a bit of a novas at windows. Truth be
told I am a Mac person.