Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

Any GHOST experts out there? I'm trying to create an automated script for installing an image automatically

GHOST experts out there?  I'm trying to create an automated script for installing an image automatically.  So that from a CD booting I can automate the menu selections with ghost to automatically drop the image on to a users PC.  The problem being that I have 100 PC's to configure.

Any advice on the ghost commands for automation gratefully received and it is urgent

Thanks ............ lots of Points available here
0
mmanning
Asked:
mmanning
3 Solutions
 
gleadsCommented:
can you not use the make bootable cd from the ghost tab in the start menu?
0
 
mmanningAuthor Commented:
Which version of ghost?
0
 
mmanningAuthor Commented:
Which version of ghost?
0
Get your problem seen by more experts

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

 
MephistosebCommented:
With Norton Ghost. Here is something that you will appreciate ... http://www.symantec.com/techsupp/tutorial/ghost_2002/2000110312324125_s.html
0
 
rsorensenCommented:
this isn't too hard.....

You may want to consider the multicast option - that is potentially much quicker method. But to do the boot disk ->

just make a bootable CD with Nero and run ghost at the command prompt like this:

ghost -clone,mode=load,src=D:\myimage.gho,dst=1 -sure

look here for more info: http://service1.symantec.com/SUPPORT/ghost.nsf/docid/1998082413392025

NOTE that if you're cloning 2000 or XP you'll need to run ghstwalk to change the SID otherwise you'll have major security problems!

I think when i did this in the past, my system didnt support booting from CD, so i booted from a winME restore floppy that loaded the CD drivers autmatically. Then i executed the command above.
0
 
pfloyd17Commented:
You may want to set up a ghostcast sever, it will allow you to remotely install the client software and automate the ghosting process.
0
 
Dr_KCommented:
Create the image of the pc with teh following command(s)
' ======  Ghost Commands ====================
ghost -clone,mode=dump,src=1,dst=destination_with_path -span -split=600 -z9 -auto

' Info: -z9 = Max Compression
' Info : -Auto = Next without user intervension
' Info : -span = span the image to more than 1 cd
' Info : -split = Split image to a max of 600mb per image
' =========== End of Ghost Commands =========
Create a Boot Disk with Windows 98 os first.
Edit the 'Autoexec.Bat' file with the following:
'============Start of Autoexec.bat file ================'
@echo off !! Writen By K.I.S (aka Dr_K)1-20-2003 >nul
@echo off !! To be used on the ????????? >nul

MSCDEX /D:MSCD001 /L:G /M:12
IF "%config%"=="CDRIVE" GOTO CDRIVE
IF "%config%"=="OVERWRITE" GOTO OVERWRITE
:CDRIVE
@echo off
@cls
@echo !!
@echo !!
@echo !! This CD is designed for use with the Computer of your choice
@echo !!  
@echo !! It will ERASE all  data in the C: partition.  
@echo !!
@echo !!         BACK UP YOUR DATA PRIOR TO RE IMAGE.
@echo !!
@echo !! If you need to reimage the full disk, click ctrl-c to cancel
@echo !!
@echo !!     and select the Overwrite Hard drive menu item
@echo !!
pause
a:\ghost -clone,mode=PLOAD,src=g:\name_of_Image_file.gho:1,dst=1:1 -ntil -auto -sure -fx

@cls
@echo !!
@echo !!               R E A D   M E !!   N O W !!!
@echo !!
@echo !! "C" Partition Initialization and Software Installation Completed.
@echo !!     You'll need to Reboot the PC to complete the process.      
@ECHO !!
@ECHO !! !!! Power Down and Restart the PC to complete the process !!!
@ECHO !!======================================================================
@echo !!                      After Powering Up
@ECHO !! !!! DO NOT POWER DOWN THE PC UNTIL THE WHOLE PROCESS IS COMPLETED!!!
@ECHO !!======================================================================
@echo !!
pause
goto end

:OVERWRITE
@echo off
@cls

@echo !!
@echo !!
@echo !! It will ERASE ALL  data on the Hard Drive
@echo !!        
@echo !!If you do not need to reimage the full disk, click ctrl-c to cancel
@echo !!
@ECHO !!
@ECHO !!PRESS CTRL-c TO CANCEL OR ANY KEY TO CONTINUE
@echo !!

pause>nul

a:\gdisk 1 /del /all
a:\gdisk 1 /cre /pri

a:\ghost -clone,mode=LOAD,src=g:\name_of_Image_file.gho,dst=1 -ntil -auto -sure -fx


@cls

@echo !!
@echo !!               R E A D   M E !!   N O W !!!
@echo !!
@echo !! Full Hard Drive Initialization and Software Installation Completed
@echo !!    You'll need to Reboot the PC to Complete the process.      
@ECHO !!
@ECHO !! !!! Power Down and Restart the PC to complete the process !!!
@ECHO !!======================================================================
@echo !!                      After Powering Up
@ECHO !! !!! DO NOT POWER DOWN THE PC UNTIL THE WHOLE PROCESS IS COMPLETED!!!
@ECHO !!======================================================================
@echo !!
pause
goto end
:END
@cls
@echo !!
@echo !!
@echo !!
@echo !!
@ECHO !!======================================================================
@echo !!                    
@ECHO !! !!!            Power Down and Restart the PC                       !!!
@echo !!
@echo !!         Remove the DVD/CD from the CDRW/DVD Drive.
@echo !! Store the DVD Media in a safe place, and close the drive tray!
@ECHO !!======================================================================
@echo !!
@echo !!
@echo !!
@echo !!
@echo !!
:EXIT
'============End of Autoexec.bat file ================'
'============Start of Config.sys file ================'
DEVICE=A:\DEV\NEC_IDE.SYS /D:MSCD001

[menu]

menuitem=OVERWRITE, Overwrite the ENTIRE Hard drive menuitem=CDRIVE, Overwrite just the C: drive
menudefault=
menucolor=7,0

[OVERWRITE]

[CDRIVE]
'============End Config.sys file ================'
Floppy Disk contents:
\dev folder 'include the cd-drive .sys files
'================================================'
Test the floppy disk prior to final setup.
Upon completion of the floppy disk, start either 'NERO' or EZ-CDCreator, and verify that the BOOT CD is selected as an option. Insert the bootable floppy, when prompted and finish he burn. If you have multiple cd's just make only the first cd btable the rest copy the .gh? files . The same applies for DVD creation, but use NERO instead. It worths the $60.00 investment.  
Also verify that you are using SYSPREP ( from Microsoft) or else you coul dhave duplicate sids if you have teh computer on the network
0
 
MusicManCommented:
This question has been classified as abandoned.  I will make a recommendation to the moderators on its resolution in approximately one week.  I would appreciate any comments by the experts that would help me in making a recommendation.

It is assumed that any participant not responding to this request is no longer interested in its final deposition.

If the asker does not know how to close the question, the options are here:
http://www.experts-exchange.com/help.jsp#hs5

***PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER***

MusicMan
EE Cleanup Volunteer
0
 
MusicManCommented:
I will leave the following recommendation for this question in the Cleanup topic area:

Split: Mephistoseb {http:#8127788} & rsorensen {http:#8132344} & Dr_K {http:#8323821}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!



MusicMan
EE Cleanup Volunteer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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