home *** CD-ROM | disk | FTP | other *** search
/ Image Master / L80.iso / Ghost5.0d / SWITCHES.TXT < prev    next >
Encoding:
Text File  |  1998-05-14  |  11.1 KB  |  247 lines

  1. These switches can be used with GHOST's command line mode in order to enhance the
  2. automation and diagnostic process.
  3.  
  4. General Switches:
  5.  
  6. @argument.fil    | Command line arguments read from this file
  7. @MCsessionname    | Connect to Multicast "sessionname" (see Multicast documentation)
  8. @MTx        | Designates which tape device to use (0 through N)
  9. -AFILE=path    | Override default abort log file with "path"
  10. -AUTONAME    | Autonames spanned dump files
  11. -BATCH        | Prevents Abort messages waiting for user acknowledgement
  12. -BFC        | Better handling and logging of bad sectors
  13. -BLKSZE=x       | Sets the block size in "x" Kbytes for writing to image files
  14. -CRC32        | Extract and compare file lists from images (see addendum below)
  15. -CRCIGNORE    | Allows restoring of dump files that contain some corrupted files
  16. -DD        | Dump disk metrics to GHSTSTAT.DMP
  17. -DFILE=path    | Override default dump log file with "path" - (see -DD)
  18. -DI        | Display diagnostics
  19. -E        | Overcomes EA DATA.SF problems
  20. -FATLIMIT       | Prevents GHOST from resizing FAT partitions beyond 2Gb
  21. -F12        | Allows resizing of Fat 12 partitions when the -CLONE switch is used
  22. -F64        | Allow 64K cluster size when loading from old image files
  23. -FDC        | Forces dongle check
  24. -FINGER        | Displays Fingerprint information
  25. -FRO        | Continue cloning even if source contains bad blocks
  26. -FNF        | Turns off Fingerprint creation
  27. -FNX        | Force disabling of Extended INT13 calls if present
  28. -FX        | Exit program when finished cloning
  29. -H        | Display help on switches
  30. -INT41        | Use DOS drive table for determining drive geometry
  31. -IA        | Image all - forces sector by sector copy
  32. -JL:x=d:\file    | Create Multicast diagnostic file (see Multicast documentation)
  33. -JS=n           | Increase hops required to contact Multicast server (default is 10)
  34. -LPM        | Launch GHOST as LPT Master
  35. -LPS        | Launch GHOST as LPT Slave
  36. -MEMCHECK    | Diagnostic memory dump for technical support issues
  37. -NBM        | Launch GHOST as NetBIOS Master
  38. -NBS        | Launch GHOST as NetBIOS Slave
  39. -NOFILE        | Turns off dump file dialog box
  40. -OR        | Override destination drive space limitations
  41. -PWD            | Prompt for a password when creating an image file
  42. -PWD=password   | Where "password" equals the image file's password
  43. -QUIET        | QUIET mode - no user intervention allowed or screen display
  44. -RB        | In batch mode this forces automatic reboot after completion
  45. -SLEEP        | By popular demand - A switch to slow down GHOST's execution
  46. -SPAN        | Turn on spanning
  47. -SPLIT=x    | Split image file into "x" megabyte spans
  48. -SURE        | Used in conjunction with -CLONE to avoid the final 'Proceed' question
  49. -SZEx        | Controls partition sizes in batch mode (see GHOST documentation)
  50. -TAPEBUFFERED   | Use on old DAT drives with unreliable tapes
  51. -TAPESAFE       | Use on old DAT drives with unreliable tapes
  52. -TAPESPEED=x    | Where "x" equals 0 - F. 0 is default, 1 - F increase speeds
  53. -TAPEUNBUFFERED | Use on old DAT drives with unreliable tapes
  54. -VDW        | Verifies disk writes
  55. -VER        | Displays GHOST version number
  56. -VFY        | Verifies writes to an image file
  57. -WD-        | Turns off Disk Write caching
  58. -WS-        | Turns off Disk Read caching
  59. -XINT13ON    | Force use of BIOS Extended INT13 system calls if present
  60. -Z or -Z1    | Compress image file when dumping - low compression (fast)
  61. -Z2        | Compress image file when dumping - high compression (slower)
  62. -Z3 thru -Z9    | Compress image file when dumping - higher compression (slowest)
  63.  
  64. NTFS Specific Switches:
  65.  
  66. -NTD        | Enable NTFS internal diagnostic checking
  67. -NTC-        | Disable NTFS contiguous cluster run allocation
  68. -NTN        | Inhibit CHKDSK on NTFS volume boot
  69. -NTIL        | Ignore non-empty NTFS Log File check (Inconsistent volume)
  70. -NTIC        | Ignore the NTFS volume CHKDSK bit
  71. -NTX:x        | Set size of NTFS volume cache in "x" kilobytes. The default is 8000
  72.  
  73. --------------------
  74.  
  75. Command Line Syntax:
  76.  
  77. -CLONE,mode={COPY|LOAD|DUMP},src={drive|file},dst={drive|file}
  78. -CLONE,mode={PCOPY|PLOAD|PDUMP},src={drive:partition|file:partition},
  79. dst={drive:partition|file}
  80. -CLONE,mode={COPY|LOAD|DUMP|PCOPY|PLOAD|PDUMP},src={drive|file},dst={drive|file},
  81. szen={F|V|nnnnM|nnP},sze{F|L}
  82.  
  83. GHOST command line arguments can be read from a file, using the syntax:
  84. GHOST.EXE @argument.fil
  85. Argument.fil can contain any command line argument, one per line, except for -AFILE=
  86. and -DFILE=. This feature is a workaround for the MSDOS command line limit of 150
  87. characters.
  88.  
  89. Some examples of batch cloning via GHOST's command line syntax:
  90.  
  91. ghost.exe -clone,mode=copy,src=1,dst=2 -sure
  92. - COPIES drive one to drive two in local mode without final prompt.
  93.  
  94. ghost.exe -nbm -clone,mode=dump,src=2,dst=c:drive2.img
  95. - CONNECT via NetBIOS to a GHOST slave running on a remote PC and DUMP a disk image
  96.   of local drive 2 to the remote file C:DRIVE2.IMG.
  97.   Note that the slave GHOST can be started with: ghost.exe -nbs
  98.  
  99. ghost.exe -clone,mode=load,src=e:savdsk.img,dst=1
  100. - LOADS the disk image file SAVEDSK.IMG file held on the network partition
  101.   E: onto drive 1 of the local PC.
  102.  
  103. ghost.exe -clone,mode=pdump,src=1:2,dst=g:\imgs\part2.img
  104. - DUMPS the second partition of drive 1 to an image file.
  105.  
  106. ghost.exe -clone,mode=pload,src=g:\imgs\part2.img:2,dst=1:2
  107. - LOADS partition 2 from an image file onto the second partition of local hard drive 1.
  108.  
  109. ghost.exe -clone,mode=pcopy,src=1:2,dst=2:1
  110. - COPIES the second partition on drive one to the first parition on drive two.
  111.  
  112. ghost.exe -clone,mode=load,src=g:\imgs\2prtdisk.img,dst=2,sze1=60P,sze2=40P
  113. - LOADS drive 2 from an image file and resizes the destination partitions into a
  114.   60/40 allocation.
  115.  
  116. ghost.exe -clone,mode=load,src=e:\imgs\3prtdisk.img,dst=1,sze1=450M,sze2=1599M,sze3=2047M
  117. - LOADS drive 1 from an image file and resizes the first partition to 450 megs, the
  118.   second to 1599 megs and the third to 2047 megs.
  119.  
  120. ghost.exe -clone,mode=copy,src=1,dst=2,sze1=F,sze2=V,sze3=V
  121. - COPIES a three partition disk and keeps the first partition on the destination drive
  122.   the same size as on the source disk, but divide up the remaining space between the
  123.   other partitions leaving no unallocated space.
  124.  
  125. ghost.exe -clone,mode=load,src=g:\imgs\2prtdisk.img,dst=1,szeL
  126. - LOADS a disk from an image file and resizes the last partition to its capacity.
  127.   The first partition utilizes the remaining space.
  128.  
  129. ghost.exe -clone,src=@MCrestore,dst=1
  130. - Join Multicast session named "restore" and load image to disk 1.
  131.  
  132. ghost.exe -clone,src=1,dst=@MCcreate
  133. - Join Multicast session named "create" and dump image from disk 1.
  134.  
  135. Please see the included GHOST5.PDF for more detailed information on switches and their usage.
  136.  
  137. --------------------
  138.  
  139. CRC32 Switch Usage Addendum:
  140.  
  141. The -CRC32 switch allows making a list of the files on a disk or partition or in a
  142. dumpfile with CRC values for each, and to verify that list against the original or a
  143. clone. The purpose is to allow both quick listing of the contents of a dumpfile and
  144. verification that a GHOSTed disk contains the same files as the original. CRC checking
  145. works file-by-file with FAT partitions. NTFS partitions are CRC checked within a dump
  146. file by each MFT table. It is not possible at present to obtain a list of files failing
  147. a CRC check with an NTFS file system. When a CRC file is created for an NTFS partition,
  148. only a single CRC value is generated. You can also create a CRC file from a dumpfile,
  149. and verify against a disk.
  150.  
  151. The full syntax for this switch is:
  152.  
  153. -CRC32,action={create|verify|pcreate|pverify|dcreate|dverify},
  154. src={{Disk Spec}|{Part Spec}|{File}},{crcfile={File}|vlist={File}|vexcept={File}}
  155.  
  156. (No spaces are allowed in the command line).
  157.  
  158. crcfile={File} :: ASCII CRC file - default=ghost.crc
  159. vlist={File}   :: Verification list file - default=ghost.ls
  160. vexcept={File} :: Verification exception file - no default
  161.  
  162. The possible actions are:
  163.  
  164. Action          Description
  165. ------          -----------
  166. create          Create an ASCII CRC file from a disk
  167. verify          Verify a disk from a CRC file
  168. pcreate         Create an ASCII CRC file from a partition
  169. pverify         Verify a partition from an ASCII CRC file
  170. dcreate         Create an ASCII CRC file from a dump file
  171. dverify         Verify a dump file from an ASCII CRC file
  172.  
  173. Some examples of -CRC32 in action:
  174.  
  175. ghost -fcr
  176. - CREATE a CRC file (called GHOST.CRC) while making a dumpfile.
  177.  
  178. ghost -CRC32,action=create,src=1,crcfile=ghost.crc
  179. - CREATE a list of files and CRC values for a disk.
  180.  
  181. ghost -CRC32,action=dverify,src=x:dumpfile.gho,crcfile=ghost.crc
  182.  - VERIFY the list against a dumpfile.
  183.  
  184. ghost -CRC32,action=create
  185. - CREATE an ASCII CRC32 file from the primary hard drive. Note that the default disk
  186.   is the primary drive, the default ASCII CRC32 file is GHOST.CRC.
  187.  
  188. ghost -CRC32,action=create,src=2,crcfile=myfile.txt
  189. - CREATE an ASCII CRC32 file. Same as previous except you specify the disk and ASCII
  190.   CRC32 file. This example uses disk 2 as the source drive and the output file
  191.   MYFILE.TXT.
  192.  
  193. ghost -CRC32,action=verify
  194. - VERIFY the contents of the primary drive against CRC32 file. Once again, the default
  195.   disk is the primary drive and the default ASCII CRC32 file is GHOST.CRC (in the
  196.   current directory). In addition, the default verification list file is GHOST.LS.
  197.  
  198. ghost -CRC32,action=verify,src=1,crcfile=myfile.txt,vlist=myfile.out
  199. - VERIFY the contents of the primary drive against CRC32 file. Same as previous, but
  200.   specify the disk, CRC file and list file. This example uses disk 1 as the source
  201.   drive, MYFILE.TXT as the ASCII CRC32 file and MYFILE.OUT as the verification list
  202.   file.
  203.  
  204. ghost -CRC32,action=verify,src=1,crcfile=myfile.txt,vlist=myfile.out,vexcept=myfile.exc
  205. - VERIFY the contents of the primary drive against CRC32 file. Same as above with the
  206.   inclusion of the EXCEPTION argument which exludes compared files based upon its
  207.   entries.
  208.  
  209. The VEXCEPT argument specifies files which are not checked with CRC. This is normally
  210. used to exclude files which are always changed on boot.
  211. A sample exception text file is:
  212.  
  213. [Ghost exclusion list]
  214. \PERSONAL\PHONE
  215. [Partition: 1]
  216. \WINDOWS\COOKIES\*.*
  217. \WINDOWS\HISTORY\*
  218. \WINDOWS\RECENT\*
  219. \WINDOWS\USER.DAT
  220. \WINDOWS\TEMPOR~1\CACHE1\*
  221. \WINDOWS\TEMPOR~1\CACHE2\*
  222. \WINDOWS\TEMPOR~1\CACHE3\*
  223. \WINDOWS\TEMPOR~1\CACHE4\*
  224. [Partition: 2]
  225. *\*.1
  226. [End of list]
  227.  
  228. The exclusion list is case sensitive; all files should be specified in upper case.
  229. The * wildcard follows Unix rules, it is more powerful than the MSDOS *. In particular,
  230. it matches the . as well as any other character, but other characters can follow the *.
  231. Thus a wildcard of *br* will match any files containing the letters "br", e.g.
  232. brxyz.txt, abr.txt, abc.dbr.
  233.  
  234. The specification of \WINDOWS\COOKIES\*.* above means "match all files in the
  235. subdirectory \WINDOWS\COOKIES which have an extension. To match all files with or
  236. without an extension, \WINDOWS\COOKIES\* should be used.
  237.  
  238. Short file names should be used in exclusion files.
  239.  
  240. Files specified before the first [Partition: x] heading will be used to match files
  241. in any directory.
  242.  
  243. A directory of * matches any subdirectory, regardless of nesting. The above exclusion
  244. file will match any file with an extension of .1 in any subdirectory on the second
  245. partition. Apart from this, wildcards should be used for files, not for directories.
  246.  
  247. --------------------