Ghost parameter and command operation guide

Source: Internet
Author: User

Ghost parameters and command operation guide all ghost command operations are based on the-clone parameter as the core. Its syntax is-clone, mode = (operation), src = (source ), DST = (destination), [Sze (size), Sze (size) ......] where mode is the operation type, you can choose to: Copy: disk to disk; load: file to disk; dump: disk to file; pcopy: partition to partition; pload: file to partition; pdump: partition to file -- the most common ones are about partition pdump and pload. In the syntax, SRC is the source of operation, which can be a disk, partition, or image file. Likewise, DST is the target and can also be a disk, partition, or image file. It depends on what kind of operation you have done. :) size is rarely used, it is used to partition data from the image to the disk at the same time. The value can be an exact number M or a percentage p. Suppose there is an 8G hard disk, size1 = 4096 m, size2 = 4096m refers to adjusting the hard disk to two 4G partitions; size1 = 50 p, size2 = 50p play the same role, where the number before P represents the percentage of the hard disk. In addition, there are generally three commonly used parameters:-Sure automatically responds to yes and no prompt is displayed. -After the RB operation is complete, the system automatically restarts. in Zn, N must be replaced with a number, indicating the compression ratio. For example, if 1 is used, it is directly converted to gho without compression. 9 is the maximum compression. For example: g: \ ghost \ ghost03.exe-clone, mode = pdump, src =, DST = G: \ backup \ WINXP. gho-z7-Sure-rb g: \ ghost \ ghost03.exe-clone, mode = pload, src = G: \ backup \ WINXP. GH1, DST =-Sure-Rb perform image mirroring and image restoration operations for Windows XP of drive d respectively. The ghost03.exe file in the ghostdirectory is used. Program . The image is stored in G: \ backup. In the two commands indicates the second partition of the first hard disk. -Z7 indicates the 7-digit compression ratio. After the operation is completed, the system automatically restarts. Note that the recovery command is followed by the gho: 1, because the gho file can be made into multiple partitions, And the number followed by the colon indicates which partition to restore. If a gho file contains only one partition, 1 is used. The following lists all the ghost parameters I know:-Z compresses the content on the disk or partition when it is saved to the image file. -Z or-z1 is low compression rate (FAST);-Z2 is high compression rate (medium speed);-Z3 to-Z9 increase the compression rate in turn (slow speed) -Rb is automatically restarted after this operation-Fx is automatically returned to the DOS prompt when the ghost operation ends and exits. do not conflict with-Rb. -Sure answers "yes" to all prompts or warnings requiring confirmation ". This parameter is dangerous. It is recommended only for advanced users. -Fro indicates forced copy if a bad cluster is found in the source partition. This parameter can be used to try to save data in Bad Sectors of the hard disk. @ Filename: Specify the TXT file in filename. The TXT file is an additional parameter of the ghost, which is not limited by the 150 characters of the doscommand line. -F32 copies the source fat16 partition and converts it to FAT32 (provided that the target partition is not less than 2 GB ). Use winnt 4, Windows 95, and 97 with caution. -When you back up a file directly to the CD, this option can make the CD boot. In this process, you need to put the boot disk. -Fatlimit: Limit the fat16 partition of NT to 2 GB. This parameter is useful when copying Windows NT partitions without the 64 K/cluster fat16. -Span volume splitting parameter. When the space is insufficient, the system prompts to copy to another backup package in another partition. -When auto volume copy is performed, a file name is automatically assigned to continue execution without prompting. -Crcignore ignores the CRC error in the backup package. Do not use this parameter unless you need to rescue the data in the backup package to prevent data errors. -Ia: All images. Ghost backs up all the partitions on the hard disk one by one. -All Linux images are backed up one by one, similar to the-Ia parameter. -ID: All images. Similar to the-Ia parameter, but it contains the Partition Boot information. -Update Status and user intervention are prohibited during the quiet operation. -Script can execute multiple ghost command lines. The command line is stored in the specified file. -Span enables the cross-volume feature of image files. -Split = x: the backup package is divided into multiple volumes. The size of each volume is x mb. This function is very useful for copying large backup packages to mobile storage devices. For example, you can copy a GB backup package to three recording disks.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.