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-23 01:08
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Difficulties in Making USB-CDROM Bootable USB Drives View 2,351 Replies 5
Original Poster Posted 2008-10-08 11:15 ·  中国 江苏 苏州 移动
新手上路
Credits 10
Posts 3
Joined 2008-10-06 22:28
17-year member
UID 127600
Gender Male
Status Offline
Recently I just learned the method of mass-producing USB flash drives. Now my self-made boot tool CD image can start smoothly in the USB flash drive in the USB-CDROM mode. Now a new problem has occurred, that is, when booting the GHOST to restore the system image from the USB flash drive, the USB drive driver under DOS needs to be loaded. However, there are many USB drive drivers under DOS, and I have difficulty choosing. I want to support the drivers of all USB flash drives under DOS, or a combination of drivers. I hope the experts can recommend or configure a combination of drivers that support all USB flash drives. Thanks a lot.

[ Last edited by BZD0524 on 2008-10-8 at 11:53 ]
Floor 2 Posted 2008-10-10 20:21 ·  中国 广西 梧州 电信
高级用户
★★
Credits 570
Posts 173
Joined 2003-08-23 00:00
22-year member
UID 9077
Gender Male
Status Offline
After installing the PE system on the USB flash drive and booting to the PE desktop in USB-CDROM mode, directly run GHOST32.EXE to restore the system image...
Floor 3 Posted 2008-10-11 09:57 ·  中国 江苏 苏州 移动
新手上路
Credits 10
Posts 3
Joined 2008-10-06 22:28
17-year member
UID 127600
Gender Male
Status Offline
Hehe, thank you for the suggestion from the second floor. But I already knew this method long ago. Actually, I have already made this batch file. I just don't know which drivers need to be added to adapt to various motherboards. Now I post the batch file that calls the GHOST image. The batch file I have already written:

autoexec.bat

@ECHO OFF
devload ramfd.sys
devload usbaspi.sys
devload aspidisk.sys
devload usbcd.sys /d:USB-CD
SHSUCDX /D:?PATACD01 /D:?SATACD01 /D:?SATACD02 /D:?SATACD03 /D:?USB-CD>nul
SHSUCDX /D:?MSCD001
findcd /s>nul
call findcdr "ghost.exe" C D E F G H I J K L M N O P Q R S T U V W X Y Z
%CDROM%:
ghost -nousb -clone,mode=pload,src=ghostxp.gho:1,dst=1:1 -crcignore -sure -rb

config.sys

device=himem.sys /testmem:off
DEVICEHIGH=UIDE.SYS /D:MSCD001
files=10
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z

This batch file is suitable for CD-ROM boot and USB flash drive post-quantity production boot. Moreover, I use devload.COM to call drivers through the batch file, so it won't cause the problem of high-version motherboards freezing. What I need is to supplement some drivers to make it more perfect. I hope experts can give guidance.
Floor 4 Posted 2008-11-15 20:19 ·  中国 广东 广州 电信
初级用户
Credits 28
Posts 13
Joined 2008-11-15 00:39
17-year member
UID 131010
Gender Male
Status Offline
楼主,希望能得到你这个img 的文件...学习学习..我的E-mail:huangronghuikenter@163.com

楼主, I hope to get this img file from you... to learn... My E-mail: huangronghuikenter@163.com
Floor 5 Posted 2008-11-18 10:01 ·  中国 江西 萍乡 电信
新手上路
Credits 14
Posts 6
Joined 2008-11-13 11:24
17-year member
UID 130828
Gender Male
Status Offline
LZ, I've been looking for a long time. First, thank you. Can your method really use a mass-produced USB drive to directly call a GHOST image? After mass-producing the USB drive, the first one is CD-ROM and the second is the removable disk. Do I put the GHOST image in the removable disk?

[ Last edited by pxjxwang on 2008-11-18 at 10:04 ]
Floor 6 Posted 2009-02-15 15:51 ·  中国 香港
初级用户
★★
Credits 159
Posts 83
Joined 2007-11-22 12:24
18-year member
UID 103409
Gender Male
Status Offline
Excuse me, why after using U disk to run the autoexec.bat and config.sys provided by the 3rd floor under Dos, the following words will appear? Can you give some advice?

general failure reading drive C

Abort, Retry, Fail?
Forum Jump: