{"id":99,"date":"2004-07-30T08:52:53","date_gmt":"2004-07-30T13:52:53","guid":{"rendered":"http:\/\/192.168.33.66\/wp\/?p=99"},"modified":"2004-07-30T08:52:53","modified_gmt":"2004-07-30T13:52:53","slug":"99","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=99","title":{"rendered":""},"content":{"rendered":"<p><A HREF=\"\"><\/A><\/p>\n<p>These switches can be used with GHOST&#8217;s command line mode in order to<br \/>\nenhance the<br \/>\nautomation and diagnostic process.<\/p>\n<p>General Switches:<\/p>\n<p><!--more--><\/p>\n<p>These switches can be used with GHOST&#8217;s command line mode in order to<br \/>\nenhance the<br \/>\nautomation and diagnostic process.<\/p>\n<p>General Switches:<\/p>\n<p>@argument.fil | Command line arguments read from this file<br \/>\n@MCsessionname | Connect to Multicast &#8220;sessionname&#8221; (see Multicast<br \/>\ndocumentation)<br \/>\n@MTx  | Designates which tape device to use (0 through N)<br \/>\n-AFILE=path | Override default abort log file with &#8220;path&#8221;<br \/>\n-AUTONAME | Autonames spanned dump files<br \/>\n-BATCH  | Prevents Abort messages waiting for user acknowledgement<br \/>\n-BFC=x  | Specifies the maximum number of bad sectors before abort<br \/>\n-BLKSZE=x       | Sets the block size in &#8220;x&#8221; Kbytes for writing to image<br \/>\nfiles<br \/>\n-CRC32  | Extract and compare file lists from images (see addendum below)<br \/>\n-CRCIGNORE | Allows restoring of dump files that contain some corrupted<br \/>\nfiles<br \/>\n-DD  | Dump disk metrics to GHSTSTAT.DMP<br \/>\n-DFILE=path | Override default dump log file with &#8220;path&#8221; &#8211; (see -DD)<br \/>\n-DI  | Display diagnostics<br \/>\n-DL=x  | Specifies the highest slot for fixed disk detection<br \/>\n-DRB  | Disable image file read buffering<br \/>\n-DWB  | Disable image file write buffering<br \/>\n-E  | Overcomes EA DATA.SF problems<br \/>\n-FATLIMIT       | Prevents GHOST from resizing FAT partitions beyond 2Gb<br \/>\n-F12  | Allows resizing of Fat 12 partitions when the -CLONE switch is used<br \/>\n-F64  | Allow 64K cluster size when loading from old image files<br \/>\n-FDC  | Forces dongle check<br \/>\n-FFD  | Disable the use of the the BIOS IDE Fixed Disk Parameter Table<br \/>\n-FFF  | Force the use of the BIOS IDE Fixed Disk Parameter Table<br \/>\n-FFG  | Override the detection of attempts to write beyond disk&#8217;s capacity<br \/>\n-FINGER  | Displays Fingerprint information<br \/>\n-FRO  | Continue cloning even if source contains bad blocks<br \/>\n-FNF  | Turns off Fingerprint creation<br \/>\n-FNX  | Force disabling of Extended INT13 calls if present<br \/>\n-FX  | Exit program when finished cloning<br \/>\n-H  | Display help on switches<br \/>\n-INT41  | Use DOS drive table for determining drive geometry<br \/>\n-IA  | Image all &#8211; forces sector by sector copy<br \/>\n-JL:x=d:\\file | Create Multicast diagnostic file (see Multicast<br \/>\ndocumentation)<br \/>\n-JS=n           | Increase hops required to contact Multicast server<br \/>\n(default is 10)<br \/>\n-LPM  | Launch GHOST as LPT Master<br \/>\n-LPS  | Launch GHOST as LPT Slave<br \/>\n-MEMCHECK | Diagnostic memory dump for technical support issues<br \/>\n-NBM  | Launch GHOST as NetBIOS Master<br \/>\n-NBS  | Launch GHOST as NetBIOS Slave<br \/>\n-NOFILE  | Turns off dump file dialog box<br \/>\n-OR  | Override destination drive space limitations<br \/>\n-PWD            | Prompt for a password when creating an image file<br \/>\n-PWD=password   | Where &#8220;password&#8221; equals the image file&#8217;s password<br \/>\n-QUIET  | QUIET mode &#8211; no user intervention allowed or screen display<br \/>\n-RB  | In batch mode this forces automatic reboot after completion<br \/>\n-SKIP=filename  | Where &#8220;filename&#8221; is the file to skip during image creation<br \/>\n-SLEEP  | By popular demand &#8211; A switch to slow down GHOST&#8217;s execution<br \/>\n-SPAN  | Turn on spanning<br \/>\n-SPLIT=x | Split image file into &#8220;x&#8221; megabyte spans<br \/>\n-SURE  | Used in conjunction with -CLONE to avoid the final &#8216;Proceed&#8217;<br \/>\nquestion<br \/>\n-SZEx  | Controls partition sizes in batch mode (see GHOST documentation)<br \/>\n-TAPEBUFFERED   | Use on old DAT drives with unreliable tapes<br \/>\n-TAPESAFE       | Use on old DAT drives with unreliable tapes<br \/>\n-TAPESPEED=x    | Where &#8220;x&#8221; equals 0 &#8211; F. 0 is default, 1 &#8211; F increase<br \/>\nspeeds<br \/>\n-TAPEUNBUFFERED | Use on old DAT drives with unreliable tapes<br \/>\n-VDW  | Verifies disk writes<br \/>\n-VER  | Displays GHOST version number<br \/>\n-VFY  | Verifies writes to an image file<br \/>\n-WD-  | Turns off Disk Write caching<br \/>\n-WS-  | Turns off Disk Read caching<br \/>\n-XINT13ON | Force use of BIOS Extended INT13 system calls if present<br \/>\n-Z or -Z1 | Compress image file when dumping &#8211; low compression (fast)<br \/>\n-Z2  | Compress image file when dumping &#8211; high compression (slower)<br \/>\n-Z3 thru -Z9 | Compress image file when dumping &#8211; higher compression<br \/>\n(slowest)<\/p>\n<p>NTFS Specific Switches:<\/p>\n<p>-NTD  | Enable NTFS internal diagnostic checking<br \/>\n-NTC-  | Disable NTFS contiguous cluster run allocation<br \/>\n-NTN  | Inhibit CHKDSK on NTFS volume boot<br \/>\n-NTIL  | Ignore non-empty NTFS Log File check (Inconsistent volume)<br \/>\n-NTIC  | Ignore the NTFS volume CHKDSK bit<br \/>\n-NTX:x  | Set size of NTFS volume cache in &#8220;x&#8221; kilobytes. The default is<br \/>\n8000<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>Command Line Syntax:<\/p>\n<p>-CLONE,mode={COPY|LOAD|DUMP},src={drive|file},dst={drive|file}<br \/>\n-CLONE,mode={PCOPY|PLOAD|PDUMP},src={drive:partition|file:partition},<br \/>\ndst={drive:partition|file}<br \/>\n-CLONE,mode={COPY|LOAD|DUMP|PCOPY|PLOAD|PDUMP},src={drive|file},dst={drive|f<br \/>\nile},<br \/>\nszen={F|V|nnnnM|nnP},sze{F|L}<\/p>\n<p>GHOST command line arguments can be read from a file, using the syntax:<br \/>\nGHOST.EXE @argument.fil<br \/>\nArgument.fil can contain any command line argument, one per line, except<br \/>\nfor -AFILE=<br \/>\nand -DFILE=. This feature is a workaround for the MSDOS command line limit<br \/>\nof 150<br \/>\ncharacters.<\/p>\n<p>Some examples of batch cloning via GHOST&#8217;s command line syntax:<\/p>\n<p>ghost.exe -clone,mode=copy,src=1,dst=2 -sure<br \/>\n&#8211; COPIES drive one to drive two in local mode without final prompt.<\/p>\n<p>ghost.exe -nbm -clone,mode=dump,src=2,dst=c:drive2.img<br \/>\n&#8211; CONNECT via NetBIOS to a GHOST slave running on a remote PC and DUMP a<br \/>\ndisk image<br \/>\n  of local drive 2 to the remote file C:DRIVE2.IMG.<br \/>\n  Note that the slave GHOST can be started with: ghost.exe -nbs<\/p>\n<p>ghost.exe -clone,mode=load,src=e:savdsk.img,dst=1<br \/>\n&#8211; LOADS the disk image file SAVEDSK.IMG file held on the network partition<br \/>\n  E: onto drive 1 of the local PC.<\/p>\n<p>ghost.exe -clone,mode=pdump,src=1:2,dst=g:\\imgs\\part2.img<br \/>\n&#8211; DUMPS the second partition of drive 1 to an image file.<\/p>\n<p>ghost.exe -clone,mode=pload,src=g:\\imgs\\part2.img:2,dst=1:2<br \/>\n&#8211; LOADS partition 2 from an image file onto the second partition of local<br \/>\nhard drive 1.<\/p>\n<p>ghost.exe -clone,mode=pcopy,src=1:2,dst=2:1<br \/>\n&#8211; COPIES the second partition on drive one to the first parition on drive<br \/>\ntwo.<\/p>\n<p>ghost.exe -clone,mode=load,src=g:\\imgs\\2prtdisk.img,dst=2,sze1=60P,sze2=40P<br \/>\n&#8211; LOADS drive 2 from an image file and resizes the destination partitions<br \/>\ninto a<br \/>\n  60\/40 allocation.<\/p>\n<p>ghost.exe -clone,mode=load,src=e:\\imgs\\3prtdisk.img,dst=1,sze1=450M,sze2=159<br \/>\n9M,sze3=2047M<br \/>\n&#8211; LOADS drive 1 from an image file and resizes the first partition to 450<br \/>\nmegs, the<br \/>\n  second to 1599 megs and the third to 2047 megs.<\/p>\n<p>ghost.exe -clone,mode=copy,src=1,dst=2,sze1=F,sze2=V,sze3=V<br \/>\n&#8211; COPIES a three partition disk and keeps the first partition on the<br \/>\ndestination drive<br \/>\n  the same size as on the source disk, but divide up the remaining space<br \/>\nbetween the<br \/>\n  other partitions leaving no unallocated space.<\/p>\n<p>ghost.exe -clone,mode=load,src=g:\\imgs\\2prtdisk.img,dst=1,szeL<br \/>\n&#8211; LOADS a disk from an image file and resizes the last partition to its<br \/>\ncapacity.<br \/>\n  The first partition utilizes the remaining space.<\/p>\n<p>ghost.exe -clone,src=@MCrestore,dst=1<br \/>\n&#8211; Join Multicast session named &#8220;restore&#8221; and load image to disk 1.<\/p>\n<p>ghost.exe -clone,src=1,dst=@MCcreate<br \/>\n&#8211; Join Multicast session named &#8220;create&#8221; and dump image from disk 1.<\/p>\n<p>Please see the GHOST Manual for more detailed information on switches and<br \/>\ntheir usage.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>CRC32 Switch Usage Addendum:<\/p>\n<p>The -CRC32 switch allows making a list of the files on a disk or partition<br \/>\nor in a<br \/>\ndumpfile with CRC values for each, and to verify that list against the<br \/>\noriginal or a<br \/>\nclone. The purpose is to allow both quick listing of the contents of a<br \/>\ndumpfile and<br \/>\nverification that a GHOSTed disk contains the same files as the original.<br \/>\nCRC checking<br \/>\nworks file-by-file with FAT partitions. NTFS partitions are CRC checked<br \/>\nwithin a dump<br \/>\nfile by each MFT table. It is not possible at present to obtain a list of<br \/>\nfiles failing<br \/>\na CRC check with an NTFS file system. When a CRC file is created for an NTFS<br \/>\npartition,<br \/>\nonly a single CRC value is generated. You can also create a CRC file from a<br \/>\ndumpfile,<br \/>\nand verify against a disk.<\/p>\n<p>The full syntax for this switch is:<\/p>\n<p>-CRC32,action={create|verify|pcreate|pverify|dcreate|dverify},<br \/>\nsrc={{Disk Spec}|{Part<br \/>\nSpec}|{File}},{crcfile={File}|vlist={File}|vexcept={File}}<\/p>\n<p>(No spaces are allowed in the command line).<\/p>\n<p>crcfile={File} :: ASCII CRC file &#8211; default=ghost.crc<br \/>\nvlist={File}   :: Verification list file &#8211; default=ghost.ls<br \/>\nvexcept={File} :: Verification exception file &#8211; no default<\/p>\n<p>The possible actions are:<\/p>\n<p>Action          Description<br \/>\n&#8212;&#8212;          &#8212;&#8212;&#8212;&#8211;<br \/>\ncreate          Create an ASCII CRC file from a disk<br \/>\nverify          Verify a disk from a CRC file<br \/>\npcreate         Create an ASCII CRC file from a partition<br \/>\npverify         Verify a partition from an ASCII CRC file<br \/>\ndcreate         Create an ASCII CRC file from a dump file<br \/>\ndverify         Verify a dump file from an ASCII CRC file<\/p>\n<p>Some examples of -CRC32 in action:<\/p>\n<p>ghost -fcr<br \/>\n&#8211; CREATE a CRC file (called GHOST.CRC) while making a dumpfile.<\/p>\n<p>ghost -CRC32,action=create,src=1,crcfile=ghost.crc<br \/>\n&#8211; CREATE a list of files and CRC values for a disk.<\/p>\n<p>ghost -CRC32,action=dverify,src=x:dumpfile.gho,crcfile=ghost.crc<br \/>\n &#8211; VERIFY the list against a dumpfile.<\/p>\n<p>ghost -CRC32,action=create<br \/>\n&#8211; CREATE an ASCII CRC32 file from the primary hard drive. Note that the<br \/>\ndefault disk<br \/>\n  is the primary drive, the default ASCII CRC32 file is GHOST.CRC.<\/p>\n<p>ghost -CRC32,action=create,src=2,crcfile=myfile.txt<br \/>\n&#8211; CREATE an ASCII CRC32 file. Same as previous except you specify the disk<br \/>\nand ASCII<br \/>\n  CRC32 file. This example uses disk 2 as the source drive and the output<br \/>\nfile<br \/>\n  MYFILE.TXT.<\/p>\n<p>ghost -CRC32,action=verify<br \/>\n&#8211; VERIFY the contents of the primary drive against CRC32 file. Once again,<br \/>\nthe default<br \/>\n  disk is the primary drive and the default ASCII CRC32 file is GHOST.CRC<br \/>\n(in the<br \/>\n  current directory). In addition, the default verification list file is<br \/>\nGHOST.LS.<\/p>\n<p>ghost -CRC32,action=verify,src=1,crcfile=myfile.txt,vlist=myfile.out<br \/>\n&#8211; VERIFY the contents of the primary drive against CRC32 file. Same as<br \/>\nprevious, but<br \/>\n  specify the disk, CRC file and list file. This example uses disk 1 as the<br \/>\nsource<br \/>\n  drive, MYFILE.TXT as the ASCII CRC32 file and MYFILE.OUT as the<br \/>\nverification list<br \/>\n  file.<\/p>\n<p>ghost -CRC32,action=verify,src=1,crcfile=myfile.txt,vlist=myfile.out,vexcept<br \/>\n=myfile.exc<br \/>\n&#8211; VERIFY the contents of the primary drive against CRC32 file. Same as above<br \/>\nwith the<br \/>\n  inclusion of the EXCEPTION argument which exludes compared files based<br \/>\nupon its<br \/>\n  entries.<\/p>\n<p>The VEXCEPT argument specifies files which are not checked with CRC. This is<br \/>\nnormally<br \/>\nused to exclude files which are always changed on boot.<br \/>\nA sample exception text file is:<\/p>\n<p>[Ghost exclusion list]<br \/>\n\\PERSONAL\\PHONE<br \/>\n[Partition: 1]<br \/>\n\\WINDOWS\\COOKIES\\*.*<br \/>\n\\WINDOWS\\HISTORY\\*<br \/>\n\\WINDOWS\\RECENT\\*<br \/>\n\\WINDOWS\\USER.DAT<br \/>\n\\WINDOWS\\TEMPOR~1\\CACHE1\\*<br \/>\n\\WINDOWS\\TEMPOR~1\\CACHE2\\*<br \/>\n\\WINDOWS\\TEMPOR~1\\CACHE3\\*<br \/>\n\\WINDOWS\\TEMPOR~1\\CACHE4\\*<br \/>\n[Partition: 2]<br \/>\n*\\*.1<br \/>\n[End of list]<\/p>\n<p>The exclusion list is case sensitive; all files should be specified in upper<br \/>\ncase.<br \/>\nThe * wildcard follows Unix rules, it is more powerful than the MSDOS *. In<br \/>\nparticular,<br \/>\nit matches the . as well as any other character, but other characters can<br \/>\nfollow the *.<br \/>\nThus a wildcard of *br* will match any files containing the letters &#8220;br&#8221;,<br \/>\ne.g.<br \/>\nbrxyz.txt, abr.txt, abc.dbr.<\/p>\n<p>The specification of \\WINDOWS\\COOKIES\\*.* above means &#8220;match all files in<br \/>\nthe<br \/>\nsubdirectory \\WINDOWS\\COOKIES which have an extension. To match all files<br \/>\nwith or<br \/>\nwithout an extension, \\WINDOWS\\COOKIES\\* should be used.<\/p>\n<p>Short file names should be used in exclusion files.<\/p>\n<p>Files specified before the first [Partition: x] heading will be used to<br \/>\nmatch files<br \/>\nin any directory.<\/p>\n<p>A directory of * matches any subdirectory, regardless of nesting. The above<br \/>\nexclusion<br \/>\nfile will match any file with an extension of .1 in any subdirectory on the<br \/>\nsecond<br \/>\npartition. Apart from this, wildcards should be used for files, not for<br \/>\ndirectories.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These switches can be used with GHOST&#8217;s command line mode in order to enhance the automation and diagnostic process. General Switches:<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":0,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}