Help - Search - Members - Calendar
Full Version: Bootable USB with Ghost
The CD Forum > The CD Forum > Windows PE
onasre
Hello

My coumputer come with a recovery DVD , that run Ghost to restore the system after crash's.. The dvd is build be Winpe , they included the iso file

No i wanted to Convert that DVD to USB . so i used pe2usb to format my flash drive and build the bootable usb from the iso image after extract it .

after that , pluged the usb and restart , and Yah it did Boot ..

so the next thing i had to do is to make the Ghost Runs Auto after Finish Booting so this wht i did.

I opened the file WINPESHL.INI located under WINPE\I386\SYSTEM32

i placed this code inside it

[launchApp]
AppPath=x:\GHOST32.EXE

Made restart .. and Yap it did work the USB booted and Run Ghost auomatic ..

So you might be wondering Now so whts my Problem ..

Well i wanted the ghost to run and start the restore Auto without having to do any thing .. so after searching online for auto restore ghost , i found that u can use this command.

GHOST32.EXE -clone,mode=load,src=x:\ghost.GHO,dst=1 -sure

so i made Bat file and placed the Commaand line and called the file go.bat and went back to the WINPESHL.INI and replaced


[launchApp]
AppPath=x:\GHOST32.EXE


with
[launchApp]
AppPath=x:\go.bat

Restart , the usb booted , and when finish booting the Ghost run but immediately the computer restart ..

i dont know why it just restart it self ...

So i tried to run the bat file from the computer , to see wht error message i might get , but it didt come with any error in fact iit opened Ghost and went to restore process but got error message that cant lock the partition and i understand why because it was the c which i 'm useing ..

So Now my quastion wht wrong did i do .. is there any other way to make the usb boots immediately to auto restore ghost ..

i want just to put my ghost image in the flash memory and be able to plug it and the rest done auto .. i have seen this done on some clips in youtube but no one give info to how .. so i tried my way but it didt work i dont know why..

Thx
Havok333
First, try booting without auto-launching any applications at all and verify that your boot environment can see your local disk.

If that works, go back to your method of booting USB and only starting the Ghost application (not trying to do the auto-restore process). You can then do a manual restore, and while going through the screens verify that your BAT file contains the correct GHO path and destination. I can't remember off the top of my head, but perhaps your local hard disk will actually be listed as dst=0...or perhaps your GHO file doesn't reside at the root of drive X:

If your restore goes well manually, then you know you're very close and would just need to look at the way your passing the Ghost command and/or verify your full command line. The command line looks fine to me otherwise, but I don't have my ghost docs handy either.

Good luck
onasre
Thx for the answer , i idid try all wht u said , it boots ok when nothing setp up for auto run , and it runs ok when it set to auto run ghost and it runs when u set the command for the batch file , but the problem after the dos screen popup the pc restart .. with no error ..



this when i tried to run the batch from the windows and it work it called ghost and wnet a head to restore it just i dont want run the batch file from windows ..

well any how do you know how to make the ghost run auto when finish booting from Bartpe Cd..
Havok333
If, after booting your PE without auto running go.bat, can you then try to manually run the go.bat file to see if you still get an auto-reboot? My own USB PE environment doesn't include a WINPESHL.INI file, but I will be looking into automating some auto-ghost restores (from a menu) very soon, so I'm curious as to exactly what your issue is.

There's a bunch of things that can hang an auto-ghost restore, and some very well may cause an auto-reboot for all I know. It's tough to say, when you don't get a chance to read any error messages. Just before your reboot, does Ghost look like it's starting the restore, or even better, does it get to any certain % range before the auto-reboot? If you get to the same general % each time before reboot, there's likely a hard disk problem...but could be a bad RAM module issue as well. I've seen both cause auto-reboots during a ghost restore over the years. Some decent hardware diagnostics could rule that in or out.

Let me know...
onasre
Hello . Thx for continues with me .

when finish booting with auto run the bat file . the Blank screen that comes when u tyep CMD Flash's Very Quick and then the pc Hangs for few Second before restart ..

and so the same if u manual run the bat file ..

But if i run the bat file from the Windows it runs the ghost and start restore .. so nothing wrong with the command ..

See i have the WINPE with Auto Ghost On DVD and it works Fine , just plug the DVD and when finish booting it runs Ghost and auto restore , so i thought to convert it to DVD , with simple just copy all wht in the dvd to bootable usb and try , in fact it did boot and start the auto restore from the usb but Stuck on Message that there No DVD is pluged .. seems still has the DVD path ,

i tried to open all CMD and Bat files and change the Bath to X as it usb .. but it didt work , still same message about cant read the DVD ..
onasre
I finaly Done it .. and there you Go for who looking also..

for Winpe

1- Unzip the WINPE image .
2- after u unzip the image go to WINPE\I386\SYSTEM32 and open file WINPESHL.INI
clear the content and add :

[launchApp]
AppPath=x:\autorun-ghost.bat

Save and Close the file

3- in the root of the unziped image folder make file called autorun-ghost.bat insert in this file one of this commands.

1- This Command will Auto run Ghost and start restore ur image without cliking any thing Just stick the usb and after finish booting the restoration will began . So make sure that wht u want because it going to format ur parition and restore the image ..
x:\GHOST32.EXE -clone,mode=restore,src=x:\12-april-209.GHO,dst=1 -sure -fx

2- this command like the above one but add the computer will restart itself after finish restore ur image .
x:\GHOST32.EXE -clone,mode=restore,src=x:\12-april-209.GHO,dst=1 -sure -rb

3- this command will ask you to Say Yes Before start Restore ur image , u will have to Click Yes two times . which i highly recommended . it will not start restore unless u Say yes ..

x:\GHOST32.EXE -clone,mode=restore,src=x:\12-april-209.GHO,dst=1 -sure -fx

after u made up ur minde to which command you want , save and close ..

4- put ur ghost image in the root of ur usb

5- Download PeToUSB.exe to format and copy the image files to your USB .. and u done .

if you dont know How to use pe2usb . and for download go to the link below.
http://wiki.eeeuser.com/windows:restorexp_from_usb

By the way do it at your own risk ..

and dont forget change the Ghost image name from the commands to ur image Name
Ben_Mott
Hello ,
you have gone through so much work which you obviosly
learned and helped others and we thank you for it.
but I will give you a very useuful tip
google ghost32.exe ISO
there are a lot of copy cat references to what you achived above but on a bootable Vista PE2 CD (ISO)

Regards Ben
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.