Fully Automatic Partition Restoration - Application of Ghost Parameters
In general, you can use the functions in the graphical interface of Ghost to complete the system restoration. Sometimes we hope that the software can help us restore everything with just one key press without having to sit in front of the computer and always pay attention to whether there are dialog boxes that need confirmation. If you want to achieve this function, you need to understand the parameters of Ghost. We need to solve this problem in the DOS way. (Using parameters to realize part of the software's functions, which is the biggest feature of DOS) The following will use the example analysis method to illustrate how to use the parameters of Ghost to realize this function.
The following is the partition situation of my hard disk. (If you don't understand what a partition is, please don't use these parameters randomly, otherwise we won't be responsible for the consequences!!)
Number of hard disks: 1 (There may not be only one hard disk on the computer. If you have two or more hard disks, you need to pay attention to modifying the parameter values)
Partition situation: 4 partitions are divided.
1 primary partition
C drive: that is, the DOS partition;
Extended partition
Three logical partitions: D drive, E drive and F drive.
I. System Backup
First, we use the following parameter line to compress the contents of the C drive into an image file (*.gho). ghost.exe -clone,mode=pdump,src=1:1,dst=E:.gho -z9 -sure
Parameter explanation:
-clone,mode=pdump means using the clone partition mode (pcopy is disk to disk copy, pload is restoring the image file;
src=1:1 means cloning the first partition of the first physical hard disk, generally speaking, it is the C drive, that is, the system drive;
dst=E:.gho means that the partition is cloned into the image file pwin98.gho and saved to the E drive backup directory;
-z9 means using the highest compression form (-z9) for backup;
-sure means that in all dialog boxes that appear during the software operation, all take the OK value.
II. System Restoration
ghost.exe -clone,mode=pload,src=E:.gho:1,dst=1:1 -sure -rb
Parameter explanation:
src=E:.gho:1 means using the content of the first partition in the image file pwin98.gho saved in the back directory of the E drive; dst=1:1 means restoring to the first partition of the first physical hard disk;
-rb means that after the system restoration is completed, the system will automatically restart.
III. Explanation of Some Common Parameters
Properly using the parameters of Ghost, you can efficiently complete the work. The following parameters are some relatively common parameters. If you are interested, you may try to combine and test the effect.
1. -rb
Automatically REBOOT when this GHOST operation ends and exits. A very useful parameter. Especially when copying the system, you can leave with confidence.
2. -fx
Automatically return to the DOS prompt when this GHOST operation ends and exits (provided that you start GHOST in the form of a DOS command).
3. -sure
Answer "YES" to all prompts or warnings that require confirmation. This parameter is dangerous to a certain extent, use with caution!
4. -fro
If bad clusters are found in the source partition, skip the prompt and force the copy. This parameter can be used to try to save the data in the bad sectors of the hard disk.
5. -fnw
Prohibit writing operations on FAT partitions to prevent misoperations (this parameter is invalid for NTFS partitions).
6. -f32
Convert the source FAT16 partition to FAT32 after copying (provided that the target partition is not less than 2G). Since there are very few operating systems that support FAT32, this parameter should be used with caution unless you are copying 98 partitions.
7. -fatlimit
Limit the NT FAT16 partition to 2G. This parameter is very useful when copying a WINDOWS NT partition and not wanting to use FAT16 with 64K/cluster.
8. -span
Volume parameter. When there is not enough space, prompt to copy to another IMAGE FILE in another partition.
9. -auto
Automatically assign a file name to continue execution without prompting when copying in volumes.
If you want to know the latest reports on Ghost, you can query at the following websites:
Symantec official website: http://www.symantec.com
Norton Ghost introduction: http://www.symantec.com/sabu/ghost/index.html
In general, you can use the functions in the graphical interface of Ghost to complete the system restoration. Sometimes we hope that the software can help us restore everything with just one key press without having to sit in front of the computer and always pay attention to whether there are dialog boxes that need confirmation. If you want to achieve this function, you need to understand the parameters of Ghost. We need to solve this problem in the DOS way. (Using parameters to realize part of the software's functions, which is the biggest feature of DOS) The following will use the example analysis method to illustrate how to use the parameters of Ghost to realize this function.
The following is the partition situation of my hard disk. (If you don't understand what a partition is, please don't use these parameters randomly, otherwise we won't be responsible for the consequences!!)
Number of hard disks: 1 (There may not be only one hard disk on the computer. If you have two or more hard disks, you need to pay attention to modifying the parameter values)
Partition situation: 4 partitions are divided.
1 primary partition
C drive: that is, the DOS partition;
Extended partition
Three logical partitions: D drive, E drive and F drive.
I. System Backup
First, we use the following parameter line to compress the contents of the C drive into an image file (*.gho). ghost.exe -clone,mode=pdump,src=1:1,dst=E:.gho -z9 -sure
Parameter explanation:
-clone,mode=pdump means using the clone partition mode (pcopy is disk to disk copy, pload is restoring the image file;
src=1:1 means cloning the first partition of the first physical hard disk, generally speaking, it is the C drive, that is, the system drive;
dst=E:.gho means that the partition is cloned into the image file pwin98.gho and saved to the E drive backup directory;
-z9 means using the highest compression form (-z9) for backup;
-sure means that in all dialog boxes that appear during the software operation, all take the OK value.
II. System Restoration
ghost.exe -clone,mode=pload,src=E:.gho:1,dst=1:1 -sure -rb
Parameter explanation:
src=E:.gho:1 means using the content of the first partition in the image file pwin98.gho saved in the back directory of the E drive; dst=1:1 means restoring to the first partition of the first physical hard disk;
-rb means that after the system restoration is completed, the system will automatically restart.
III. Explanation of Some Common Parameters
Properly using the parameters of Ghost, you can efficiently complete the work. The following parameters are some relatively common parameters. If you are interested, you may try to combine and test the effect.
1. -rb
Automatically REBOOT when this GHOST operation ends and exits. A very useful parameter. Especially when copying the system, you can leave with confidence.
2. -fx
Automatically return to the DOS prompt when this GHOST operation ends and exits (provided that you start GHOST in the form of a DOS command).
3. -sure
Answer "YES" to all prompts or warnings that require confirmation. This parameter is dangerous to a certain extent, use with caution!
4. -fro
If bad clusters are found in the source partition, skip the prompt and force the copy. This parameter can be used to try to save the data in the bad sectors of the hard disk.
5. -fnw
Prohibit writing operations on FAT partitions to prevent misoperations (this parameter is invalid for NTFS partitions).
6. -f32
Convert the source FAT16 partition to FAT32 after copying (provided that the target partition is not less than 2G). Since there are very few operating systems that support FAT32, this parameter should be used with caution unless you are copying 98 partitions.
7. -fatlimit
Limit the NT FAT16 partition to 2G. This parameter is very useful when copying a WINDOWS NT partition and not wanting to use FAT16 with 64K/cluster.
8. -span
Volume parameter. When there is not enough space, prompt to copy to another IMAGE FILE in another partition.
9. -auto
Automatically assign a file name to continue execution without prompting when copying in volumes.
If you want to know the latest reports on Ghost, you can query at the following websites:
Symantec official website: http://www.symantec.com
Norton Ghost introduction: http://www.symantec.com/sabu/ghost/index.html
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos


