中国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-09-06 10:48
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » [Original] Successfully loaded USB 2.0 mobile hard disk under DOS, speed 20M/S
Printable Version  7,246 / 21
Floor1 l007 Posted 2008-04-09 13:00
初级用户 Posts 8 Credits 24
First of all, you need to make your USB flash drive or external hard drive (I use the Newmine Bright Sword series 80G) as a bootable disk. The method is not introduced much here.
Remember to set the boot partition as active.
Transfer ghost83 to the external hard drive, and then modify config.sys and autoexec.bat
Please make sure you have prepared the files involved in the article, such as USBASPI.SYS, DI1000DD.SYS, etc.

List of required files:

DEVLOAD.COM, a tool to load drivers under DOS
USBASPI.SYS, USB driver, Panasonic's.
DI1000DD.SYS is said to be for assigning disks
cd.sys, to be supplemented
SMARTDRV.EXE, to accelerate disk reading, for details please refer to Google
XMSDSK, virtual disk tool
findramd, seems to be for finding virtual drive letters
ghost.exe, no need to introduce it, right? I use the 8.3 version
File package download address: http://v.xok.cc/win/soft/dos/dos_upload.rar

The error messages you may encounter are:

the following file is missing or corrupt:USBASPI.SYS
not ready reading drive c
Abort, Retry, Fail?

Mine is as follows:

Download: CONFIG.SYS

B is for loading the high-speed USB2.0 driver, but it will fail on the external hard drive. The reason is:
When the USB2.0 driver USBASPI.SYS is added, the USB device will be reset (probably the address number). Once reset, the content of the current partition cannot be read, which is equivalent to having removed the disk. But ghost can still recognize it. So all the content after DEVICEHIGH=USBASPI.SYS will not be executed, including autoexec.bat will not be executed. Then how do we solve it? We can virtualize a disk in memory, copy common commands and ghost commands to it, so that we can operate directly in memory without being affected by the reset.
Specific operation:
Select A in the above code to enter. Do not load the USB driver.

The virtual disk in memory is completed by autoexec.bat. The code is:

Download: autoexec.bat

It can be seen from the code that I divided 32M as drive X. It is in memory. I tried dividing 50M and it failed. The reason is still X.

Up to here, the two files have been modified. Then after booting, it will automatically virtualize the disk, copy common files to the virtual memory, and automatically switch to drive X.
Now only the USB2.0 driver needs to be loaded. I do it like this. Load the USB2.0 driver before executing ghost. The code is

x:\devload.com x:\usbaspi.sys /norst

/norst parameter, do not reset the USB mouse and keyboard. If your mouse and keyboard are USB interfaces, it is very necessary

Then execute ghost, and the speed reaches about 1200M/M, that is, about 20M/S. The speed is great.
You should understand that the speed of usb1 is about 1-2M/S. 2M/S is still very ideal.

The above file package address: http://v.xok.cc/win/soft/dos/dos_upload.rar

There are many deficiencies in the article, welcome everyone to point out in my BLOG. Thank you
This article is from: E Point Ruins (www.xok.la) For detailed origin reference:

BLOG: http://xok.la/2008/04/dos_usb_harddisk_20m.html
Floor2 awera Posted 2008-04-09 16:05
初级用户 Posts 36 Credits 94
Take a sofa.

It seems that sometimes it is beneficial to load drivers after booting into DOS.

Learned.
Floor3 minchengan Posted 2008-04-10 09:04
中级用户 Posts 164 Credits 376
Simple Method to Speed up U Disk Version XPE

I've been playing with operating systems on U disks for a long time. (Specifically, you can see my posts in the China DOS Union). I've always been troubled by the slow boot of the system on the U disk. The other day, I saw someone on Wuyou mention that first drive the USB 2.0 under DOS and then load XPE. Actually, I thought of this method a long time ago, but I couldn't successfully drive my 2G ADATA U disk. Finally, I used the most compatible usbaspi.sys and aspidisk.sys to drive it. The method is as follows, and I hope it will be helpful to everyone: First, use xmsdsk to make a memory disk, set the drive letter to M. The advantage of this is that the drive letter of the successfully driven U disk will be N or later. This is very important. If there are not more than two USBs at the same time, the drive letter of the driven U disk must be N. At least I've tried it on many machines. The batch command I use to drive USB 2.0 is USB2.BAT, and the content is: @echo off
xmsdsk 1440 M: /y >nul
mkdir m:\usb2 >nul
copy \command.com m:\ /y >nul
copy \dos\usb2\usb2ok.bat m:\usb2 /y >nul
copy \dos\usb2\aspidisk.sys m:\usb2 /y >nul
copy \dos\usb2\usbaspi.sys m:\usb2 /y >nul
copy \dos\usb2\loadsys.exe m:\usb2 /y >nul
set comspec=M:\command.com >nul
m:
\usb2\usb2ok.bat  Among them, the content of usb2ok.bat is: @echo off
cls
echo Loading USB2.0 driver now.
echo Waitting...
m:
cd \usb2
loadsys usbaspi.sys /e /v /norst >nul
loadsys aspidisk.sys >nul
set drive=n:
PATH=.\;%drive%\;%drive%\dos;%drive%\boot;%drive%\boot\media;%drive%\boot\net;%drive%\boot\ext
%drive%
cd \boot
echo Now USB disk is: %drive%
echo. In the above part, I put several programs under \dos\usb2. The drive variable is defined in autoexec.bat. Initially, it is A (USB_ZIP), or C (USB_HDD). The part that hasn't been improved is the judgment when there are more than two USBs connected. I don't have time to write it well. Please modify it and share it with everyone when you have time. In this way, the U disk is driven to 2.0 and has a drive letter, and then use GRUB4DOS or other methods to load XPE or other larger IMG.

[ Last edited by minchengan on 2008-4-10 at 09:05 AM ]
Floor4 movy Posted 2008-04-10 13:47
初级用户 Posts 33 Credits 61
Give it a thumbs up. The method of Wuyou chenall is very good, compact and fast, supports USB flash drives, and can be tested.

See http://bbs.wuyou.com/viewthread.php?tid=117004
Floor5 GaoWM Posted 2008-04-10 13:58
新手上路 Posts 6 Credits 12
Learning
Floor6 snrzw Posted 2008-04-10 15:02
新手上路 Posts 1 Credits 2
Floor7 ringlys0 Posted 2008-04-28 21:39
初级用户 Posts 27 Credits 52
Learning
Floor8 zhhouy Posted 2008-04-29 22:28
初级用户 Posts 13 Credits 26
Learn, good
Floor9 lxhong Posted 2008-04-30 10:12
初级用户 Posts 63 Credits 153
That's really impressive. Let's learn about it.
Floor10 cndidong Posted 2008-05-06 11:55
新手上路 Posts 7 Credits 14
My card reader + 2G SD card, has always only seen the drive letter, can't read the content,
This time to try again...
Floor11 yzh016 Posted 2008-05-10 18:45
新手上路 Posts 6 Credits 3
Top, support it~~
Floor12 default Posted 2008-05-22 17:51
初级用户 Posts 13 Credits 26
Alas. . . Not to mention 20m/s, I still have occasional freezes. . . The gap
Floor13 xplinlong Posted 2008-05-22 19:22
初级用户 Posts 6 Credits 111
Currently researching USB flash drive three-in-one, please refer to it
Floor14 duchang Posted 2008-08-07 12:38
新手上路 Posts 4 Credits 8
Learn, nice
Floor15 wlhczcgs Posted 2008-08-07 23:11
新手上路 Posts 2 Credits 4
Let's see how it is. I just need it.
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023