我也遇到同样的问题,我都浪费了几十张光盘了,还是没办法呀!!请大师看看!
我的autoexec.bat文件内容是:
@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=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%path%;%CDROM%:\;%CDROM%:\ghost\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows Millennium Edition 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.
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
%CDROM%: > NUL
rem
CD \ghost > NUL
rem
mouse.com
SMARTDRV.exe
%cdrom%:\ghost\tw.exe
ECHO 欢迎使用系统恢复光盘,按任意键继续……
PAUSE > NUL
call %cdrom%:\ghost\hf.bat
:QUIT
echo.
rem clean up environment variables
set CDROM=
set LglDrv=
:QUICK
光盘\ghost\hf.bat的内容是:
ECHO.
@CHOICE 发现系统恢复光盘,是否要进行系统恢复?
@If errorlevel 1 if not errorlevel 2 goto HF
@if errorlevel 2 if not errorlevel 3 goto Show
:HF
@echo.
@CHOICE 如果恢复,C盘上的数据将全部被覆盖,要继续吗?
@If errorlevel 1 if not errorlevel 2 Ghost.exe -clone,mode=pload,src=Winxp.gho:1,dst=1:1 -sure -rb
@if errorlevel 2 if not errorlevel 3 goto Show
:Show
@echo.
已经有很多人看过了,都说是没问题的,可就是执行时启动ghost后提示出错,现象和楼主的一样,出错信息是:
abort:40127, cannot create a file preservation metadata file at path "."
提示保存的GHOSTERR.TXT内容如下:
*********************************
Date : Fri Dec 15 17:47:52 2006
Error Number: (40217)
Message: Cannot create a File Preservation Metadata File at path "."
Version: 8.3.0.1331 (Nov 28 2005, Build=1331)
OS Version: DOS v7.10
Command line arguments:
Active Switches :
AutoName
PathName :
DumpFile :
DumpPos : 0
FlagImplode : 0
FlagExplode : 0
Operation Details :
Total size.........0
MB copied..........0
MB remaining.......0
Percent complete...0%
Speed..............0 MB/min
Time elapsed.......0:00
Time remaining.....0:00
Program Call Stack
AbortLog
Generic_Abort
RecoveryFilesystemServer::ctor
sub_main
main
Disk Info :
remote.............0
drive..............0
sectors_used.......234436293
estimated_used.....0
pemax..............4
Version............0
# Ord Boot Id Ext First Num Last Used NTFS
0 0 80 c No 63 40965687 40965750 0 No
1 1 0 c No 40965813 61448562 102414375 0 No
2 2 0 7 No 102414438 102398247 204812685 0 No
3 3 0 7 No 204812748 29623797 234436545 0 No
Disk Info :
remote.............0
drive..............0
sectors_used.......0
estimated_used.....0
pemax..............0
Version............0
# Ord Boot Id Ext First Num Last Used NTFS
Fixed Drives
Drive 128 ST3120022A 4JT0MGA3
Int 13h
Total Sectors 16434495
Bytes per Sector 512
MB 8024
Cylinders 1023
Heads 255
Sectors per Track 63
Successful IO Count 0
Extended Int 13h
Total Sectors 234441648
Bytes per Sector 512
MB 114473
Successful IO Count 0
IDE using PIO
Total Sectors 234441648
Bytes per Sector 512
MB 114473
Cylinders 16383
Heads 16
Sectors per Track 63
Successful IO Count 0
IDE using UDMA (Active)
Total Sectors 234441648
Bytes per Sector 512
MB 114473
Cylinders 16383
Heads 16
Sectors per Track 63
Successful IO Count 61
Floppy Drives
Drive 0
Int 13h (Active)
Total Sectors 2880
Bytes per Sector 512
MB 1
Cylinders 80
Heads 2
Sectors per Track 18
Successful IO Count 1
Drive 1
Int 13h (Active)
Total Sectors 2880
Bytes per Sector 512
MB 1
Cylinders 80
Heads 2
Sectors per Track 18
Successful IO Count 1