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