Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can't find CD-ROM drive in DOS

    Win 98 SE. I was checking out my Win98 Startup disk (& a few rescue disks that other programs make). I booted to a DOS prompt (A:> drive). I choose the option to have CD-ROM support. Although I was able to type
    Dir a:<enter>
    for drives A through G (F being my last real drive & G being the RAMDRIVE), I was unable to find my CD-ROM drive, which is normally R:. I get a message that it's an invalid drive specification. Any idea how I can find it in DOS? My concern is that should I want to reformat & reinstall Windows, that I won't be able to read my CD-ROM drive.
    Thanks in advance,

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Can't find CD-ROM drive in DOS

    Hi Phil

    It's been a while since I used DOS settings for CD-ROMs but my best guess is the following lines of config.sys & autoexec.bat for your bootdisk.

    config.sys should include a line similar to:
    DEVICE=cd1.sys /D:MSCD001

    cd1.sys needs to be replaced with the name of your device driver.

    autoexec.bat should have a line similar to:
    MSCDEX.EXE /D:MSCD001 /L:R

    The /L:R parameter sets the drive letter

    If this does not solve the problem hopefully a DOS expert will be able to help.

  3. #3
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Can't find CD-ROM drive in DOS

    Hey Phil,

    I'm not much good with DOS, but I don't think DOS directly supports CD ROM drives and thus, can't see it. Just a guess though. I'll try a Google and post back if it bears fruit..
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  4. #4
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't find CD-ROM drive in DOS

    When you boot with the CD-ROM support option, do you see anything indicating that the MSCDEX driver has been loaded? You might also check to see if the letter assignment has changed for the CD-ROM drive. I have a dual-CD system and the letters R: and S: are assigned to the optical drives.
    -Mark

  5. #5
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Can't find CD-ROM drive in DOS

    Here ya go !!
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  6. #6
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Can't find CD-ROM drive in DOS

    I don't know about the boot disk you're using Phil, but I think we're all leading you to the same place. The boot disk has to load a DOS CD driver and the MS MSCDEX program has to be run also. The drive letter assigned to the CD drive(s) will NOT necessarily be what you are used to in Windows, rather the next available drive letter(s) as DOS loads the drivers. It depends on what else you have loading on the floppy, like your RAM disk example. My self-made Win98SE boot floppy has the following line in the Config.Sys:

    DEVICEHIGH=MTMCDAI.SYS /D:MTMIDE01

    And the Autoexec.Bat contains:

    LH MSCDEX.EXE /s /d:mtmide01

    And the floppy DOES contain the file MTMCDAI.SYS

  7. #7
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't find CD-ROM drive in DOS

    Thanks to everyone for responding. I'm still confused, having had almost no experience with DOS. I read the article that Doc found, but I'm not sure exactly what to edit. While in Windows, when I go to Device Manager/Properties/ CD-ROM drive, it says no drivers are needed or loaded. I not only looked on my Win 98 Startup Disk, but also the boot disks made by NAV, Drive Image, Backup Exec. None of them seem to have the lines, yet I did do a full restore from Drive Image some time ago. I guess I'm wondering why making the startup disk(s) don't copy AutoExec.bat, Config.sys, etc. with the lines needed.

    Anyhow, this is what I have in my AutoExec.bat & Config.sys relating to CD-ROMs. Could someone tell me what to change?

    These are the files on the floppy:
    ASPI2DOS.SYS
    ASPI4DOS.SYS
    ASPI8DOS.SYS
    ASPI8U2.SYS
    ASPICD.SYS
    AUTOEXEC.BAT
    BTCDROM.SYS
    BTDOSM.SYS
    COMMAND.COM
    CONFIG.SYS
    DRVSPACE.BIN
    EBD.CAB
    EBD.SYS
    EXTRACT.EXE
    FDISK.EXE
    FINDRAMD.EXE
    FLASHPT.SYS
    HIMEM.SYS
    IO.SYS
    MSDOS.SYS
    OAKCDROM.SYS
    RAMDRIVE.SYS
    README.TXT
    SETRAMD.BAT

    Here's the beginning of AUTOEXEC.BAT:
    @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:;

  8. #8
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't find CD-ROM drive in DOS

    Phil,

    You're missing a critical file that allows CD-ROM access from DOS. The file is MSCDEX.EXE and can usually be found in the C:WindowsCOMMAND folder. Copy this file to your startup floppy and add the following line to AUTOEXEC.BAT:<UL><pre>a:mscdex.exe /d:mscd001</pre>
    [/list]You already have the proper line in your CONFIG.SYS file, which reads device=oakcdrom.sys /d:mscd001. The problem that you are encountering is that the device specified in CONFIG.SYS cannot be loaded into memory since MSCDEX is missing. Both the EXE and SYS file are required for CD-ROM access from DOS.

    When Windows is running, it does not need drivers as the processor is running in Protected, or 32-bit, mode. In DOS, you are working in Real mode, which disables the advanced instructions that were introduced in the 386 processor family (such as large memory support etc).
    -Mark

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't find CD-ROM drive in DOS

    Hi Mark:
    I'm sorry. Inside the ebd.cab file are the following files:
    ATTRIB.EXE
    CHKDSK.EXE
    DEBUG.EXE
    EDIT.COM
    EXT.EXE
    FORMAT.COM
    HELP.BAT
    MSCDEX.EXE
    RESTART.COM
    SCANDISK.EXE
    SCANDISK.INI
    SYS.COM

    These are copied to the RAM drive (G: in my case, as I have drives A-F). If I boot to the floppy, & then do
    Dir H:
    it shows mscdex.exe. Do I still need to copy it & do I still need to copy a line to the AutoExec.bat file? If so, so I use the A: drive or the H: drive?
    Thanks,

  10. #10
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Can't find CD-ROM drive in DOS

    Phil, you showed above a PART of the Autoexec.Bat file, so we don't have enough info yet. From what you just said, the MSCDEX file that's needed is in fact being "expanded" onto the RAM drive. Look through the rest of the lines in the autoexec to see if the call to run it is in there later, after the files get placed onto the RAM drive. If not, you could add the command suggested by Mark as the very last thing to get executed in the autoexec, and YES you could execute it from the RAM drive if it's already there at the point where you enter the command.

  11. #11
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Can't find CD-ROM drive in DOS

    I just realized something. You showed a file SETRAMD.BAT in the list. You should look inside it as well to see if the MSCDEX command IS being executed in there. If so, you may have HAD the CD drive active all along and just missed it. Are you sure you put a disk in the CD when you tried the DIR command? You should try doing a DIR H: or some other next-higher drive letter, cuz if the RAM drive is being created as G: the CD drive could already be active as some subsequent drive letter and maybe you just missed seeing it.

  12. #12
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't find CD-ROM drive in DOS

    I hate the RAM drive that the setup disk creates. Theoretically, it should be working - the RAM drive is being added to the system path, so anything there should run without a problem.

    I doubt you have any room left on the floppy for another EXE of any kind, the disk you are using is packed to the gills. Perhaps you would have different results with a different boot disk from BootDisk.com? There is a custom, non-RAM drive disk image available there, which is what I prefer to use.
    -Mark

  13. #13
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't find CD-ROM drive in DOS

    Hi Al:
    No reference to mscdex.exe in Setramd.exe.

  14. #14
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Can't find CD-ROM drive in DOS

    One more thing, Phil. It's been a long time since I thought of this, but I don't think "DOS" will let you choose a drive letter. I believe they are assigned sequentially, so after you add the call to the autoexec, be sure you use the DIR command to check, starting with G: and working your way UP from there. It's probably not worth worrying over, but I can't imagine how that setup is "supposed" to activate the CD drive without the MSCDEX.

  15. #15
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Can't find CD-ROM drive in DOS

    I can't stand the suspense (i.e. silence) Phil. Are ya gonna let us know how you made out on this one?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •