以下是引用bbcat在2004-6-17 上午 01:16:30的发言:
我的x22没有外置光驱
于是想在dos下使用usb光驱(纽漫克隆王+liteon40x)
下载了msdos7。1o
把它复制到双启动型U盘上启动机器
但是选择3、4项后,config。sys出错
不能正常进入dos
选择2进入dos
但是不能用
device duse.exe drivers=2
一运行就显示cpu error
用device usbaspi.sys
可以认出光驱
但是说A盘找不到了,我估计是系统只能用一个usb设备
请问这个问题如何解决?
U盘启动后加载USB驱动时,A盘找不到,这与Wengier的启动盘的config.sys和autoexec.bat的设备及USB驱动的加载方法有关。下面是我昨天晚上对USB驱动的一些试验。
DOS下USB驱动的使用和配合方法by jetsun
驱动程序文件大小与版本的关系,网上下载的许多文件大小不同,但却是同一版本,是因为被用工具(upx,pklite,diet)压缩了,为了减少空间。
配合方法:
①、DUSE单独使用,检测USB Disk Drive,USB CDROM
②、USBASPI.SYS+DI1000DD.SYS (64Mb闪存OTi Ultra Floppy能够使用)
③、USBASPI.SYS+NJ32DISK.SYS (用闪存做实验,容量识别得不对,分配了盘符,但提示说盘没有格式化)
④、USBASPIN.SYS+DI1000DD.SYS (64Mb闪存OTi Ultra Floppy能够使用)
⑤、USBASPIN.SYS+NJ32DISK.SYS (用闪存做实验,容量识别得不对,分配了盘符,但提示说盘没有格式化)
⑥、USBD.SYS+FAT32.EXE(64Mb闪存OTi Ultra Floppy能够使用)
⑦、ASPIUHCI.SYS+DI1000DD.SYS
ASPIOHCI.SYS+DI1000DD.SYS
⑧、USBASPI.SYS+USBCD.SYS驱动USB光驱
SBP2ASPI.SYS+NJ32DISK.SYS /R 1394
加载驱动使用ctload.exe或device.com,可以做到系统启动后从autoexec.bat或命令提示符下加载,而不必从config.sys中加载。
--------------------------------------------------------------------------------
ASPI managers有下面几种
USBASPI.SYS Panasonic(TM) USB to ASPI driver v2.06, Supports UHCI/OHCI (USB 1.x) and EHCI (USB 2.0)
USBASPIN.SYS ASPI for UHCI/OHCI USB mass-storage Version 1.07, Copyright(C) 2001 NOVAC Co.,Ltd.
ASPIOHCI.SYS Iomega ASPI USB-OHCI 1.1 V.32 2002/08/06
ASPIUHCI.SYS Iomega ASPI USB-UHCI 1.1 V.21 2002/08/06 (支持闪存)
ASPIEHCI.SYS Iomega ASPI USB-EHCI USB 2.0
aspi1394.sys Iomega ASPI 1394-Firewire 1.0 V.01 : 06 Aug 2002. Copyright (C) 2002 Iomega Corporation.
SBP2ASPI.SYS ASPI Manager for 1394(SBP2) device Version 1.02, Copyright (C) 2001-2002 Medialogic Corp
provides ASPI mapping of Firewire storage devices.
CDSDMINI.SYS CD-SD Mini / ASPI Version 6th Release 94/07/02, Copyright(C) Uno 1992-94
--------------------------------------------------------------------------------
Disk Driver有下面几种
USBCD.SYS USB CD-ROM Device Driver Version 1.00,(C)Copyright Panasonic Communications Co., Ltd.
NJUSBCDA.SYS NinjaUSB ASPI CD-ROM Driver (ATAPI) Ver 3.09, Copyright(C)2000 Workbit Corporation.
IBMUSBCD.SYS ???
aspicd.sys ???
DI1000DD.SYS DI1000 ASPI Mass Storage Device Driver Ver 2.00, Copyright(C)2001 NOVAC Co.,Ltd.
NJ32DISK.SYS Ninja SCSI-32 UDE SCSI DISK DRIVER Ver1.06, Copyright(C) 1999-2002 Workbit Corporation.
ASPIDISK.SYS ASPI Disk Driver for DOS, Version 4.01, Copyright 1989-1996 Adaptec, Inc
EXTCD.SYS USB/1394 CD-ROM Driver 1.00, Copyright 2003 Dell Computer Corporation
--------------------------------------------------------------------------------
guest.exe Iomega Guest Driver Version 8.5 , file size 14,874
RAMFD.SYS RAM FD DRIVER Version 1.00 from NOVAC(可能只支持标准的1.44Mb的软盘)
DUSE.EXE
--------------------------------------------------------------------------------
Ahead 的启动盘中的USB/1394存储设备的驱动及NTFS/FAT32文件系统驱动
USBD.SYS USB Driver
SCDD.SYS FireWire/Serial-CD driver
NTFSREAD.EXE NTFS Filesystem Driver for DR-DOS, v1.200,还有给 IDE HDD/USB HDD 设备的NTFS分区分配盘符的功能
FAT32.EXE FAT32LFN Driver for DR-DOS, v1.200, 有给IDE/USB盘的FAT32分区分配盘符的功能
--------------------------------------------------------------------------------
如果从USB设备启动后又加载USB设备驱动,则DOS启动盘需要使用ramdsik,将DOS系统的command.com放进去,并重新设置COMSPEC。比如,从USB外置光驱启动或闪存启动。
Bad or Missing USBCD1.SYS
Error in CONFIG.SYS line 3
Bad or Missing Command Interpreter
Enter correct name of Command Interpreter (eg. C:\COMMAND.COM
A>
RAMFD 如果从某种模拟软盘的介质(闪存/USB软驱/USB光驱)引导系统,然后又加载放在该介质的驱动,可能会出现command.com找不到的情况,我想原因可能是原来对该介质的访问权被新的DOS下的驱动所代替。所以在内存中建立一个虚拟盘,然后将以后将可能会被用到的文件放进去,比如command.com,并设置COMSPEC指向内存盘。RAM FD copies boot floppy disk contents into a RAM disk, write protects and remaps drive letters to RAM disk. This /w switch of USBASPI.SYS is typically used on portable systems with an external USB floppy drive connected to the single USB port for boot-up. Used in conjunction with RAMFD.SYS so after the boot floppy is copied to a RAM drive, (and after the /W pause...) the USB floppy can be removed, and the target mass storage device can be attached and detected。
Q:I'm booting from a USB CD ROM disk which creates a RAM drive and loads the USB CD ROM drivers. Once this happens, I can no longer access the boot files on the CD ROM disk (A<img src="images/smilies/face-laugh.png" align="absmiddle" border="0">.
A:This happens when you trying to install a Driver for the device which you are using to boot from.就好象你用一张软盘启动,在没有启动完,还需要使用上面的文件时你把软盘突然取出了,当然会提示找不到A盘上的文件。
It would be better to have the system copy all the contents of the boot floppy to the ramdisk before activating the USB drivers.
This is a common problem that I have ran into myself. When the USB drivers take control of the USB ports the BIOS is unable to have control. As of yet I have not found a work around for this problem.
Best to just copy all bootfiles from the bootloader to the ramdisk then activate the usbdriver then you should be good to go.
当DOS下USB驱动获得对USB设备的控制权后,BIOS就不能再像启动时那样有控制权了,将USB设备模拟成软驱或ide硬盘。
从普通光驱或普通软驱引导,加载USB驱动,支持USB硬盘硬盘或闪存。则不会存在这个问题。
Well the problem is that the DOS based drivers take over the USB controller and ports and the BIOS is unable to use them one the controller is taken over.
There is a reason that you are still trying to access the A: drive. When booting from the A: drive you still have the COMSPEC set to A: drive for loading the COMMAND.COM when it needs to be reloaded. You will need to also make sure you have COMMAND.COM copied to the RAM drive and the COMSPEC updated to point at the new location for COMMAND.COM.
"Advanced USB Boot
The Advanced USB Boot provides enumeration and configuration of an USB CD-ROM, Zip, and Hard Disk drive during POST that enables the ability to boot to DOS from an USB CD-ROM, Zip, or Hard Disk drive that is connected to a system either directly or through a hub(s). Additionally USB CD-ROM, Zip, or Hard Disk drive support enables the use of an USB CD-ROM, Zip, or Hard Disk drive while in a DOS environment"
As USBASPI.SYS merely maps USB devices to an ASPI device, additional driver is needed to map the ASPI mass storage to a DOS drive letter. The famous "Motto Hairu" driver includes this important piece。
关于USB鼠标,有个帖子说:
The "USB Mouse Support" in the BIOS is Enabled, the mice works in DOS with the BIOS PS/2 Emulation with a standard DOS mice driver.
If I load the usbaspi.sys with device=usbaspi.sys /V the LED of the optical mice going off, when the usbaspi.sys scan the UHCI controller interface.
If I try now to load the mice driver under DOS the computer hang. When I use device=usbaspi.sys /V /NORST, the LED of the mice going NOT OFF and the mice works fine.
(When I use device=usbaspi.sys /E /V, without scanning the UCHI controllers,
the usbaspi.sys only scanning the EHCI controller and the mice works fine too,
but I can not use UHCI mass storage devices)
结论:加上/norst就可以继续使用usb鼠标
BIOS设置中的USB Legacy Support option, USB Emulation
In your PhoneixBIOS, you have a USB Legacy Support option which, when enabled, allows your system to recognize the USB hard disk as an internal IDE drive. However, it seems that it cannot deliver USB2.0 speeds at this mode. If you really want to try USBASPI.SYS or ASPIEHCI.SYS, you need to disable the Legacy Support mode as the two conflict. 如果把这两个关上,usb 的鼠标、键盘、软盘可能在DOS下无法直接使用。USB Legacy mode enable会影响usb的速度。
In case the driver reports an error "Cannot set memory mode I/O" please disable Legacy USB device support in system BIOS setup.
例:使用USB 2.0硬盘/闪存
If you want to enable only the high-speed USB controller and the mass storage drive, try
device=USBASPI.SYS /e
device=DI1000DD.SYS
> USB软驱,If you have only a single USB port and no internal floppy, use this CONFIG.SYS combination:
device=RAMFD.SYS
device=USBASPI.SYS /w /v /r
参考文章:
http://www.computing.net/dos/wwwboard/forum/13679.html
http://www.computing.net/dos/wwwboard/forum/13681.html 从USB硬盘安装系统,先把安装文件复制到内置硬盘上的分区上,再安装。
http://www.computing.net/dos/wwwboard/forum/13447.html USB 2.0 drivers for DOS by madmaxUSB
http://www.computing.net/dos/wwwboard/forum/13654.html 从USB光驱启动后,加载USB硬盘驱动。启动盘需要使用ramdisk来放USB驱动和COMMAND.COM
http://www.computing.net/dos/wwwboard/forum/14618.html
http://www.computing.net/dos/wwwboard/forum/14818.html Accessing USB storage in DOS
USBASPI.SYS Panasonic(TM) USB to ASPI driver v2.06 and v2.15 Reference Rev 4.1 updated 2 May, 2004 by madmaxUSB
http://newdos.yginfo.net/usbdos.htm
http://www.bootdisk.com/usb.htm
http://www.stefan2000.com/darkehorse/PC/DOS/Drivers/USB/ USB Resources
The following is the statement quoted by bbcat on June 17, 2004, 01:16:30 AM:
My x22 has no external CD - ROM.
So I want to use a USB CD - ROM under DOS (Newman Clone King + Liteon 40x).
Downloaded msdos7.1o.
Copied it to a dual - boot USB flash drive and booted the machine.
But after selecting items 3 and 4, the config.sys had an error.
Could not enter DOS normally.
Selected 2 to enter DOS.
But it could not be used.
device duse.exe drivers = 2
As soon as it was run, it showed cpu error.
Used device usbaspi.sys.
Could recognize the CD - ROM.
But said that drive A could not be found.
I estimated that the system could only use one USB device.
How to solve this problem?
After booting from the USB flash drive and loading the USB driver, drive A cannot be found. This is related to the method of loading devices and USB drivers in the config.sys and autoexec.bat of Wengier's boot disk. The following are some experiments I did on USB drivers last night.
Using and Coordinating Methods of USB Drivers under DOS by jetsun
Relationship between the file size of the driver program and the version: Many files downloaded online have different sizes but are the same version because they are compressed by tools (upx, pklite, diet) to reduce space.
Coordinating methods:
①、DUSE is used alone to detect USB Disk Drive, USB CDROM.
②、USBASPI.SYS + DI1000DD.SYS (64Mb flash OTi Ultra Floppy can be used).
③、USBASPI.SYS + NJ32DISK.SYS (used for flash experiments, the capacity is not recognized correctly, the drive letter is assigned, but it prompts that the disk is not formatted).
④、USBASPIN.SYS + DI1000DD.SYS (64Mb flash OTi Ultra Floppy can be used).
⑤、USBASPIN.SYS + NJ32DISK.SYS (used for flash experiments, the capacity is not recognized correctly, the drive letter is assigned, but it prompts that the disk is not formatted).
⑥、USBD.SYS + FAT32.EXE (64Mb flash OTi Ultra Floppy can be used).
⑦、ASPIUHCI.SYS + DI1000DD.SYS
ASPIOHCI.SYS + DI1000DD.SYS
⑧、USBASPI.SYS + USBCD.SYS drives the USB CD - ROM.
SBP2ASPI.SYS + NJ32DISK.SYS /R 1394
The driver can be loaded using ctload.exe or device.com, which can be done to load from autoexec.bat or the command prompt after the system starts, instead of loading from config.sys.
--------------------------------------------------------------------------------
There are the following types of ASPI managers:
USBASPI.SYS Panasonic(TM) USB to ASPI driver v2.06, Supports UHCI/OHCI (USB 1.x) and EHCI (USB 2.0)
USBASPIN.SYS ASPI for UHCI/OHCI USB mass - storage Version 1.07, Copyright(C) 2001 NOVAC Co.,Ltd.
ASPIOHCI.SYS Iomega ASPI USB - OHCI 1.1 V.32 2002/08/06
ASPIUHCI.SYS Iomega ASPI USB - UHCI 1.1 V.21 2002/08/06 (supports flash)
ASPIEHCI.SYS Iomega ASPI USB - EHCI USB 2.0
aspi1394.sys Iomega ASPI 1394 - Firewire 1.0 V.01 : 06 Aug 2002. Copyright (C) 2002 Iomega Corporation.
SBP2ASPI.SYS ASPI Manager for 1394(SBP2) device Version 1.02, Copyright (C) 2001 - 2002 Medialogic Corp
provides ASPI mapping of Firewire storage devices.
CDSDMINI.SYS CD - SD Mini / ASPI Version 6th Release 94/07/02, Copyright(C)Uno 1992 - 94
--------------------------------------------------------------------------------
There are the following types of Disk Driver:
USBCD.SYS USB CD - ROM Device Driver Version 1.00,(C)Copyright Panasonic Communications Co., Ltd.
NJUSBCDA.SYS NinjaUSB ASPI CD - ROM Driver (ATAPI) Ver 3.09, Copyright(C)2000 Workbit Corporation.
IBMUSBCD.SYS ???
aspicd.sys ???
DI1000DD.SYS DI1000 ASPI Mass Storage Device Driver Ver 2.00, Copyright(C)2001 NOVAC Co.,Ltd.
NJ32DISK.SYS Ninja SCSI - 32 UDE SCSI DISK DRIVER Ver1.06, Copyright(C) 1999 - 2002 Workbit Corporation.
ASPIDISK.SYS ASPI Disk Driver for DOS, Version 4.01, Copyright 1989 - 1996 Adaptec, Inc
EXTCD.SYS USB/1394 CD - ROM Driver 1.00, Copyright 2003 Dell Computer Corporation
--------------------------------------------------------------------------------
guest.exe Iomega Guest Driver Version 8.5 , file size 14,874
RAMFD.SYS RAM FD DRIVER Version 1.00 from NOVAC(possibly only supports standard 1.44Mb floppy disks)
DUSE.EXE
--------------------------------------------------------------------------------
Drivers and NTFS/FAT32 file system drivers for USB/1394 storage devices in Ahead's boot disk:
USBD.SYS USB Driver
SCDD.SYS FireWire/Serial - CD driver
NTFSREAD.EXE NTFS Filesystem Driver for DR - DOS, v1.200, also has the function of assigning drive letters to NTFS partitions of IDE HDD/USB HDD devices
FAT32.EXE FAT32LFN Driver for DR - DOS, v1.200, has the function of assigning drive letters to FAT32 partitions of IDE/USB disks
--------------------------------------------------------------------------------
If you boot from a USB device and then load the USB device driver, the DOS boot disk needs to use ramdisk, put command.com of the DOS system in it, and reset COMSPEC. For example, boot from an external USB CD - ROM or flash.
Bad or Missing USBCD1.SYS
Error in CONFIG.SYS line 3
Bad or Missing Command Interpreter
Enter correct name of Command Interpreter (eg. C:\COMMAND.COM
A>
If RAMFD boots the system from a certain simulated floppy medium (flash/USB floppy drive/USB CD - ROM) and then loads the driver placed on that medium, there may be a situation where command.com cannot be found. I think the reason may be that the access right to that medium is replaced by the new driver under DOS. So create a virtual disk in memory, then put the files that may be used later, such as command.com, in it, and set COMSPEC to point to the memory disk. RAM FD copies boot floppy disk contents into a RAM disk, write protects and remaps drive letters to RAM disk. This /w switch of USBASPI.SYS is typically used on portable systems with an external USB floppy drive connected to the single USB port for boot - up. Used in conjunction with RAMFD.SYS so after the boot floppy is copied to a RAM drive, (and after the /W pause...) the USB floppy can be removed, and the target mass storage device can be attached and detected。
Q:I'm booting from a USB CD ROM disk which creates a RAM drive and loads the USB CD ROM drivers. Once this happens, I can no longer access the boot files on the CD ROM disk (A:).
A:This happens when you trying to install a Driver for the device which you are using to boot from. It's just like you boot with a floppy disk, and before the boot is complete, you take out the floppy suddenly when you still need the files on it, of course, it will prompt that the files on drive A cannot be found.
It would be better to have the system copy all the contents of the boot floppy to the ramdisk before activating the USB drivers.
This is a common problem that I have ran into myself. When the USB drivers take control of the USB ports the BIOS is unable to have control. As of yet I have not found a work around for this problem.
Best to just copy all bootfiles from the bootloader to the ramdisk then activate the usbdriver then you should be good to go.
After the USB driver under DOS gains control of the USB device, the BIOS can no longer have control like during boot - up, simulating the USB device as a floppy disk or IDE hard disk.
Booting from a normal CD - ROM or normal floppy disk, loading the USB driver, and supporting USB hard disk or flash. Then this problem will not exist.
Well the problem is that the DOS based drivers take over the USB controller and ports and the BIOS is unable to use them one the controller is taken over.
There is a reason that you are still trying to access the A: drive. When booting from the A: drive you still have the COMSPEC set to A: drive for loading the COMMAND.COM when it needs to be reloaded. You will need to also make sure you have COMMAND.COM copied to the RAM drive and the COMSPEC updated to point at the new location for COMMAND.COM.
"Advanced USB Boot
The Advanced USB Boot provides enumeration and configuration of an USB CD - ROM, Zip, and Hard Disk drive during POST that enables the ability to boot to DOS from an USB CD - ROM, Zip, or Hard Disk drive that is connected to a system either directly or through a hub(s). Additionally USB CD - ROM, Zip, or Hard Disk drive support enables the use of an USB CD - ROM, Zip, or Hard Disk drive while in a DOS environment"
As USBASPI.SYS merely maps USB devices to an ASPI device, additional driver is needed to map the ASPI mass storage to a DOS drive letter. The famous "Motto Hairu" driver includes this important piece。
Regarding the USB mouse, there is a post saying:
The "USB Mouse Support" in the BIOS is Enabled, the mice works in DOS with the BIOS PS/2 Emulation with a standard DOS mice driver.
If I load the usbaspi.sys with device=usbaspi.sys /V the LED of the optical mice going off, when the usbaspi.sys scan the UHCI controller interface.
If I try now to load the mice driver under DOS the computer hang. When I use device=usbaspi.sys /V /NORST, the LED of the mice going NOT OFF and the mice works fine.
(When I use device=usbaspi.sys /E /V, without scanning the UCHI controllers,
the usbaspi.sys only scanning the EHCI controller and the mice works fine too,
but I can not use UHCI mass storage devices)
Conclusion: Adding /norst can continue to use the USB mouse
USB Legacy Support option, USB Emulation in BIOS setup
In your PhoneixBIOS, you have a USB Legacy Support option which, when enabled, allows your system to recognize the USB hard disk as an internal IDE drive. However, it seems that it cannot deliver USB2.0 speeds at this mode. If you really want to try USBASPI.SYS or ASPIEHCI.SYS, you need to disable the Legacy Support mode as the two conflict. If these two are turned off, the USB mouse, keyboard, and floppy may not be able to be used directly under DOS. Enabling USB Legacy mode will affect the speed of USB.
In case the driver reports an error "Cannot set memory mode I/O" please disable Legacy USB device support in system BIOS setup.
Example: Using USB 2.0 hard disk/flash
If you want to enable only the high - speed USB controller and the mass storage drive, try
device=USBASPI.SYS /e
device=DI1000DD.SYS
> For USB floppy drive, If you have only a single USB port and no internal floppy, use this CONFIG.SYS combination:
device=RAMFD.SYS
device=USBASPI.SYS /w /v /r
Reference articles:
http://www.computing.net/dos/wwwboard/forum/13679.html
http://www.computing.net/dos/wwwboard/forum/13681.html Installing the system from a USB hard disk, first copy the installation files to the partition on the internal hard disk, then install.
http://www.computing.net/dos/wwwboard/forum/13447.html USB 2.0 drivers for DOS by madmaxUSB
http://www.computing.net/dos/wwwboard/forum/13654.html After booting from a USB CD - ROM, load the USB hard disk driver. The boot disk needs to use ramdisk to place the USB driver and COMMAND.COM
http://www.computing.net/dos/wwwboard/forum/14618.html
http://www.computing.net/dos/wwwboard/forum/14818.html Accessing USB storage in DOS
USBASPI.SYS Panasonic(TM) USB to ASPI driver v2.06 and v2.15 Reference Rev 4.1 updated 2 May, 2004 by madmaxUSB
http://newdos.yginfo.net/usbdos.htm
http://www.bootdisk.com/usb.htm
http://www.stefan2000.com/darkehorse/PC/DOS/Drivers/USB/ USB Resources