Hi, I'm encountering a similar problem with making an automatic booting usb flash drive with ghost. There are two main issues that I'm encountering.
1. referencing the .gho file to be restored. The bootable usb drive can be any drive letter. On two identical laptops it shows differently as G and H
I've tried this method:
start ghost32.exe -clone,mode=load,src=H:\image.gho,dst=1 -sure
this one
if exist e:\image.gho x:\ghost\ghost32.exe -clone,mode=restore,src=e:\image.gho,dst=1
if exist f:\image.gho x:\ghost\ghost32.exe -clone,mode=restore,src=f:\image.gho,dst=1
if exist g:\image.gho x:\ghost\ghost32.exe -clone,mode=restore,src=g:\image.gho,dst=1
if exist h:\image.gho x:\ghost\ghost32.exe -clone,mode=restore,src=h:\image.gho,dst=1
and a modified version of shaun72s
Rem – scan for a file in the root of the DVD called IMAGE.GHO and set system variable %USB%
for %%f in (E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %%f:\IMAGE.GHO set USB=%%f:
x:
cd \ghost
Ghost32 -clone,mode=restore,src=%USB%\IMAGE.GHO,dst=1 –sure
Once the first version worked, but now it doesn't. Other times it can't find the file, or just drops to a command prompt.
2. After editing the start.bat file (in the ghost folder) and then booting it still seem to pickup previous settings.
Last time I tried Istart.bat contained:
start ghost32.exe -clone,mode=load,src=H:\image.gho,dst=1 -sure
the error was
cannot open image file h:\ghost\image.gho
Is there anyway to reference the dirve letter for the usb flash drive? That works correctly?
Which file do I edit in place of the start.bat
Paul