中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-27 07:48
47,815 topics / 349,928 posts / today 0 new / 48,289 members
DOS启动盘 & LOGO技术 (启动盘室) » Differences in USB CDROM and IDE CDROM Booting Issues!?
Printable Version  2,553 / 2
Floor1 fengbaishen Posted 2006-07-27 15:29
初级用户 Posts 7 Credits 26
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?郁闷!:(
Floor2 fujianabc Posted 2006-07-27 16:06
金牌会员 Posts 1,616 Credits 3,467
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.
Floor3 fengbaishen Posted 2006-07-27 16:21
初级用户 Posts 7 Credits 26
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!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023