My bootable cd
Use at your own risk.
The batch file will ghostback your latest ghostfile.gho to first
unhidden primary partition.
Assumption
ghostfile.gho is located in main directory on one drive
ghostfile.gho is name as ghostfile1.gho, ghostfile2.gho etc.
Can download the file here...
Link to download removed by NightOwlEdited: Edit by Nightowl--6/23/2012 at approx. 11:00 am
Your download appears to contain a working copy of *ghost.exe*--that's a protected, licensed program by Symantec, and distributing it would be a violation of their EULA! That's the one main rule we have here on our forum--no distribution of licensed software that is not freeware or in the public domain for free use and distribution.
I have temporarily removed your link.
You can offer a download without that proprietary program that others can then copy their properly licensed version of the program to the boot disc, disk, or usb flashdrive.
config.sys -------------
device=himem.sys /testmem:off /numhandles=128 /Q
device=AHCI.SYS /D:sata
device=UIDE.SYS /D:gen
device=emm386.exe NOEMS I=B000-B7FF
device=ansi.sys
shell=\command.com /e:2048 /f /p
fileshigh=40
buffershigh=15
dos=high,umb
stackshigh=0,0
fcbshigh=4,0
LASTDRIVE=Z
BREAK=ON
autoexec.bat -----------------------
@echo off
prompt $p$g
SET TZ=GHO-08:00
echo Loading driver...
LH MSCDEX.EXE /D:sata /D:gen /L:x
LH doskey.com /insert
LH mouse
set cddrv=
findcd -e -r
if errorlevel 23 set cddrv=x
if errorlevel 24 set cddrv=y
echo %cddrv%: CD drive with media
path a:;%cddrv%:
cls
ntfs4dos findG.bat
findG.bat ----------------------
rem autoghost findG cd version
@echo off
rem booting from cd
rem hd c hd1,1 -- assign c
rem hd d hd1,2 -- assign d
rem hd e hd1,3 -- assign e
rem Check drives for existence of .gho file and return drive letter
set drive=
if exist D:\*.gho set drive=D:
if exist E:\*.gho set drive=E:
if exist F:\*.gho set drive=F:
if exist G:\*.gho set drive=G:
if exist H:\*.gho set drive=H:
if exist I:\*.gho set drive=I:
if exist J:\*.gho set drive=J:
if exist K:\*.gho set drive=K:
if exist L:\*.gho set drive=L:
if exist M:\*.gho set drive=M:
if exist N:\*.gho set drive=N:
if exist O:\*.gho set drive=O:
if exist P:\*.gho set drive=P:
if exist Q:\*.gho set drive=Q:
if exist R:\*.gho set drive=R:
if exist S:\*.gho set drive=S:
if exist T:\*.gho set drive=T:
if exist U:\*.gho set drive=U:
if exist V:\*.gho set drive=V:
if exist W:\*.gho set drive=W:
rem if exist X:\*.gho set drive=X:
rem if exist Y:\*.gho set drive=Y:
if exist Z:\*.gho set drive=Z:
%drive%
FOR %%l IN (*.gho) do set ghofile=%%l
set drive2=
if exist D:\*.gho set drive2=1:2
if exist E:\*.gho set drive2=1:3
if exist F:\*.gho set drive2=1:4
if exist G:\*.gho set drive2=1:5
if exist H:\*.gho set drive2=1:6
if exist I:\*.gho set drive2=1:7
if exist J:\*.gho set drive2=1:8
if exist K:\*.gho set drive2=1:9
if exist L:\*.gho set drive2=1:10
if exist M:\*.gho set drive2=1:11
if exist N:\*.gho set drive2=1:12
if exist O:\*.gho set drive2=1:13
if exist P:\*.gho set drive2=1:14
if exist Q:\*.gho set drive2=1:15
if exist R:\*.gho set drive2=1:16
if exist S:\*.gho set drive2=1:17
if exist T:\*.gho set drive2=1:18
if exist U:\*.gho set drive2=1:19
if exist V:\*.gho set drive2=1:20
if exist W:\*.gho set drive2=1:21
rem if exist X:\*.gho set drive2=1:22
rem if exist Y:\*.gho set drive2=1:23
if exist Z:\*.gho set drive2=1:24
echo.
[0;32;40m
echo * Ghost file
[1;33;40m%ghofile%
[0;32;40m at drive
[1;33;40m%drive%
[0;32;40m
echo * check if disk:volume
[1;33;40m%drive2%
[0;32;40m match the table above else
[1;33;40m
input " * type the correct disk:volume = " drive2 /E /L4
echo.
[0m
if exist d:\windows GOTO part2
echo ghost.exe -CLONE,MODE=PLOAD,SRC=%drive2%\%ghofile%:1,DST=1:1 -FX
pause
ghost.exe -CLONE,MODE=PLOAD,SRC=%drive2%\%ghofile%:1,DST=1:1 -FX
goto done
:part2
echo ghost.exe -CLONE,MODE=PLOAD,SRC=%drive2%\%ghofile%:1,DST=1:2 -FX
pause
ghost.exe -CLONE,MODE=PLOAD,SRC=%drive2%\%ghofile%:1,DST=1:2 -FX
:done
cls
ej %CDDRV%:
ECHO --------------------------------------------------------------------------------
ECHO Please remove the CD now
PAUSE
restart