Clone switch usage
171
Table | Clone switch usage examples | |
|
|
|
Switch |
| Function |
|
| |
ghost.exe | Copies the second partition of local | |
1:2,dst=2:1 |
| disk one to the first partition of local |
|
| disk two, without the final warning |
|
| prompt. |
|
| |
ghost.exe | Restores the disk image file | |
Savedsk.gho that is held on the server | ||
|
| drive that is mapped locally to drive E |
|
| onto local disk one. Performed |
|
| without the final warning prompt. |
|
| This example is typical of a command |
|
| line included in a batch file to |
|
| automate workstation installations |
|
| from a network file server. |
|
|
|
ghost.exe |
| Saves the second partition of disk one |
mode=pcreate,src=1:2,dst=g:\part2.gho | to an image file on mapped network | |
|
| drive G. |
|
|
|
ghost |
| Restores partition two from a two- |
mode=prestore,src=g:\part2.gho:2,dst=1:2 | partition image file on mapped drive | |
|
| G onto the second partition of the |
|
| local disk. |
|
| |
ghost.exe | Restores disk two from an image file | |
g:\2prtdisk.gho,dst=2sze1=60P,sze2=40P | and resizes the destination partitions | |
|
| into a 60:40 allocation. |
|
| |
ghost.exe | Clones a | |
1,dst=2,sze2=F |
| the second partition on the |
|
| destination disk the same size as on |
|
| the source disk, and lets the first |
|
| partition use the remaining space, |
|
| leaving no unallocated space. |
|
|
|
ghost.exe |
| Saves disk one to the image file |
mode=create,src=1,dst=2:3\image.gho | image.gho located on the third | |
|
| partition of the second disk. |
|
| This works only if the third partition |
|
| of the second disk is NTFS file system. |
|
|
|