Ghost-v11命令行参数说明-中英文.pdf





《Ghost-v11命令行参数说明-中英文.pdf》由会员分享,可在线阅读,更多相关《Ghost-v11命令行参数说明-中英文.pdf(56页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Symantec Ghost v11.0.0.1502 命令行转换参数说明 Top GhostGhost 最新版命令行转换参数最新版命令行转换参数-中英文说中英文说明明 游元辉 2007 年 2 月 6 日于山西太原 转载时请注明出处,如有翻译错误请指正!Email: 关于 Symantec Ghost 转换参数 Symantec Ghost can be run in the following ways:Symantec Ghost 可以用下列方式运行:Interactively with no command-line switches 不带命令行转换参数的交互式运行 Interacti
2、vely with selected switches 带选定转换参数的交互式运行 Automated in batch files(batch mode)以批处理文件自动运行(批处理模式)The Symantec Ghost command-line switches are used to alter Symantec Ghost behavior and automate procedures.Symantec Ghost 命令行转换参数常用于更改 Symantec Ghost 的默认状态和自动处理过程。A hyphen(-)or a slash(/)must precede all s
3、witches except filename.Switches are not case sensitive.除filename 外的所有转换参数都必须以连字符(-)或正斜杠(/)开头。转换参数不区分大小写,既可以大定,也可以小写,还可以大小写混合。If you are adding switches from the Advanced Options dialog box,some of the switches,for example the-clone switch,are not applicable to your task.Because you are already perf
4、orming a backup,restore,or clone operation,the-clone switch is redundant.如果从“高级选项”对话框添加转换参数,则某些转换参数(如-clone 转换参数)可能不适合您的任务。因为您已经执行了备份、还原或克隆操作,所以-clone转换参数是多余的。filename filename specifies a file that contains additional command-line switches that Symantec Ghost should read.Filename indicates the path
5、 and file name of the command-line switch file.The command-line switch file can include any Symantec Ghost command-line switch.The Symantec Ghost command-line switch file must be a text file with each switch on a separate line.This lets you exceed the DOS command-line limit of 150 characters.指定一个包含
6、Symantec Ghost 能够读取的附加的命令行转换参数文件。文件名指出了命令行转换参数文件的路径和名称。命令行转换参数文件可以包含任何Symantec Ghost 命令行转换参数。Symantec Ghost 命令行转换参数文件必须是文本文件即后缀名为.txt 的文件,而且每个转换命令独占一行。此特性不必受 DOS 命令行长度不超过 150 个字符的限制。例如,对于下列命令行:ghost.exe ghswitch.txt 文件 Ghswitch.txt 将读作:-clone,mode=pcreate,src=1:2,dst=g:part2.gho-fcr-sure-afile=filen
7、ame Replaces the default abort error log file name,Ghosterr.txt,with the directory and file given in filename.用指定目录和名称的文件替代默认的终止错误日志文件(Ghosterr.txt)。-align=chs-align=1mb Lets you override the way in which the partitions are aligned when an individual partition or disk full of partitions is restored.
8、This switch aligns the partition to the boundary as follows:当单个分区或整个磁盘分区还原时忽略分区对齐方式。该转换参数以下列方式对齐分区边界:CHS:Aligns to a track or cylinder boundary 对齐到磁道或柱面边界 1MB:Aligns with a boundary of 1 MB 边界 1MB 处对齐 By default,a partition is aligned on the destination computer as it was on the source computer.Note
9、:The 1MB alignment option supports Windows Vista.默认情况下,在目标计算机上的分区对齐跟源计算机上一致。注意:1MB 对齐选项支持 Windows Vista。-auto Automatically names spanned image files during creation.Using this switch avoids the user prompt that asks for confirmation of the next destination location for the remainder of the image fi
10、le that is being restored.This switch is the default behavior for Symantec Ghost.在创建时自动命名跨越式或分卷映像文件。此参数可避免显示确认映像文件剩余部分所在位置的提示。此转换参数是 Symantec Ghost 的默认状态。-batch Batch mode switch.Prevents abort messages from waiting for user acknowledgment and removes user interaction prompts.The return value of Gho
11、st.exe must be checked to identify whether the operation was successful.Symantec Ghost returns 0 on success and 1 or higher on failure or error.批处理模式转换参数。防止终止信息等待用户确认,并删除了用户交互提示。必须检查 Ghost.exe 的返回值以确定操作是否已成功完成。Symantec Ghost 返回 0表示成功,返回 1 或大于 1 的值表示失败或错误。-bfc Handles bad FAT clusters when writing to
12、 disk.If this switch is set and the target partition is FAT,Symantec Ghost checks for and works around bad sectors,and all free sectors are verified.This option may slow Symantec Ghost operation substantially.在写入磁盘时处理 FAT 的坏簇。设置此转换参数后,如果目标分区为 FAT,Symantec Ghost 就会检查并处理坏扇区以及验证所有空闲扇区。此选项可能会显著降低 Symant
13、ec Ghost 的运行速度。-blind Prevents any GUI display.The blind switch must be used with switches that do not require any user input,for example,the clone switch.Using this switch lets you execute Ghost operations on a computer with no video adapter.阻止任何图形用户界面显示。blind 转换参数用于不要求用户输入任何命令,例如 clone 命令。使用该转换参数允
14、许您在计算机上执行克隆操作时无需视频卡。-bootcd When writing an image directly to a CD/DVD writer,makes the CD/DVD bootable.You need a bootable floppy disk in drive A.If you use the-sure switch with-bootcd and a floppy disk is not in drive A,then a non-bootable CD/DVD is created.当直接向 CD/DVD 刻录机写入映像时,可使 CD/DVD 变为可启动光盘,在
15、驱动器 A中必须有可启动的软盘。如果将-sure 转换参数与-bootcd 一起使用且驱动器 A中没有启动软盘,则将创建非启动 CD/DVD。-buffersize=x Ghost creates an image file using a buffer of size x where x=number of KB.The default size of the buffer is automatically calculated by Symantec Ghost.The buffersize switch lets you override this size.You can set th
16、e buffer size value from 1 to 32.Ghost 使用大小为 x KB 的缓冲区创建映像文件。缓冲区的大小由 Symantec Ghost自动计算。buffersize 转换参数允许忽略大小。缓冲区大小设置为从 1 到 32 不等的值。-chkimg,filename Checks the integrity of the image file indicated by filename.检查指定映像文件的完整性。-clone Ghost.exe operation switch.This switch allows automation of Ghost.exe
17、operations and has a series of arguments that define the operation parameters.此转换参数使 Ghost.exe 的操作能够自动进行,并且包含了一系列定义操作转换参数的参数。它是实现 Ghost 无人备份或还原的核心参数。-详细说明 clone 转换参数用法 Some cloning switches for use in Ghost can be specified on the GhostCast Server.某些克隆转换参数只能用于指定的网络克隆服务。The syntax for the clone switc
18、h is:克隆转换参数的语法如下:-clone,MODE=operation,SRC=source,DST=destination,SZEsize,SZEsize.此参数行较为复杂,且各参数之间不能含有空格。其中:operation 为操作类型,SRC 指定了 ghost 运行时使用的源分区的位置模式及其意义。DST 指定运行 ghost 时使用的目标位置模式及其意义。source 为操作源,值可取:驱动器号,从 1 开始;或者为文件名,需要写绝对路径。destination为目标位置,值可取:驱动器号,从 1 开始;或者为文件名,需要写绝对路径;CDx,刻录机,x 表示刻录机的驱动器号,从
19、1 开始。定义克隆命令的类型 MODE defines the type of clone command.MODE 定义克隆命令的类型。The syntax is as follows:语法如下:MODE=copy|restore|create|pcopy|prestore|pcreate 表 A-1 Mode 命令 转换参数转换参数 操作操作 copy Disk-to-disk copy 磁盘到磁盘的复制 Restore Note:The load switch is replaced by the restore switch.The load switch is still fully
20、 functional and is interchangeable with restore.注意:load 转换参数已被 restore 转换参数替代。Load 转换参数仍完全有效,并且可以与 restore 转换参数互换。File-to-disk restore 文件到磁盘的还原 Create Note:The dump switch is replaced by the create switch.The dump switch is still fully Disk-to-file backup 磁盘到文件的备份 functional and is interchangeable w
21、ith create.注意:dump 转换参数已被 create 转换参数替代。dump 转换参数仍完全有效,并且可以与 create 转换参数互换。pcopy Partition-to-partition copy 分区到分区的复制 Prestore Note:The pload switch is replaced by the prestore switch.The pload switch is still fully functional and is interchangeable with prestore.注意:pload转换参数已被prestore转换参数替代。pload 转
22、换参数仍完全有效,并且可以与 prestore转换参数互换。File-to-partition restore 文件到分区的还原 pcreate Note:The pdump switch is replaced by the pcreate switch.The pdump switch is still fully functional and is interchangeable with pcreate.注意:pdump 转换参数已被 pcreate 转换参数替代。pdump 转换参数仍完全有效,并且可以与 pcreate转换参数互换。Partition-to-file backup(
23、allows multipartition Ghost backup selection)分区到文件的备份(这允许多分区Ghost 备份选择)。克隆组合选项 表 A-2 克隆操作 方式方式 源源 目标目标 copy disk 磁盘 disk 磁盘 restore file 文件 GhostCast Server 网络克隆服务 tape 磁带 CD-ROM disk 磁盘 USB 1.1 and 2.0 Mass Storage Device USB 1.1和 2.0 大容量存储设备 DVD FireWire hard disk 1394硬盘 create disk 磁盘 file 文件 Gho
24、stCast Server 网络克隆服务 tape 磁带 CD writer 刻录机 USB 1.1 and 2.0 Mass Storage Device USB 1.1和 2.0 大容量存储设备 DVD FireWire hard disk 1394硬盘 pcopy disk:partition 磁盘:分区 disk:partition 磁盘:分区 prestore file:partition 文件:分区 GhostCast Server(no partition specified)网络克隆服务(不指定分区)tape:partition 磁带:分区 CD:image:partition
25、 光驱:映像:分区 USB 1.1 and 2.0 Mass Storage Device USB 1.1和 2.0 大容量存储设备 FireWire hard disk 1394硬盘 disk:partition 磁盘:分区 pcreate disk:partition 磁盘:分区 partition:partition 分区:分区 You can specify more than one partition.可以指定多个分区。file 文件 GhostCast Server 网络克隆服务 tape 磁带 CD writer 刻录机 USB 1.1 and 2.0 Mass Storage
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Ghost v11 命令行 参数 说明 中英文

限制150内