|
直接把光盘里面的EZBOOT文件夹下的替换就行
不过一键安装的那个如果有需要的话得自己改一下所用到的GHOST镜像的文件名,默认是GHOSTXP.GHO,这个镜像文件一定要放到光盘里面 再者就是一定要把DOS版的GHOST.EXE文件放入光盘的根目录下面,此为加载好了USB-CDROM驱动的
我用的是devload.com 加载Usbaspi.sys可解决在DOS下加载USB驱动死机问题
代码和IMG文件如下:
@ECHO OFF
smartdrv.exe
set EXPAND=YES
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
cls
call setramd.bat %LglDrv%
set temp=%RAMD%:\
set tmp=%RAMD%:\
path=%RAMD%:\;a:\;%CDROM%:
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
echo.
GOTO QUIT
:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT
:QUIT
echo.
devload.com Usbaspi.sys /norst /nocbc /r /e
devload.com USBCD.SYS /D:usbcd001
goto end
:end
LH MSCDEX.EXE /D:mscd001 /D:usbcd001 /L:%CDROM%
LH DOSKEY.COM > NUL
findcd /s>nul
%CDROM%:
ghost -nousb -noide -clone,mode=pload,src=ghostxp.gho:1,dst=1:1 -crcignore -sure -rb
上面为加载USB-CDROM驱动的代码,经测试安装速度可达1500MB/s 不到一分钟即恢复完成
GHOST_AUTO.rar
(749.01 KB, 下载次数: 698)
|
|