• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1714
  • Last Modified:

Ghost switches to auto image

I recently purchased a copy of Symantec Security Suite to use to backup images so they can be restored at a later time. What I want to do is use the ghost boot wizard to create a bootable usb drive with the image stored on it. I then want to image to automatically load and reformat the computer. I did find switches for ghost but have no clue how to use them . Below is the information for the configuration file that shows up when creating the boot drive (I added a screen shot also). I am able to create the drive with the image but I want it to be able to automatically image.

Image Name - ud-sx280.GHO


Client Details:
Client:      Symantec Ghost
Destination:      v125w PMAP

Configuration Files:
START.BAT:
set path=%path%;x:\ghost

x:
cd \ghost
rem --- This will create primary OS drive configuration ---
ghost32.exe /setosdrives /blind >> x:\ghost\startlog.txt
start ghost32.exe

ghostboot.JPG
0
MFHSINC
Asked:
MFHSINC
  • 11
  • 7
1 Solution
 
emilgasCommented:
which switches did you find?
also note that you have to know which way you are going to restore the images. I usually restore using ghostcasting.
here is what I use
GHOST.EXE -clone,mode=restore,src=@MC1,dst=1 -sure
which tells ghost to automatically start a restore session, source is MC (multicast) named "1" and destination is the first hard drive
SO the question is how are you going to restore???
0
 
MFHSINCAuthor Commented:
Here is what i tried:

From the main ghost boot screen I usually click on local -> disc -> from image -> then choose the image location from the external hard drive.


I have the ghost boot software and the image on a 32gb flash drive. The plan is to be able to send this drive with the computer so that if the site gets a virus they can insert the drive restart the computer and the computer will automatically reformat.

I have never used switches, or ghostcast so I really have no clue what i am doing.

Below is what I have tried:
 
ghost32.exe -clone,mode=load,src=%SystemRoot%\ud-sx280.GHO,dst=1 -sure

It doesnt have to be anything fancy, I juust want it to do everything automatically. It is hard to find staff that will manually click on everything.

0
 
emilgasCommented:
Replace %SystemRoot% with the actual drive letter that gets assigned to the usb flash drive. for example D:\ud-sx280.gho where D stands for the drive letter for the flash drive. Let me know if you need help finding out what the drive letter is. Basically it is in ghost when you manually browse for the image.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
MFHSINCAuthor Commented:
The drive is getting mapped as F, so here is the script from the start.bat file I am using:

"
set path=%path%;x:\ghost

x:
cd \ghost
ghost32.EXE -clone,mode=restore,src=f:\ud-sx280.GHO,dst=1 -sure       "

Ghost does load, but but does not get passed the About window where you have to click on ok.

If I run start.bat from my windows laptop it opens the ghost32.exe program and gives me a error that the destination drive is not available.


0
 
emilgasCommented:
are you in WinPE mode or pure DOS mode?
I have a feeling that your script isn't getting executed, meaning that the ghost gets loaded from another place not from the X drive like it shows ind start.bat
tell me the files structure of your flash drive
0
 
MFHSINCAuthor Commented:
I am using WINPE mode. Below are two screen shots one of which is the root folder of the flash-drive the other being the contents of the ghost folder. Let me know if you need anything else.
Ghost-Files-1.PNG
Ghost-Files-2.PNG
0
 
emilgasCommented:
I actually have the same problem where I cannot find what start up the ghost32.exe when I edit start.bat it does not affect it. I have a feeling customizing the batch files need to be done before creation of the USB boot disk.
Basically what's happening is that it's not reading the commands that you are typing, instead it just has it's generic command that starts up the Ghost32.exe and that's it.
0
 
MFHSINCAuthor Commented:
Ill try making a new boot disk now and see if it works.
0
 
MFHSINCAuthor Commented:
Alright we are getting closer. When I boot, ghost32.exe starts but then I get an error. I will post the screen-shot below.
downsized-0415002221.jpg
0
 
MFHSINCAuthor Commented:
And here is the code I have in for start.bat as of now.


set path=%path%;x:\ghost

x:
cd \ghost
ghost32.EXE -clone,mode=restore,src=f:\udsx280.GHO,dst=1 -sure
0
 
emilgasCommented:
Yup we are definately getting closer. Now it's a matter of getting the path correct. is your drive still F:?
I also noticed that your mode is restore. can you also try mode=load I read onlne that load is for loading from a ghost file to a drive restore is used with ghostcasting
0
 
MFHSINCAuthor Commented:
I changed to mode back to load. However I am still getting the same error. I will recheck the drive letter in ghost and see if it is being assigned to a different letter.
0
 
MFHSINCAuthor Commented:
Now it is mapping as E. I am creating a new disk now. Is there any way to make the drive always map to a certain letter. FE: Can we set the source drive to always be Z? I will let you know if this works.
0
 
emilgasCommented:
I have to do a bit more research on it. I'm not sure what causes the drive mapping to change espcially when it is the same system where the drive count didn't change
0
 
MFHSINCAuthor Commented:
IT WORKED! Just one more thing. It ghosts the computer then the script comes back up and you have to type in exit to close out of ghost and restart the computer. Is there anyway to do this automatically?
0
 
emilgasCommented:
at the end of your script type this:

exit
shutdown -s
0
 
MFHSINCAuthor Commented:
I did not get a chance to try the shutdown part, but everything else is working great. Thank you for your help as this will save us a lot of time, energy, and money.
0
 
MFHSINCAuthor Commented:
I did not get a chance to try the shutdown part, but everything else is working great. Thank you for your help as this will save us a lot of time, energy, and money.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 11
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now