China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-24 04:52
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Differences in USB CDROM and IDE CDROM Booting Issues!? View 2,383 Replies 2
Original Poster Posted 2006-07-27 15:29 ·  中国 辽宁 沈阳 中移铁通
初级用户
Credits 26
Posts 7
Joined 2006-07-25 10:11
19-year member
UID 59196
Status Offline
The same CD can be fully supported by a USB 2.0 CD-ROM when booted with an IDE CDROM, but fails when booted with a USB 2.0 CD-ROM. I'll post the two main files and the main prompts during booting, and everyone help analyze the reason for the failure of USB 2.0 CD-ROM booting!
--------
autoexec.bat
--------
@ECHO OFF
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
call setramd.bat %LglDrv%
SHSUCDX.EXE /D:idecd001 /D:USB-CD

call cramd.bat

path=%RAMD%:\;A:\USB;A:\;%CDROM%:\Tools;%CDROM%:\Tools\pq;%CDROM%:\Tools\hd;%CDROM%:\Tools\dm;A:\;%PATH%
lh a:\mouse.com >nul
prompt CD=%CDROM%:_RAM=%RAMD%:_$p$g
copy a:\command.com %RAMD%:\>nul
set comspec=%RAMD%:\command.com
a:
cls
dir *.exe /w
dir %CDROM%:\Tools\*.* /w
echo.
echo Type VC to run a viasual command shell!
echo.

--------
CONFIG.SYS
--------

[menu]
menuitem=idecd, Start computer with IDE/ATAPI CD-ROM support.
menuitem=usbcd, Start computer with USB CD-ROM support.
menudefault=idecd,15
menucolor=7,0

[idecd]
devicehigh=himem.sys /testmem:off
devicehigh=idecd.sys /d:idecd001
devicehigh=ramdrive.sys /E 4096

[usbcd]
devicehigh=himem.sys /testmem:off
devicehigh=usb\ramfd.sys
devicehigh=usb\usbaspi.sys
devicehigh=usb\usbcd.sys /d:USB-CD
devicehigh=ramdrive.sys /E 4096

[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z

Main prompts during booting:

IDE:
RAM FD Driver installed!
ASPI Manager installed!
USB CD-ROM Device Driver installed!
Microsoft RAM Driver version 3.06 Virtual K:!
VC run shell!
Boot successful!

USB:
RAM FD Driver not installed!
ASPI Manager installed!
The following file is missing or cocorrupted:USB\USBCD.SYS
There is an error in your CONFIG.SYS file on line 16!
The following file is missing or cocorrupted:RAMDRIVE.SYS
There is an error in your CONFIG.SYS file on line 17!
The following file is missing or cocorrupted:COMMAND.COM
Type the name of the command interprder(e.g. C:\WINDOWS\COMMAND.COM)
A>
Boot failed!

Everyone, take a look. The main problem is that after loading the ASPI Manager, the USB CD-ROM can't find the subsequent device drivers, while the IDE doesn't have this problem. Friends who make boot disks, can you help?郁闷!:(
Floor 2 Posted 2006-07-27 16:06 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Maybe there is a conflict between the USB driver in the motherboard and dos's usbaspi.sys, and the two cannot take effect at the same time.
The USB driver in the motherboard used at startup becomes invalid after loading usbaspi.sys.

Solution:
Use grub or isolinux to make a bootable CD, and when booting, use memdisk to read the entire 1.44M floppy disk image into memory, so that there is no need to read the CD when loading the USB driver.
Floor 3 Posted 2006-07-27 16:21 ·  中国 辽宁 沈阳 中移铁通
初级用户
Credits 26
Posts 7
Joined 2006-07-25 10:11
19-year member
UID 59196
Status Offline
Originally posted by fujianabc at 2006-7-27 16:06:
There may be a conflict between the USB driver in the motherboard and dos's usbaspi.sys, and the two cannot take effect at the same time.
The USB driver in the motherboard used during startup becomes invalid after loading usbaspi.sys.

Solution:
Use...


The analysis makes sense, but I have tried using grub to make a universal boot disk. It works fine with IDE boot, but when using USB boot, it only shows a few letters Stage1 and then dies, and the menu is not even visible. I have little knowledge in this area, and I have never used grub or isolinux software. Can you give an idea or a ready-made image? I have been busy with this USB boot disk these days. I haven't succeeded yet from Wuyou Boot Forum to China DOS Union. Please help more, thanks!
Forum Jump: