无忧启动论坛

标题: 一键GHOST启动找不到temperary drive 的问题 [打印本页]

作者: 2013bug1977    时间: 2013-10-17 20:04
标题: 一键GHOST启动找不到temperary drive 的问题
U盘启动加载GHOST使用了10年,从P3笔记本一直到最新的笔记本都正常,这次用在THINKPAD X240S上启动GHOST居然出现这个错误,请教原因?

The windows 98 startup disk could not create a temperary drive for the diagnost tools.This may be because this computer has less then the minium required extended menmory





作者: 2013bug1977    时间: 2013-10-17 20:28
本帖最后由 2013bug1977 于 2013-10-17 21:28 编辑

@ECHO OFF
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=A:\;%RAMD%:\;X:\GHOST
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL

%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL

%ramd%:\SMARTDRV.EXE
LH %ramd%:\MOUSE.COM > nul

LH %ramd%:\MSCDEX.EXE /D:MSCD001 /L:X > nul

copy x:\ghost\*.exe %ramd%: > nul

if %nhdd%.==. set nhdd=1
:BEGIN
%ramd%:
if exist dpit2.ini del dpit2.ini >nul
if exist p_d.ini del p_d.ini >nul
omnifs  /dl=%nhdd% diskinfo>omni_dd.txt
type omni_dd.txt|find /i "%nhdd%.1:" >nul
if errorlevel 1  goto P_ERR
strings lines=LINESIZE omni_dd.txt
strings lines=add %lines%,2
set line=1
:omni
if %line%.==%lines%. goto omni_1
strings line=add %line%,1
strings lined=read omni_dd.txt,%line%
strings omn_row1=left %lined%,1
if not %omn_row1%.==%nhdd%. goto omni
echo %lined%|find /i "FAT" >nul
if not errorlevel 1 goto omni_6
echo %lined%|find /i "NTFS" >nul
if not errorlevel 1 goto omni_6
echo %lined%|find /i "Active" >nul
if not errorlevel 1 goto omni_6
goto omni
:omni_6
echo %lined%>>dpit2.ini
strings omn_row5=mid %lined%,5,1
if %omn_row5%.==:. goto omni_4
strings omn_row3=mid %lined%,3,1
strings omn_row4=mid %lined%,19,3
if not %actpw%.==. goto omni_5
strings omn_row5=mid %lined%,24,6
goto omni_5
:omni_4
strings omn_row3=mid %lined%,3,2
strings omn_row4=mid %lined%,20,3
if not %actpw%.==. goto omni_5
strings omn_row5=mid %lined%,25,6
:omni_5
if not %omn_row5%#==Active#  goto  omni_2
set actpw=%omn_row3%
:omni_2
set lastpw=%omn_row3%
if not %omn_row4%.==. echo  %omn_row1%.%omn_row3%   %omn_row4%>>p_d.ini
goto omni
:omni_1
rem if %actpw%.==. set actpw=1
cls
rem echo omni_dd.txt
rem type omni_dd.txt
rem echo.
rem echo dpit2.ini
rem type dpit2.ini
rem echo.
rem echo p_d.ini
rem type p_d.ini
rem echo.
rem echo Actived Primary Partition  %nhdd%:%actpw%
rem echo Last Partition  %nhdd%:%lastpw%
rem pause

if %actpw%.==. goto P_ERR

:exit_1
set line=
set lines=
set lined=
set omn_row1=
set omn_row3=
set omn_row4=
set omn_row5=

:GHOST
X:
CD GHOST

cls
echo                    ---------------------------------------
echo                           Loading Symantec Ghost
echo                    ---------------------------------------

rem echo      Destination Partition is %nhdd%:%actpw%
rem pause

GHOST -clone,mode=pload,src=WIN7.GHO:1,dst=%nhdd%:%actpw% -afile=%ramd%:\GHOERR.ERR -sure -rb
IF ERRORLEVEL 1 GOTO RE_ERR
CD \

cls
echo                    ---------------------------------------
echo                      Welcome to NBuser recover disc V1.0
echo                    ---------------------------------------
echo                   The DOS diagnostic tools ware loaded to %RAMD%:
echo                   Other DOS tools can be found in X:\GHOST
goto END

:P_ERR
cls
echo                  --------------------------------------------
echo                   CAN NOT Found Any Actived Primary Partition
echo                   Please Call 021-64288026 64285298 For HELP
echo                  --------------------------------------------
goto END

:RE_ERR
cls
echo                  --------------------------------------------
echo                   System Recovery Failed
echo                   Please Call 021-64288026 64285298 For HELP
echo                  --------------------------------------------

:END
rem clean up environment variables
set LglDrv=




欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) Powered by Discuz! X3.3