Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand GHOST parameters and commands

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article focuses on "how to understand GHOST parameters and commands". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to understand GHOST parameters and commands.

GHOST parameter, command operation guide ghost all 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, preferably as follows: 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 pdump and pload that we use most often are related to partitions. The src in the syntax is the source for the operation, which can be a disk, partition, or mirror file. Similarly, dst is the target, and it can also be a disk, partition, or mirror file, depending on what you do:) size is rarely used, it is used to partition at the same time in the operation from image to disk, the value can be the exact number M, or the percentage P, suppose you have an 8G hard disk, size1=4096M,size2=4096M means to adjust the hard disk to two 4G partitions The function of size1=50P,size2=50P is the same, where the number before P represents the percentage of hard disk. In addition, there are three commonly used parameters:-sure auto-reply is yes, no prompt appears. -restart automatically after the completion of the rb operation-zn where n is replaced by a number, which represents the compression ratio. If 1 is taken, it is directly transferred to GHO and is not compressed. 9 is the maximum compression, for example: G:\ ghost\ ghost03.exe-clone,mode=pdump,src=1:2,dst=g:\ backup\ winxp.gho-Z7-sure-rb g:\ ghost\ ghost03.exe-clone,mode=pload,src=g:\ backup\ winxp.gh2,dst=1:2-sure-rb these two operations are to image and restore the image of the windowsXP on disk D. The ghost03.exe program under the ghost directory of G disk is called. The image is stored under g:\ backup, and 1:2 of the two commands means the second partition of the first hard disk. -Z7 represents the No. 7 compression ratio. It will restart automatically after the operation is completed. Notice that the gho of the restore command is followed by a: 1, because the GHO file can be made into multiple partitions, and a colon followed by a number indicates which partition to restore. If there is only one partition information in a GHO file, use 1. The following is a list of the parameters of ghost that I know:-z compress the contents of the disk or partition when you save them to the image file. -z or-Z1 is low compression ratio (fast);-Z2 is high compression ratio (medium speed);-Z3 to-Z9 compression ratio increases in turn (slow down in turn)-rb restarts automatically after this operation-fx automatically returns to the DOS prompt when exiting at the end of this Ghost operation, and be careful not to conflict with-rb. -sure will answer "Yes" to all prompts or warnings for confirmation. This parameter is dangerous and is only recommended for advanced users. -fro if the source partition finds a bad cluster, skip the prompt to force a copy. This parameter can be used to try to save the data in the bad track of the hard disk. @ filename specifies the txt file in filename. The txt file is an additional parameter to Ghost, which is not subject to the limit of 150 characters on the DOS command line. -F32 copies the source FAT16 partition and converts it to FAT32 (provided that the destination partition is not less than 2G). Users of WinNT 4, Windows95 and 97 use it with caution. -bootcd this option makes the CD bootable when backing up files directly to the CD. This process needs to be put into the boot disk. -fatlimit limits the FAT16 partition of NT to 2G. This parameter is useful when copying Windows NT partitions and you do not want to use the FAT16 of the 64k/ cluster. -span volume splitting parameters. Prompt to copy to another backup package to another partition when there is insufficient space. -auto is automatically assigned a file name to continue execution without being prompted for a volume copy. -crcignore ignores CRC ERROR in the backup package. Do not use this parameter unless you need to rescue the data in the backup package in case of data errors. -ia all images. Ghost backs up all the partitions on the hard drive one by one. -ial all images, similar to the-ia parameter, to back up the Linux partition one by one. -id all images. Similar to the-ia parameter, but contains boot information for the partition. -status updates and user intervention are prohibited during quiet operations. -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 divides the backup package into multiple volumes, each with a size of x megabytes. This feature is very useful for copying large backup packages to mobile storage devices, such as copying a 1.9g backup package to three recording disks

At this point, I believe you have a deeper understanding of "how to understand GHOST parameters and commands". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report