『楼 主』:
关于USB光驱启动USBASPI问题
使用 LLM 解释/回答一下
很早以前的设备,光驱基本都不读盘了。如果插上USB光驱,会认不到光驱。
想把安装光盘上的光驱驱动改一下,发现USB的没有那么简单。
config.sys里,运行了device=usbaspi.sys后,启动盘里的文件就无法读取了,后面的device=usbcd.sys /d:usbcd001 也就无法运行了,连command.com都无法重新加载了。
有个迂回的办法是先加载ramdrive.sys,然后在autoexec.bat里把文件都copy到虚拟盘中,再用devload去加载usbaspi.sys和usbcd.sys
然而,ramdrive的盘符不支持指定,只会自动跟在目前分区的后面,比如已经有C和D了,ramdrive就是E。
如果硬盘没有分区,启动盘是A盘,那虚拟盘就会是C盘。
可是,这个安装盘的安装程序是会判断有没有C盘的,如果没有,就自动分两个区并进行安装;如果有C盘,就直接往C盘上装。
这样ramdrive就干扰了盘符,引起问题。
不知道各位高手有什么办法解决?
能不用ramdrive,或者把ramdrive指定成B盘也行。
This is a very old device, and the optical drive can barely read discs anymore. When I connect a USB optical drive, the system fails to recognize it.
I wanted to modify the optical drive driver on the installation disc, but USB drives turned out to be more complicated than I thought.
In config.sys, after running `device=usbaspi.sys`, the files on the boot disk become unreadable. As a result, subsequent commands like `device=usbcd.sys /d:usbcd001` fail to execute, and even `command.com` cannot reload.
A workaround I found is to first load `ramdrive.sys`, then copy all files to the virtual drive in `autoexec.bat`, and finally use `devload` to load `usbaspi.sys` and `usbcd.sys`.
However, the drive letter for the ramdrive cannot be specified; it automatically follows the existing partitions. For example, if there are already drives C and D, the ramdrive becomes E. If the hard drive is unpartitioned and the boot disk is drive A, the virtual drive becomes drive C.
The problem is that the installation program on this disc checks for the existence of drive C. If drive C does not exist, it automatically creates two partitions and proceeds with the installation. If drive C exists, it installs directly to drive C. This causes the ramdrive to interfere with the drive letter assignment, leading to issues.
I wonder if any experts here have a solution to this problem. Either avoiding the use of ramdrive or specifying the ramdrive as drive B would work.
|