Symantec Ghost 7.5

B

Ben

Having some issues with Symantec Ghost during the restoring process..
It insist that I insert the disk with the batch file (autoexec.bat)
after it finishes the last CD in the image. Is there anyway I can
have Symantec Ghost make the last CD a bootable CD as well? I suspect
I'm getting the message about the batch file since autoexec.bat calls
out a few commands which were found on the 1st CD which is a bootable
CD. Here is what my autoexec.bat contains:

@echo off
set EXPAND=YES
set DIRCMD=/O:N
set temp=c:\
set tmp=c:\
path=a:\
@echo off
LH MSCDEX.EXE /D:GEMCD001 /L:R
cls
ECHO.
ECHO SYSTEM VERIFICATION
ECHO ===================
ECHO SYSTEM INFORMATION IS BEING VERIFIED
ECHO.
@echo off
em_lock.exe
if errorlevel 1 goto system_OK
goto system_error
:system_OK
IF "%config%"=="RESTORING" GOTO with_format
IF "%config%"=="BOOT_TO_CMD" GOTO exit
:with_format
cls
ECHO.
ECHO RESTORE HDD FROM CD-ROM
ECHO =======================
ECHO HARD DRIVE (C:) WILL BE RESTORED.
ECHO.
ECHO CAUTION: ALL CONTENTS OF HARD DRIVE (C:) WILL BE LOST!
ECHO BACK UP YOUR FILES BEFORE PROCEEDING AND RESTART
ECHO.
Pause
cls
ECHO.
ECHO ASSURANCE OF RESTORING
ECHO ======================
ECHO ALL DATA OF HARD DRIVE (C:) WILL BE LOST!
ECHO ARE YOU SURE YOU WOULD LIKE TO PROCEED?
Echo.
Echo IF YES, PRESS Y. IF NO, PRESS N.
Echo.
choice /c:yn /n
if errorlevel 2 goto exit
if errorlevel 1 goto Restore
:Restore
@echo off
ghost -clone,mode=load,src=R:\CDR00001.GHO,dst=1 -sure
cls
ECHO.
ECHO WINDOWS XP RESTORE COMPLETE
ECHO ===========================
ECHO THE HARD DRIVE IMAGE HAS BEEN RESTORED.
ECHO PRESS ANY KEY, THEN THE SYSTEM WILL REBOOT.
ECHO **STORE THIS CD-ROM IN A SAFE LOCATION!**
ECHO.
a:\Ejectcd.exe r:
:system_error
ECHO.
ECHO SYSTEM ERROR
ECHO ============
ECHO YOUR COMPUTER IS NOT RESPONDING, INCORRECT SYSTEM TYPE
ECHO RESTORE CANCELLED.
ECHO.
pause
a:\Reboot.exe
 
J

Jetro

Put command.com and autoexec.bat onto the last CD or add the "-rb" switch to
the command line.

-rb Restarts after finishing a restore or copy. After completing a restore
or copy operation, the
target computer must be restarted so that the operating system can restore
the new disk/
partition information. Normally, Norton Ghost prompts the user to restart or
exit. -rb tells
Norton Ghost to restart automatically after it completes the restore or
copy. This is useful
when automating Norton Ghost in a batch command file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top