diff options
author | Frans Pop <elendil@planet.nl> | 2006-11-04 17:29:15 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2006-11-04 17:29:15 +0000 |
commit | c9370baa3c260ca72e5b1f8264a8107af2d40bd2 (patch) | |
tree | ebc117a6306e9ed79220225e0a7a2c6a9604c0bc /po/zh_CN/preseed.po | |
parent | 227eaa2e27a9bcdab9eca6c4bf9fdb4891e5b23d (diff) | |
download | installation-guide-c9370baa3c260ca72e5b1f8264a8107af2d40bd2.zip |
Update of POT and PO files for the manual
Diffstat (limited to 'po/zh_CN/preseed.po')
-rw-r--r-- | po/zh_CN/preseed.po | 979 |
1 files changed, 648 insertions, 331 deletions
diff --git a/po/zh_CN/preseed.po b/po/zh_CN/preseed.po index 84f2018ae..04d65cd93 100644 --- a/po/zh_CN/preseed.po +++ b/po/zh_CN/preseed.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: d-i-manual\n" "Report-Msgid-Bugs-To: debian-boot@lists.debian.org\n" -"POT-Creation-Date: 2006-10-29 14:48+0000\n" +"POT-Creation-Date: 2006-11-04 17:26+0000\n" "PO-Revision-Date: 2006-10-31 21:48+0800\n" "Last-Translator: Ji YongGang <jungle@soforge.com>\n" "Language-Team: debian-chinese-gb <debian-chinese-gb@debian.org>\n" @@ -19,14 +19,14 @@ msgstr "使用预置自动进行安装" #. Tag: para #: preseed.xml:18 -#, no-c-format +#, fuzzy, no-c-format msgid "" -"This appendix explains the intricacies of preseeding answers to questions in " -"&d-i; to automate your installation." +"This appendix explains how to preseed answers to questions in &d-i; to " +"automate your installation." msgstr "本附录对 &d-i; 中提问对应的答案进行说明,让安装过程自动化。" #. Tag: para -#: preseed.xml:23 preseed.xml:508 +#: preseed.xml:23 preseed.xml:604 #, no-c-format msgid "" "The configuration fragments used in this appendix are also available as an " @@ -60,16 +60,13 @@ msgstr "预置方法" #. Tag: para #: preseed.xml:44 -#, no-c-format +#, fuzzy, no-c-format msgid "" "There are three methods that can be used for preseeding: <firstterm>initrd</" "firstterm>, <firstterm>file</firstterm> and <firstterm>network</firstterm>. " "Initrd preseeding will work with any installation method and supports " "preseeding of more things, but it requires the most preparation. File and " -"network preseeding each can be used with different installation methods. " -"With file and network preseeding the first few installer questions cannot be " -"preseeded because the preconfiguration file is only loaded after they have " -"been asked." +"network preseeding each can be used with different installation methods." msgstr "" "一共有三种方法可用于预置: <firstterm>initrd</firstterm>、<firstterm>file</" "firstterm> 和 <firstterm>network</firstterm>。initrd 方法可以用于任何一种安装" @@ -78,7 +75,7 @@ msgstr "" "过,这是因为只有回答了这些问题才能加载预先准备的配置文件。" #. Tag: para -#: preseed.xml:55 +#: preseed.xml:53 #, no-c-format msgid "" "The following table shows which preseeding methods can be used with which " @@ -86,83 +83,91 @@ msgid "" msgstr "下面的表格显示了各种安装方式可选择的预置方法。" #. Tag: entry -#: preseed.xml:64 +#: preseed.xml:62 #, no-c-format msgid "Installation method" msgstr "安装方式" #. Tag: entry -#: preseed.xml:64 +#: preseed.xml:62 #, no-c-format msgid "initrd" msgstr "initrd" #. Tag: entry -#: preseed.xml:65 +#: preseed.xml:63 preseed.xml:461 #, no-c-format msgid "file" msgstr "file" #. Tag: entry -#: preseed.xml:65 +#: preseed.xml:63 #, no-c-format msgid "network" msgstr "network" #. Tag: entry -#: preseed.xml:71 +#: preseed.xml:69 #, no-c-format msgid "CD/DVD" msgstr "CD/DVD" #. Tag: entry -#: preseed.xml:72 preseed.xml:73 preseed.xml:77 preseed.xml:79 preseed.xml:82 -#: preseed.xml:83 preseed.xml:87 preseed.xml:88 preseed.xml:92 preseed.xml:94 -#: preseed.xml:97 preseed.xml:99 +#: preseed.xml:70 preseed.xml:71 preseed.xml:72 preseed.xml:82 preseed.xml:84 +#: preseed.xml:87 preseed.xml:88 preseed.xml:89 preseed.xml:92 preseed.xml:93 +#: preseed.xml:94 preseed.xml:97 preseed.xml:99 preseed.xml:102 +#: preseed.xml:104 #, no-c-format msgid "<entry>yes</entry>" msgstr "<entry>yes</entry>" -#. Tag: entry -#: preseed.xml:74 preseed.xml:78 preseed.xml:84 preseed.xml:89 preseed.xml:93 -#: preseed.xml:98 +#. Tag: para +#: preseed.xml:74 #, no-c-format -msgid "<entry>no</entry>" -msgstr "<entry>no</entry>" +msgid "" +"but only if you have network access, and set <literal>preseed/url</literal> " +"appropriately" +msgstr "" #. Tag: entry -#: preseed.xml:76 +#: preseed.xml:81 #, no-c-format msgid "netboot" msgstr "网络引导" #. Tag: entry -#: preseed.xml:81 +#: preseed.xml:83 preseed.xml:98 preseed.xml:103 +#, no-c-format +msgid "<entry>no</entry>" +msgstr "<entry>no</entry>" + +#. Tag: entry +#: preseed.xml:86 #, no-c-format msgid "" "hd-media <phrase condition=\"bootable-usb\">(including usb-stick)</phrase>" msgstr "硬盘 <phrase condition=\"bootable-usb\">(包括 U 盘)</phrase>" #. Tag: entry -#: preseed.xml:86 +#: preseed.xml:91 #, no-c-format msgid "floppy based (cd-drivers)" msgstr "基于软盘 (cd-drivers)" #. Tag: entry -#: preseed.xml:91 +#: preseed.xml:96 #, no-c-format msgid "floppy based (net-drivers)" msgstr "基于软盘 (net-drivers)" #. Tag: entry -#: preseed.xml:96 +#: preseed.xml:101 #, no-c-format msgid "generic/tape" msgstr "generic/tape" #. Tag: para -#: preseed.xml:105 +#: preseed.xml:110 #, no-c-format msgid "" "An important difference between the preseeding methods is the point at which " @@ -177,129 +182,67 @@ msgstr "" "CD 映像之后。对 network 方法,它在网络配置完毕之后。" #. Tag: para -#: preseed.xml:114 -#, no-c-format +#: preseed.xml:119 +#, fuzzy, no-c-format msgid "" -"In practical terms this means for file and network preseeding that the " -"questions about language, country and keyboard selection will already have " -"been asked. For network preseeding add to that any questions related to " -"network configuration. Some other questions that are only displayed at " -"medium or low priority (like the first hardware detection run) will also " -"already have been processed." +"Obviously, any questions that have been processed before the " +"preconfiguration file is loaded cannot be preseeded (this will include " +"questions that are only displayed at medium or low priority, like the first " +"hardware detection run). <xref linkend=\"preseed-bootparms\"/> offers a way " +"to avoid these questions being asked." msgstr "" -"操作时,这意味着 file 和 network 方法仍要询问语言、国家和键盘选择这些问题。对" -"于 network 方法,还有一些关于网络设置方面的问题。另有一些只出现在 medium 或 " -"low 优先级下的问题(就像首次硬件检测)已经处理过。" +"显而易见,在加载预置文件之前需要的过程都不能被预置。<xref linkend=\"preseed-" +"bootparms\"/> 提供了避免这些问题被询问的方法。" #. Tag: para -#: preseed.xml:123 +#: preseed.xml:127 #, no-c-format msgid "" -"Obviously, any questions that have been processed before the " -"preconfiguration file is loaded cannot be preseeded. <xref linkend=\"preseed-" -"bootparms\"/> offers a way to avoid these questions being asked." +"In order to avoid the questions that would normally appear before the " +"preseeding occurs, you can start the installer in <quote>auto</quote> mode. " +"This delays questions that would normally be asked too early for preseeding " +"(i.e. language, country and keyboard selection) until after the network " +"comes up, thus allowing them to be preseeded. It also runs the installation " +"in crtitical priority, which avoids many unimportant questions. See <xref " +"linkend=\"preseed-auto\"/> for details." msgstr "" -"显而易见,在加载预置文件之前需要的过程都不能被预置。<xref linkend=\"preseed-" -"bootparms\"/> 提供了避免这些问题被询问的方法。" #. Tag: title -#: preseed.xml:134 +#: preseed.xml:141 #, no-c-format msgid "Limitations" msgstr "限制" #. Tag: para -#: preseed.xml:135 +#: preseed.xml:142 #, no-c-format msgid "" "Although most questions used by &d-i; can be preseeded using this method, " "there are some notable exceptions. You must (re)partition an entire disk or " "use available free space on a disk; it is not possible to use existing " "partitions." -msgstr "虽然使用这种方法能预先设置 &d-i; 的绝大多数问答,但还是有明显的例外。您必须(重新)分区整个硬盘,或者使用磁盘上的剩余空间; 但无法使用已经存在的分区。" - -#. Tag: title -#: preseed.xml:207 -#, no-c-format -msgid "Running custom commands during the installation" -msgstr "安装过程中运行用户命令" - -#. Tag: para -#: preseed.xml:208 -#, no-c-format -msgid "" -"A very powerful and flexible option offered by the preconfiguration tools is " -"the ability to run commands or scripts at certain points in the " -"installation. See <xref linkend=\"preseed-shell\"/> for details." msgstr "" -"预置工具提供了一个非常强大和灵活的选项,可以在安装过程的一些点上运行命令或脚" -"本。请參考 <xref linkend=\"preseed-shell\"/> 了解详细情况。" - -#. Tag: para -#: preseed.xml:217 -#, no-c-format -msgid "" -"<userinput>preseed/early_command</userinput>: is run as soon as the " -"preconfiguration file has been loaded" -msgstr "<userinput>preseed/early_command</userinput>: 在预置文件加载的时候运行" - -#. Tag: para -#: preseed.xml:221 -#, no-c-format -msgid "" -"<userinput>preseed/late_command</userinput>: is run just before the reboot " -"at the end of the install, but before the <filename>/target</filename> " -"filesystem has been unmounted" -msgstr "" -"<userinput>preseed/late_command</userinput>: 在安装的第一阶段结束的时候,重新" -"启动之前运行,而且是在 <filename>/target</filename> 文件系统卸载之前" +"虽然使用这种方法能预先设置 &d-i; 的绝大多数问答,但还是有明显的例外。您必须" +"(重新)分区整个硬盘,或者使用磁盘上的剩余空间; 但无法使用已经存在的分区。" #. Tag: title -#: preseed.xml:231 -#, no-c-format -msgid "Using preseeding to change default values" -msgstr "使用预置修改默认值" - -#. Tag: para -#: preseed.xml:232 -#, no-c-format -msgid "" -"It is possible to use preseeding to change the default answer for a " -"question, but still have the question asked. To do this the <firstterm>seen</" -"firstterm> flag must be reset to <quote>false</quote> after setting the " -"value for a question." -msgstr "" -"使用预置也可以用来修改问题的默认答案,但仍会有问题提出。这样做时,在给问题设" -"定值以后,<firstterm>seen</firstterm> 旗标必须重置为 <quote>false</quote>。" - -#. Tag: screen -#: preseed.xml:241 -#, no-c-format -msgid "" -"d-i foo/bar string value\n" -"d-i foo/bar seen false" -msgstr "" -"d-i foo/bar string value\n" -"d-i foo/bar seen false" - -#. Tag: title -#: preseed.xml:247 +#: preseed.xml:216 #, no-c-format msgid "Using preseeding" msgstr "使用预置" #. Tag: para -#: preseed.xml:248 -#, no-c-format +#: preseed.xml:217 +#, fuzzy, no-c-format msgid "" -"Of course you will first need to create a preconfiguration file and place it " -"in the location from where you want to use it. Creating the preconfiguration " -"file is covered later in this appendix. Putting it in the correct location " -"is fairly straightforward for network preseeding or if you want to read the " +"You will first need to create a preconfiguration file and place it in the " +"location from where you want to use it. Creating the preconfiguration file " +"is covered later in this appendix. Putting it in the correct location is " +"fairly straightforward for network preseeding or if you want to read the " "file off a floppy or usb-stick. If you want to include the file on a CD or " "DVD, you will have to remaster the ISO image. How to get the " "preconfiguration file included in the initrd is outside the scope of this " -"document; please consult the developers documentation for &d-i;." +"document; please consult the developers' documentation for &d-i;." msgstr "" "毫无疑问,您首先要创建一个预置文件,并将它至于您希望使用的地方。创建预置文件" "在后面的附录中有说明。如果您打算使用网络预置或者从软盘或 U 盘读取,直接将它放" @@ -308,7 +251,7 @@ msgstr "" "debian-installer 的开发者文档。" #. Tag: para -#: preseed.xml:259 +#: preseed.xml:228 #, no-c-format msgid "" "An example preconfiguration file that you can use as basis for your own " @@ -319,13 +262,13 @@ msgstr "" "的基础。此文件基于本附录所列的配置文件片段。" #. Tag: title -#: preseed.xml:268 +#: preseed.xml:237 #, no-c-format msgid "Loading the preconfiguration file" msgstr "加载预置文件" #. Tag: para -#: preseed.xml:269 +#: preseed.xml:238 #, no-c-format msgid "" "If you are using initrd preseeding, you only have to make sure a file named " @@ -337,7 +280,7 @@ msgstr "" "文件包含在 initrd 的根目录里面。安装程序会自动检测并加载。" #. Tag: para -#: preseed.xml:276 +#: preseed.xml:245 #, no-c-format msgid "" "For the other preseeding methods you need to tell the installer what file to " @@ -351,7 +294,7 @@ msgstr "" "<filename>syslinux.cfg</filename>),并在内核的附加行后面添加参数。" #. Tag: para -#: preseed.xml:284 +#: preseed.xml:253 #, no-c-format msgid "" "If you do specify the preconfiguration file in the bootloader configuration, " @@ -364,7 +307,7 @@ msgstr "" "timeout 为 1。" #. Tag: para -#: preseed.xml:291 +#: preseed.xml:260 #, no-c-format msgid "" "To make sure the installer gets the right preconfiguration file, you can " @@ -376,7 +319,7 @@ msgstr "" "使用 md5sum,如果指定了,配置文件必须匹配,否则安装程序将拒绝使用它。" #. Tag: screen -#: preseed.xml:300 +#: preseed.xml:269 #, no-c-format msgid "" "Boot parameters to specify:\n" @@ -408,7 +351,7 @@ msgstr "" " preseed/file/checksum=5da499872becccfeda2c4872f9171c3d" #. Tag: para -#: preseed.xml:302 +#: preseed.xml:271 #, no-c-format msgid "" "Note that <filename>preseed/url</filename> can be shortened to just " @@ -419,25 +362,365 @@ msgstr "" "<filename>url</filename>,<filename>preseed/file</filename> 简写为 " "<filename>file</filename>。" +#. Tag: title +#: preseed.xml:281 +#, no-c-format +msgid "Using boot parameters to supplement preseeding" +msgstr "使用引导参数支持预置" + +#. Tag: para +#: preseed.xml:282 +#, fuzzy, no-c-format +msgid "" +"If a preconfiguration file cannot be used to preseed some steps, the install " +"can still be fully automated, since you can pass preseed values on the " +"command line when booting the installer. Just pass <userinput>path/to/" +"var=value</userinput> for any of the preseed variables listed in the " +"examples." +msgstr "" +"如果预置文件无法设置一些步骤,安装也可以完全自动进行,这是因为您可以在命令行" +"上为内核传递预置的值。只需按 <userinput>path/to/var=value</userinput> 形式传" +"递例子中的这些预置值。" + +#. Tag: para +#: preseed.xml:290 +#, fuzzy, no-c-format +msgid "" +"Note that some variables that are frequently set at the boot prompt have a " +"shorter alias. If an alias is available, it is used in the examples in this " +"appendix instead of the full variable. In particular, the <literal>preseed/" +"url</literal> variable has been aliased as <literal>url</literal> and has " +"some extra magic to allow shortened urls to be used." +msgstr "" +"注意,一些常用的引导参数变量有缩写形式。如果它们存在,在本附录里面将会替代全" +"称。" + +#. Tag: para +#: preseed.xml:299 +#, no-c-format +msgid "" +"A <quote>--</quote> in the boot options has special meaning. Kernel " +"parameters that appear after the last <quote>--</quote> may be copied into " +"the bootloader configuration for the installed system (if supported by the " +"installer for the bootloader). The installer will automatically filter out " +"any options (like preconfiguration options) that it recognizes." +msgstr "" + #. Tag: para #: preseed.xml:308 #, no-c-format msgid "" -"While you're at it, you may want to add a boot parameter " -"<userinput>priority=critical</userinput>. This will avoid most questions " -"even if the preseeding below misses some." +"Current linux kernels (2.6.9 and later) accept a maximum of 32 command line " +"options and 32 environment options, including any options added by default " +"for the installer. If these numbers are exceeded, the kernel will panic " +"(crash). (For earlier kernels, these numbers were lower.)" +msgstr "" +"当前的 linux 内核(2.6.9 和更新的),可以指定最多 32 个命令行选项和 32 个环境变" +"量选项,包括安装程序默认的选项。如果数目超出,内核将崩溃。(早期的内核,接受较" +"少的数目。)" + +#. Tag: para +#: preseed.xml:316 +#, no-c-format +msgid "" +"For most installations some of the default options in your bootloader " +"configuration file, like <literal>vga=normal</literal>, may be safely " +"removed which may allow you to add more options for preseeding." +msgstr "" +"大多数安装过程,在引导配置文件中一些默认的选项,比如 <literal>vga=normal</" +"literal>,可以放心地删除,这让您可以添加更多的预置选项。" + +#. Tag: para +#: preseed.xml:323 +#, no-c-format +msgid "" +"It may not always be possible to specify values with spaces for boot " +"parameters, even if you delimit them with quotes." +msgstr "引导参数中即使使用引号,也可能无法夹杂空格。" + +#. Tag: title +#: preseed.xml:332 +#, no-c-format +msgid "Auto mode" +msgstr "" + +#. Tag: para +#: preseed.xml:333 +#, no-c-format +msgid "" +"There are several features of Debian Installer that combine to allow fairly " +"simple command lines at the boot prompt to result in arbitrarily complex " +"customized automatic installs. To illustrate this, here are some examples " +"that can be used at the boot prompt: <informalexample><screen>\n" +"auto url=autoserver\n" +"</screen></informalexample> This relies on there being a DHCP server that " +"will get the machine to the point where <literal>autoserver</literal> can be " +"resolved by DNS, perhaps after adding the local domain if that was provided " +"by DHCP. If this was done at a site where the domain is <literal>example." +"com</literal>, and they have a reasonably sane DHCP setup, it would result " +"in the preseed file being retrieved from <literal>http://autoserver.example." +"com/d-i/etch/./preseed.cfg</literal>." +msgstr "" + +#. Tag: para +#: preseed.xml:350 +#, no-c-format +msgid "" +"The path segment of that comes from <literal>auto-install/defaultroot</" +"literal>, which includes the directory <literal>etch</literal> by default to " +"allow future versions to specify their own codename to let people migrate " +"forwards in a controlled manner. The <literal>/./</literal> bit is used to " +"indicate a root relative to which subsequent paths can be anchored (for use " +"in preseed/include and preseed/run). This allows files to be specified " +"either as full URLs, paths starting with / that are thus anchored, or even " +"paths relative to the location where the last preseed file was found. This " +"can be used to construct more portable scripts where an entire hierarchy of " +"scripts can be moved to a new location without breaking it, for example " +"copying the files onto a USB stick when they started out on a web server. In " +"this example, if the preseed file sets <literal>preseed/run</literal> to " +"<literal>/scripts/late_command.sh</literal> then the file will be fetched " +"from <literal>http://autoserver.example.com/d-i/etch/./scripts/late_command." +"sh</literal>." +msgstr "" + +#. Tag: para +#: preseed.xml:370 +#, no-c-format +msgid "" +"If there is no local DHCP or DNS infrastructure, or if you do not want to " +"use the default path to the preseed.cfg, you can still use an explicit url, " +"and if you don't use the <literal>/./</literal> element it will be anchored " +"to the start of the path (i.e. the third / in the URL). Here is an example " +"that requires minimal support from the local network infrastructure: " +"<informalexample><screen>\n" +"auto url=<replaceable>http://192.168.1.2/path/to/mypreseed.file</" +"replaceable>\n" +"</screen></informalexample> The way this works is that:" +msgstr "" + +#. Tag: para +#: preseed.xml:383 +#, no-c-format +msgid "if the URL is missing a protocol, http is assumed," +msgstr "" + +#. Tag: para +#: preseed.xml:386 +#, no-c-format +msgid "" +"if the hostname section contains no periods, it has the domain derived from " +"DHCP appended to it, and" +msgstr "" + +#. Tag: para +#: preseed.xml:390 +#, no-c-format +msgid "" +"if there's no <literal>/</literal>'s after the hostname, then the default " +"path is added." +msgstr "" + +#. Tag: para +#: preseed.xml:396 +#, no-c-format +msgid "" +"In addition to specifying the url, you can also specify settings that do not " +"directly affect the behavior of &d-i; itself, but can be passed through to " +"any scripts that might be specified <literal>preseed/run</literal> settings " +"in the loaded preseed file. At present, the only example of this is " +"<literal>auto-install/classes</literal>, which has an alias " +"<literal>classes</literal>. This can be used thus: " +"<informalexample><screen>\n" +"auto url=<replaceable>example.com</replaceable> classes=<replaceable>class_A;" +"class_B</replaceable>\n" +"</screen></informalexample> The classes could for example denote the type of " +"system to be installed, or the localization to be used." +msgstr "" + +#. Tag: para +#: preseed.xml:410 +#, no-c-format +msgid "" +"It is of course possible to extend this concept, and if you do, it is " +"reasonable to use the auto-install namespace for this. So one might have " +"something like <literal>auto-install/style</literal> which is then used in " +"your scripts. If you feel the need to do this, please mention it on the " +"<email>debian-boot@lists.debian.org</email> mailing list so that we can " +"avoid namespace conflicts, and perhaps add an alias for the parameter for " +"you." +msgstr "" + +#. Tag: para +#: preseed.xml:420 +#, no-c-format +msgid "" +"The <literal>auto</literal> boot label is not yet defined on all " +"architectures. The same effect may be achieved by simply adding the two " +"parameters <literal>auto=true priority=critical</literal> to the kernel " +"command line. The <literal>auto</literal> parameter is an alias for " +"<literal>auto-install/enabled</literal> and controls the delay of the locale " +"and keyboard questions until after there has been a chance to preseed them, " +"while <literal>priority</literal> is an alias for <literal>preseed/priority</" +"literal> and setting it to <literal>critical</literal> stops any questions " +"with a lower priority from being asked." +msgstr "" + +#. Tag: para +#: preseed.xml:433 +#, no-c-format +msgid "" +"Additional options that may be of interest while attempting to automate an " +"install while using DHCP are: <literal>interface=auto netcfg/" +"dhcp_timeout=60</literal> which makes the machine choose the first viable " +"NIC and be more patient about getting a reply to its DHCP query." msgstr "" -"编辑的时候,您也许需要添加一个引导参数 <userinput>priority=critical</" -"userinput>。它会避免过多的问题,即使下面的预置漏了一些。" #. Tag: title -#: preseed.xml:318 +#: preseed.xml:445 +#, no-c-format +msgid "Aliases useful with preseeding" +msgstr "" + +#. Tag: para +#: preseed.xml:446 +#, no-c-format +msgid "The following aliases can be useful when using (auto mode) preseeding." +msgstr "" + +#. Tag: entry +#: preseed.xml:456 +#, fuzzy, no-c-format +msgid "auto" +msgstr "便携机" + +#. Tag: entry +#: preseed.xml:456 +#, no-c-format +msgid "auto-install/enabled" +msgstr "" + +#. Tag: entry +#: preseed.xml:457 +#, no-c-format +msgid "classes" +msgstr "" + +#. Tag: entry +#: preseed.xml:457 +#, no-c-format +msgid "auto-install/classes" +msgstr "" + +#. Tag: entry +#: preseed.xml:458 +#, fuzzy, no-c-format +msgid "<entry>fb</entry>" +msgstr "<entry>no</entry>" + +#. Tag: entry +#: preseed.xml:458 +#, no-c-format +msgid "debian-installer/framebuffer" +msgstr "" + +#. Tag: entry +#: preseed.xml:459 +#, no-c-format +msgid "locale" +msgstr "" + +#. Tag: entry +#: preseed.xml:459 +#, no-c-format +msgid "debian-installer/locale" +msgstr "" + +#. Tag: entry +#: preseed.xml:460 +#, no-c-format +msgid "priority" +msgstr "" + +#. Tag: entry +#: preseed.xml:460 +#, no-c-format +msgid "debconf/priority" +msgstr "" + +#. Tag: entry +#: preseed.xml:461 +#, no-c-format +msgid "preseed/file" +msgstr "" + +#. Tag: entry +#: preseed.xml:462 +#, fuzzy, no-c-format +msgid "<entry>url</entry>" +msgstr "<entry>no</entry>" + +#. Tag: entry +#: preseed.xml:462 +#, no-c-format +msgid "preseed/url" +msgstr "" + +#. Tag: entry +#: preseed.xml:463 +#, no-c-format +msgid "hostname " +msgstr "" + +#. Tag: entry +#: preseed.xml:463 +#, no-c-format +msgid "netcfg/get_hostname" +msgstr "" + +#. Tag: entry +#: preseed.xml:464 +#, no-c-format +msgid "domain" +msgstr "" + +#. Tag: entry +#: preseed.xml:464 +#, no-c-format +msgid "netcfg/get_domain" +msgstr "" + +#. Tag: entry +#: preseed.xml:465 +#, no-c-format +msgid "interface" +msgstr "" + +#. Tag: entry +#: preseed.xml:465 +#, no-c-format +msgid "netcfg/choose_interface" +msgstr "" + +#. Tag: entry +#: preseed.xml:466 +#, no-c-format +msgid "suite" +msgstr "" + +#. Tag: entry +#: preseed.xml:466 +#, no-c-format +msgid "mirror/suite" +msgstr "" + +#. Tag: title +#: preseed.xml:473 #, no-c-format msgid "Using a DHCP server to specify preconfiguration files" msgstr "使用 DHCP 服务器指定预置文件" #. Tag: para -#: preseed.xml:319 +#: preseed.xml:474 #, no-c-format msgid "" "It's also possible to use DHCP to specify a preconfiguration file to " @@ -454,7 +737,7 @@ msgstr "" "器第 3 版(Debian 里面是 dhcp3-server 软件包)。" #. Tag: screen -#: preseed.xml:330 +#: preseed.xml:485 #, no-c-format msgid "" "if substring (option vendor-class-identifier, 0, 3) = \"d-i\" {\n" @@ -466,7 +749,7 @@ msgstr "" "}" #. Tag: para -#: preseed.xml:332 +#: preseed.xml:487 #, no-c-format msgid "" "Note that the above example limits this filename to DHCP clients that " @@ -479,7 +762,7 @@ msgstr "" "段,以避免预置网络中的其他安装。" #. Tag: para -#: preseed.xml:339 +#: preseed.xml:494 #, no-c-format msgid "" "A good way to use the DHCP preseeding is to only preseed values specific to " @@ -493,103 +776,13 @@ msgstr "" "行。使用 DHCP 预置进行完整的 Debian 自动安装应该特别小心。" #. Tag: title -#: preseed.xml:351 -#, no-c-format -msgid "Using boot parameters to supplement preseeding" -msgstr "使用引导参数支持预置" - -#. Tag: para -#: preseed.xml:352 -#, no-c-format -msgid "" -"Some parts of the installation process cannot be automated using some forms " -"of preseeding because the questions are asked before the preconfiguration " -"file is loaded. For example, if the preconfiguration file is downloaded over " -"the network, the network setup must be done first. One reason to use initrd " -"preseeding is that it allows preseeding of even these early steps of the " -"installation process." -msgstr "" -"有些形式的预置,安装过程的一些部分无法自动进行,因为这些问题是在预置文件加载" -"之前询问的。例如,如果预置文件从网络下载,首先应完成网络设置。采用 initrd 预" -"置的一个原因,正是它可以设置安装过程的这些前期步骤。" - -#. Tag: para -#: preseed.xml:361 -#, no-c-format -msgid "" -"If a preconfiguration file cannot be used to preseed some steps, the install " -"can still be fully automated, since you can pass preseed values to the " -"kernel on the command line. Just pass <userinput>path/to/var=value</" -"userinput> for any of the preseed variables listed in the examples." -msgstr "" -"如果预置文件无法设置一些步骤,安装也可以完全自动进行,这是因为您可以在命令行" -"上为内核传递预置的值。只需按 <userinput>path/to/var=value</userinput> 形式传" -"递例子中的这些预置值。" - -#. Tag: para -#: preseed.xml:368 -#, no-c-format -msgid "" -"Note that some variables that are frequently set at the boot prompt have a " -"shorter alias. If an alias is available, it is used in the examples in this " -"appendix instead of the full variable." -msgstr "" -"注意,一些常用的引导参数变量有缩写形式。如果它们存在,在本附录里面将会替代全" -"称。" - -#. Tag: para -#: preseed.xml:374 -#, no-c-format -msgid "" -"A <quote>--</quote> in the boot options has special meaning. Kernel " -"parameters that appear after the last <quote>--</quote> will be copied into " -"the installed bootloader configuration (if supported by the installer for " -"the bootloader). Note that the <quote>--</quote> may already be present in " -"the default boot parameters, which means that unless you add another " -"<quote>--</quote> all parameters specified at the boot prompt will be " -"copied. That being the case, you should specify any preconfiguration options " -"before any options required by the hardware in order to boot, and separate " -"them with a <quote>--</quote> to ensure that only the latter are copied onto " -"the target system." -msgstr "<quote>--</quote> 在启动选项中有特殊含义。最后一个 <quote>--</quote> 后面出现的内核参数将被复制到已安装的 bootloader 设置(假如安装程序支持 bootloader)。注意,<quote>--</quote> 也可能已经存在于默认的引导参数中,这意味着除非您添加另外一个 <quote>--</quote>,在引导提示符中指定的参数都会被复制。既然如此,您应该在硬件所需的任何引导选项之前指定预置的选项,然后用 <quote>--</quote> 分隔,确保只有后面的被复制到最终系统。" - -#. Tag: para -#: preseed.xml:388 -#, no-c-format -msgid "" -"Current linux kernels (2.6.9 and later) accept a maximum of 32 command line " -"options and 32 environment options, including any options added by default " -"for the installer. If these numbers are exceeded, the kernel will panic " -"(crash). (For earlier kernels, these numbers were lower.)" -msgstr "当前的 linux 内核(2.6.9 和更新的),可以指定最多 32 个命令行选项和 32 个环境变量选项,包括安装程序默认的选项。如果数目超出,内核将崩溃。(早期的内核,接受较少的数目。)" - -#. Tag: para -#: preseed.xml:396 -#, no-c-format -msgid "" -"For most installations some of the default options in your bootloader " -"configuration file, like <literal>vga=normal</literal>, may be safely " -"removed which may allow you to add more options for preseeding." -msgstr "" -"大多数安装过程,在引导配置文件中一些默认的选项,比如 <literal>vga=normal</" -"literal>,可以放心地删除,这让您可以添加更多的预置选项。" - -#. Tag: para -#: preseed.xml:403 -#, no-c-format -msgid "" -"It may not always be possible to specify values with spaces for boot " -"parameters, even if you delimit them with quotes." -msgstr "引导参数中即使使用引号,也可能无法夹杂空格。" - -#. Tag: title -#: preseed.xml:413 +#: preseed.xml:508 #, no-c-format msgid "Creating a preconfiguration file" msgstr "创建预置文件" #. Tag: para -#: preseed.xml:414 +#: preseed.xml:509 #, no-c-format msgid "" "The preconfiguration file is in the format used by the <command>debconf-set-" @@ -600,21 +793,21 @@ msgstr "" "预置文件中每一行的格式为:" #. Tag: screen -#: preseed.xml:420 +#: preseed.xml:515 #, no-c-format msgid "<owner> <question name> <question type> <value>" msgstr "" "<owner> <question name> <question type> <value>" #. Tag: para -#: preseed.xml:422 +#: preseed.xml:517 #, no-c-format msgid "" "There are a few rules to keep in mind when writing a preconfiguration file." msgstr "编写预置文件的时候要留意几条规则。" #. Tag: para -#: preseed.xml:429 +#: preseed.xml:524 #, no-c-format msgid "" "Put only a single space or tab between type and value: any additional " @@ -623,7 +816,7 @@ msgstr "" "在类型和值之间只有一个空格或者 tab:任何额外的空格将被解释为值的一部分。" #. Tag: para -#: preseed.xml:433 +#: preseed.xml:528 #, no-c-format msgid "" "A line can be split into multiple lines by appending a backslash " @@ -635,7 +828,7 @@ msgstr "" "行。分割一行较好的地方是在问题名后面;而在类型和值之间则是糟糕的地方。" #. Tag: para -#: preseed.xml:439 +#: preseed.xml:534 #, no-c-format msgid "" "Most questions need to be preseeded using the values valid in English and " @@ -646,7 +839,7 @@ msgstr "" "<classname>partman</classname>),需要使用翻译过的值。" #. Tag: para -#: preseed.xml:445 +#: preseed.xml:540 #, no-c-format msgid "" "Some questions take a code as value instead of the English text that is " @@ -654,7 +847,7 @@ msgid "" msgstr "有些问题在安装过程中显示值的代码而不是英文文本。" #. Tag: para -#: preseed.xml:451 +#: preseed.xml:546 #, no-c-format msgid "" "The easiest way to create a preconfiguration file is to use the example file " @@ -664,7 +857,7 @@ msgstr "" "\"preseed-contents\"/>。" #. Tag: para -#: preseed.xml:456 +#: preseed.xml:551 #, no-c-format msgid "" "An alternative method is to do a manual installation and then, after " @@ -677,7 +870,7 @@ msgstr "" "程序的 cdebconf 数据库到一个文件:" #. Tag: screen -#: preseed.xml:463 +#: preseed.xml:558 #, no-c-format msgid "" "$ debconf-get-selections --installer > <replaceable>file</replaceable>\n" @@ -687,7 +880,7 @@ msgstr "" "$ debconf-get-selections >> <replaceable>file</replaceable>" #. Tag: para -#: preseed.xml:465 +#: preseed.xml:560 #, no-c-format msgid "" "However, a file generated in this manner will have some items that should " @@ -698,7 +891,7 @@ msgstr "" "始。" #. Tag: para -#: preseed.xml:473 +#: preseed.xml:568 #, no-c-format msgid "" "This method relies on the fact that, at the end of the installation, the " @@ -712,7 +905,7 @@ msgstr "" "感的信息,默认只为 root 可读。" #. Tag: para -#: preseed.xml:481 +#: preseed.xml:576 #, no-c-format msgid "" "The directory <filename>/var/log/installer</filename> and all files in it " @@ -723,7 +916,7 @@ msgstr "" "log/installer</filename> 目录及其中的文件将从您的系统中删除。" #. Tag: para -#: preseed.xml:489 +#: preseed.xml:584 #, no-c-format msgid "" "To check possible values for questions, you can use <command>nano</command> " @@ -738,7 +931,7 @@ msgstr "" "值。" #. Tag: para -#: preseed.xml:497 +#: preseed.xml:592 #, no-c-format msgid "" "To check if the format of your preconfiguration file is valid before " @@ -749,13 +942,13 @@ msgstr "" "selections -c <replaceable>preseed.cfg</replaceable></command> 命令。" #. Tag: title -#: preseed.xml:507 +#: preseed.xml:603 #, no-c-format msgid "Contents of the preconfiguration file" msgstr "预置文件的内容" #. Tag: para -#: preseed.xml:513 +#: preseed.xml:609 #, no-c-format msgid "" "Note that this example is based on an installation for the Intel x86 " @@ -769,13 +962,13 @@ msgstr "" "设置替换。" #. Tag: title -#: preseed.xml:524 +#: preseed.xml:620 #, no-c-format msgid "Localization" msgstr "本地化" #. Tag: para -#: preseed.xml:525 +#: preseed.xml:621 #, no-c-format msgid "" "Setting localization values will only work if you are using initrd " @@ -785,7 +978,7 @@ msgstr "" "设置本地信息只适用于使用 initrd 预置。其他方式下这些问题是在询问之后加载的。" #. Tag: para -#: preseed.xml:531 +#: preseed.xml:627 #, no-c-format msgid "" "The locale can be used to specify both language and country. To specify the " @@ -796,7 +989,7 @@ msgstr "" "<userinput>locale=<replaceable>en_US</replaceable></userinput>。" #. Tag: screen -#: preseed.xml:537 +#: preseed.xml:633 #, no-c-format msgid "" "# Locale sets language and country.\n" @@ -806,7 +999,7 @@ msgstr "" "d-i debian-installer/locale string en_US" #. Tag: para -#: preseed.xml:539 +#: preseed.xml:635 #, no-c-format msgid "" "Keyboard configuration consists of selecting a keyboard architecture and a " @@ -818,7 +1011,7 @@ msgstr "" "体系,因此通常不必预置。键映射必须对所选择的键盘体系有效。" #. Tag: screen -#: preseed.xml:546 +#: preseed.xml:642 #, no-c-format msgid "" "# Keyboard selection.\n" @@ -834,7 +1027,7 @@ msgstr "" "#d-i console-keymaps-usb/keymap select mac-usb-us" #. Tag: para -#: preseed.xml:548 +#: preseed.xml:644 #, no-c-format msgid "" "To skip keyboard configuration, preseed <classname>console-tools/archs</" @@ -845,7 +1038,7 @@ msgstr "" "tools/archs</classname>。这将导致内核键映射保持活动。" #. Tag: para -#: preseed.xml:557 +#: preseed.xml:653 #, no-c-format msgid "" "The changes in the input layer for 2.6 kernels have made the keyboard " @@ -856,13 +1049,13 @@ msgstr "" "<quote>PC</quote> (<userinput>at</userinput>) keymap。" #. Tag: title -#: preseed.xml:567 +#: preseed.xml:663 #, no-c-format msgid "Network configuration" msgstr "网络设置" #. Tag: para -#: preseed.xml:568 +#: preseed.xml:664 #, no-c-format msgid "" "Of course, preseeding the network configuration won't work if you're loading " @@ -875,7 +1068,7 @@ msgstr "" "助。如果您计划从网络加载预置文件,应该使用传递网络设置给内核引导参数的方式。" #. Tag: para -#: preseed.xml:576 +#: preseed.xml:672 #, no-c-format msgid "" "If you need to pick a particular interface when netbooting before loading a " @@ -886,7 +1079,7 @@ msgstr "" "<userinput>interface=<replaceable>eth1</replaceable></userinput>。" #. Tag: para -#: preseed.xml:582 +#: preseed.xml:678 #, no-c-format msgid "" "Although preseeding the network configuration is normally not possible when " @@ -902,7 +1095,7 @@ msgstr "" "再运行一次,这需要下面的内容包含在 <quote>preseed/run</quote> 脚本里面:" #. Tag: screen -#: preseed.xml:592 +#: preseed.xml:688 #, no-c-format msgid "" "killall.sh dhclient\n" @@ -912,7 +1105,7 @@ msgstr "" "netcfg" #. Tag: screen -#: preseed.xml:596 +#: preseed.xml:692 #, no-c-format msgid "" "# netcfg will choose an interface that has link if possible. This makes it\n" @@ -994,13 +1187,13 @@ msgstr "" "#d-i netcfg/dhcp_hostname string radish" #. Tag: title -#: preseed.xml:601 +#: preseed.xml:697 #, no-c-format msgid "Mirror settings" msgstr "镜像设置" #. Tag: para -#: preseed.xml:602 +#: preseed.xml:698 #, no-c-format msgid "" "Depending on the installation method you use, a mirror may be used both to " @@ -1011,7 +1204,7 @@ msgstr "" "系统建立 <filename>/etc/apt/sources.list</filename>。" #. Tag: para -#: preseed.xml:609 +#: preseed.xml:705 #, no-c-format msgid "" "The parameter <classname>mirror/suite</classname> determines the suite for " @@ -1020,7 +1213,7 @@ msgstr "" "参数 <classname>mirror/suite</classname> 决定了安装好的系统使用的套件。" #. Tag: para -#: preseed.xml:614 +#: preseed.xml:710 #, no-c-format msgid "" "The parameter <classname>mirror/udeb/suite</classname> determines the suite " @@ -1036,7 +1229,7 @@ msgstr "" "suite</classname> 的值相同。" #. Tag: screen -#: preseed.xml:626 +#: preseed.xml:722 #, no-c-format msgid "" "d-i mirror/country string enter information manually\n" @@ -1060,13 +1253,13 @@ msgstr "" "#d-i mirror/udeb/suite string testing" #. Tag: title -#: preseed.xml:631 +#: preseed.xml:727 #, no-c-format msgid "Partitioning" msgstr "分区" #. Tag: para -#: preseed.xml:632 +#: preseed.xml:728 #, no-c-format msgid "" "Using preseeding to partition the harddisk is very much limited to what is " @@ -1075,10 +1268,14 @@ msgid "" "disk can be determined by using a predefined recipe, a custom recipe from a " "recipe file or a recipe included in the preconfiguration file. It is " "currently not possible to partition multiple disks using preseeding." -msgstr "使用预置分区硬盘受限于 <classname>partman-auto</classname> 提供的支持。您可以选择使用磁盘上已有的空闲分区或者整个磁盘。磁盘的布局将取决于所使用的预定义方案,用户自定义的方案文件或预置文件包含的方案。当前还不能使用预置配置多个磁盘。" +msgstr "" +"使用预置分区硬盘受限于 <classname>partman-auto</classname> 提供的支持。您可以" +"选择使用磁盘上已有的空闲分区或者整个磁盘。磁盘的布局将取决于所使用的预定义方" +"案,用户自定义的方案文件或预置文件包含的方案。当前还不能使用预置配置多个磁" +"盘。" #. Tag: para -#: preseed.xml:643 +#: preseed.xml:739 #, no-c-format msgid "" "The identification of disks is dependent on the order in which their drivers " @@ -1089,7 +1286,7 @@ msgstr "" "确的那一个。" #. Tag: screen -#: preseed.xml:651 +#: preseed.xml:747 #, no-c-format msgid "" "# If the system has free space you can choose to only partition that space.\n" @@ -1185,12 +1382,14 @@ msgstr "" "# select Separate /home, /usr, /var, and /tmp partitions\n" "\n" "# Or provide a recipe of your own...\n" -"# The recipe format is documented in the file devel/partman-auto-recipe.txt.\n" +"# The recipe format is documented in the file devel/partman-auto-recipe." +"txt.\n" "# If you have a way to get a recipe file into the d-i environment, you can\n" "# just point at it.\n" "#d-i partman-auto/expert_recipe_file string /hd-media/recipe\n" "\n" -"# If not, you can put an entire recipe into the preconfiguration file in one\n" +"# If not, you can put an entire recipe into the preconfiguration file in " +"one\n" "# (logical) line. This example creates a small /boot partition, suitable\n" "# swap, and uses the rest of the space for the root partition:\n" "#d-i partman-auto/expert_recipe string \\\n" @@ -1217,13 +1416,13 @@ msgstr "" "d-i partman/confirm boolean true" #. Tag: title -#: preseed.xml:656 +#: preseed.xml:752 #, no-c-format msgid "Partitioning using RAID" msgstr "使用 RAID 分区" #. Tag: para -#: preseed.xml:657 +#: preseed.xml:753 #, no-c-format msgid "" "You can also use preseeding to set up partitions on software RAID arrays. " @@ -1237,7 +1436,7 @@ msgstr "" "列中的所有设备;参见 <xref linkend=\"preseed-bootloader\"/>。" #. Tag: para -#: preseed.xml:667 +#: preseed.xml:763 #, no-c-format msgid "" "This type of automated partitioning is easy to get wrong. It is also a very " @@ -1251,7 +1450,7 @@ msgstr "" "一下 <filename>/var/log/syslog</filename>。" #. Tag: para -#: preseed.xml:675 +#: preseed.xml:771 #, no-c-format msgid "" "Note that only RAID 0 and RAID 1 have been tested by the developers of the " @@ -1262,7 +1461,7 @@ msgstr "" "RAID 设置像降级阵列或额外设备只经过了轻量级的测试。" #. Tag: screen -#: preseed.xml:683 +#: preseed.xml:779 #, no-c-format msgid "" "# NOTE: this option is of beta release quality and should be used carefully\n" @@ -1360,13 +1559,13 @@ msgstr "" "d-i partman/confirm boolean true" #. Tag: title -#: preseed.xml:688 +#: preseed.xml:784 #, no-c-format msgid "Clock and time zone setup" msgstr "时钟与时区设置" #. Tag: screen -#: preseed.xml:690 +#: preseed.xml:786 #, no-c-format msgid "" "# Controls whether or not the hardware clock is set to UTC.\n" @@ -1384,13 +1583,13 @@ msgstr "" "d-i time/zone string US/Eastern" #. Tag: title -#: preseed.xml:695 +#: preseed.xml:791 #, no-c-format msgid "Apt setup" msgstr "设置 apt" #. Tag: para -#: preseed.xml:696 +#: preseed.xml:792 #, no-c-format msgid "" "Setup of the <filename>/etc/apt/sources.list</filename> and basic " @@ -1403,7 +1602,7 @@ msgstr "" "仓库。" #. Tag: screen -#: preseed.xml:704 +#: preseed.xml:800 #, no-c-format msgid "" "# You can choose to install non-free and contrib software.\n" @@ -1439,13 +1638,13 @@ msgstr "" "#d-i apt-setup/local0/key string http://local.server/key" #. Tag: title -#: preseed.xml:709 +#: preseed.xml:805 #, no-c-format msgid "Account setup" msgstr "帐号设置" #. Tag: para -#: preseed.xml:710 +#: preseed.xml:806 #, no-c-format msgid "" "The password for the root account and name and password for a first regular " @@ -1456,7 +1655,7 @@ msgstr "" "或 MD5 <emphasis>hashes</emphasis> 值。" #. Tag: para -#: preseed.xml:717 +#: preseed.xml:813 #, no-c-format msgid "" "Be aware that preseeding passwords is not completely secure as everyone with " @@ -1469,7 +1668,7 @@ msgstr "" "MD5 哈西表相对安全一些,但也会造成安全的假象,MD5 哈西表也可以被暴力破解。" #. Tag: screen -#: preseed.xml:727 +#: preseed.xml:823 #, no-c-format msgid "" "# Skip creation of a root account (normal user account will be able to\n" @@ -1515,7 +1714,7 @@ msgstr "" "#d-i passwd/user-password-crypted password [MD5 hash]" #. Tag: para -#: preseed.xml:729 +#: preseed.xml:825 #, no-c-format msgid "" "The <classname>passwd/root-password-crypted</classname> and " @@ -1532,26 +1731,26 @@ msgstr "" "root 登录(例如使用 SSH key 认证或 sudo)。" #. Tag: para -#: preseed.xml:739 +#: preseed.xml:835 #, no-c-format msgid "" "An MD5 hash for a password can be generated using the following command." msgstr "密码的 MD5 hash 可以用下面命令产生。" #. Tag: screen -#: preseed.xml:743 +#: preseed.xml:839 #, no-c-format msgid "$ echo \"r00tme\" | mkpasswd -s -H MD5" msgstr "$ echo \"r00tme\" | mkpasswd -s -H MD5" #. Tag: title -#: preseed.xml:749 +#: preseed.xml:845 #, no-c-format msgid "Base system installation" msgstr "基本系统安装" #. Tag: para -#: preseed.xml:750 +#: preseed.xml:846 #, no-c-format msgid "" "There is actually not very much that can be preseeded for this stage of the " @@ -1560,7 +1759,7 @@ msgid "" msgstr "本阶段的安装并没有多少东西需要预置。仅有一个与内核安装相关的问题。" #. Tag: screen -#: preseed.xml:757 +#: preseed.xml:853 #, no-c-format msgid "" "# Select the initramfs generator used to generate the initrd for 2.6 " @@ -1572,13 +1771,13 @@ msgstr "" "#d-i base-installer/kernel/linux/initramfs-generators string yaird" #. Tag: title -#: preseed.xml:762 +#: preseed.xml:858 #, no-c-format msgid "Boot loader installation" msgstr "安装引导加载器" #. Tag: screen -#: preseed.xml:764 +#: preseed.xml:860 #, no-c-format msgid "" "# Grub is the default boot loader (for x86). If you want lilo installed\n" @@ -1626,13 +1825,13 @@ msgstr "" "#d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)" #. Tag: title -#: preseed.xml:769 +#: preseed.xml:865 #, no-c-format msgid "Package selection" msgstr "选择软件包" #. Tag: para -#: preseed.xml:770 +#: preseed.xml:866 #, no-c-format msgid "" "You can choose to install any combination of tasks that are available. " @@ -1640,73 +1839,73 @@ msgid "" msgstr "您可以选择安装存在的任务的组合。写这篇文章时已有的任务是:" #. Tag: userinput -#: preseed.xml:779 +#: preseed.xml:875 #, no-c-format msgid "standard" msgstr "标准" #. Tag: userinput -#: preseed.xml:782 +#: preseed.xml:878 #, no-c-format msgid "desktop" msgstr "桌面" #. Tag: userinput -#: preseed.xml:785 +#: preseed.xml:881 #, no-c-format msgid "gnome-desktop" msgstr "gnome 桌面" #. Tag: userinput -#: preseed.xml:788 +#: preseed.xml:884 #, no-c-format msgid "kde-desktop" msgstr "kde 桌面" #. Tag: userinput -#: preseed.xml:791 +#: preseed.xml:887 #, no-c-format msgid "web-server" msgstr "web 服务器" #. Tag: userinput -#: preseed.xml:794 +#: preseed.xml:890 #, no-c-format msgid "print-server" msgstr "打印服务器" #. Tag: userinput -#: preseed.xml:797 +#: preseed.xml:893 #, no-c-format msgid "dns-server" msgstr "dns 服务器" #. Tag: userinput -#: preseed.xml:800 +#: preseed.xml:896 #, no-c-format msgid "file-server" msgstr "文件服务器" #. Tag: userinput -#: preseed.xml:803 +#: preseed.xml:899 #, no-c-format msgid "mail-server" msgstr "邮件服务器" #. Tag: userinput -#: preseed.xml:806 +#: preseed.xml:902 #, no-c-format msgid "sql-database" msgstr "SQL 数据库" #. Tag: userinput -#: preseed.xml:809 +#: preseed.xml:905 #, no-c-format msgid "laptop" msgstr "便携机" #. Tag: para -#: preseed.xml:813 +#: preseed.xml:909 #, no-c-format msgid "" "You can also choose to install no tasks, and force the installation of a set " @@ -1717,7 +1916,7 @@ msgstr "" "userinput> 任务。" #. Tag: para -#: preseed.xml:819 +#: preseed.xml:915 #, no-c-format msgid "" "If you want to install some individual packages in addition to packages " @@ -1729,7 +1928,7 @@ msgstr "" "include</classname>。该参数的值可以用逗号或空格分开,便于在内核命令行上使用。" #. Tag: screen -#: preseed.xml:829 +#: preseed.xml:925 #, no-c-format msgid "" "tasksel tasksel/first multiselect standard, desktop\n" @@ -1759,13 +1958,13 @@ msgstr "" "#popularity-contest popularity-contest/participate boolean false" #. Tag: title -#: preseed.xml:834 +#: preseed.xml:930 #, no-c-format msgid "Finishing up the first stage install" msgstr "完成第一阶段安装" #. Tag: screen -#: preseed.xml:836 +#: preseed.xml:932 #, no-c-format msgid "" "# Avoid that last message about the install being complete.\n" @@ -1783,13 +1982,13 @@ msgstr "" "#d-i cdrom-detect/eject boolean false" #. Tag: title -#: preseed.xml:841 +#: preseed.xml:937 #, no-c-format msgid "Mailer configuration" msgstr "邮件设置" #. Tag: para -#: preseed.xml:842 +#: preseed.xml:938 #, no-c-format msgid "" "During a normal install, exim asks only a few questions. Here's how to avoid " @@ -1798,7 +1997,7 @@ msgstr "" "普通安装方式下,exim 会问一些问题。这里是避免的方法。也可以有更多的预置内容。" #. Tag: screen -#: preseed.xml:849 +#: preseed.xml:945 #, no-c-format msgid "" "exim4-config exim4/dc_eximconfig_configtype \\\n" @@ -1814,13 +2013,13 @@ msgstr "" "exim4-config exim4/dc_postmaster string" #. Tag: title -#: preseed.xml:854 +#: preseed.xml:950 #, no-c-format msgid "X configuration" msgstr "设置 X" #. Tag: para -#: preseed.xml:855 +#: preseed.xml:951 #, no-c-format msgid "" "Preseeding Debian's X config is possible, but you probably need to know some " @@ -1831,7 +2030,7 @@ msgstr "" "的 X 配置工具无法自动设置每一件事。" #. Tag: screen -#: preseed.xml:863 +#: preseed.xml:959 #, no-c-format msgid "" "# X can detect the right driver for some cards, but if you're preseeding,\n" @@ -1879,13 +2078,13 @@ msgstr "" " select 1024x768 @ 60 Hz" #. Tag: title -#: preseed.xml:868 +#: preseed.xml:964 #, no-c-format msgid "Preseeding other packages" msgstr "预置其他的软件包" #. Tag: screen -#: preseed.xml:870 +#: preseed.xml:966 #, no-c-format msgid "" "# Depending on what software you choose to install, or if things go wrong\n" @@ -1905,19 +2104,29 @@ msgstr "" "# debconf-get-selections >> file" #. Tag: title -#: preseed.xml:876 +#: preseed.xml:973 #, no-c-format msgid "Advanced options" msgstr "高级选项" #. Tag: title -#: preseed.xml:879 +#: preseed.xml:976 #, no-c-format -msgid "Shell commands" -msgstr "shell 命令" +msgid "Running custom commands during the installation" +msgstr "安装过程中运行用户命令" + +#. Tag: para +#: preseed.xml:977 +#, fuzzy, no-c-format +msgid "" +"A very powerful and flexible option offered by the preconfiguration tools is " +"the ability to run commands or scripts at certain points in the installation." +msgstr "" +"预置工具提供了一个非常强大和灵活的选项,可以在安装过程的一些点上运行命令或脚" +"本。请參考 <xref linkend=\"preseed-shell\"/> 了解详细情况。" #. Tag: screen -#: preseed.xml:881 +#: preseed.xml:985 #, no-c-format msgid "" "# d-i preseeding is inherently not secure. Nothing in the installer checks\n" @@ -1955,13 +2164,41 @@ msgstr "" "#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh" #. Tag: title -#: preseed.xml:886 +#: preseed.xml:990 +#, no-c-format +msgid "Using preseeding to change default values" +msgstr "使用预置修改默认值" + +#. Tag: para +#: preseed.xml:991 +#, no-c-format +msgid "" +"It is possible to use preseeding to change the default answer for a " +"question, but still have the question asked. To do this the <firstterm>seen</" +"firstterm> flag must be reset to <quote>false</quote> after setting the " +"value for a question." +msgstr "" +"使用预置也可以用来修改问题的默认答案,但仍会有问题提出。这样做时,在给问题设" +"定值以后,<firstterm>seen</firstterm> 旗标必须重置为 <quote>false</quote>。" + +#. Tag: screen +#: preseed.xml:1000 +#, no-c-format +msgid "" +"d-i foo/bar string value\n" +"d-i foo/bar seen false" +msgstr "" +"d-i foo/bar string value\n" +"d-i foo/bar seen false" + +#. Tag: title +#: preseed.xml:1005 #, no-c-format msgid "Chainloading preconfiguration files" msgstr "预置文件链" #. Tag: para -#: preseed.xml:887 +#: preseed.xml:1006 #, no-c-format msgid "" "It is possible to include other preconfiguration files from a " @@ -1975,10 +2212,10 @@ msgstr "" "另外的文件里面。" #. Tag: screen -#: preseed.xml:897 -#, no-c-format +#: preseed.xml:1016 +#, fuzzy, no-c-format msgid "" -"# More that one file can be listed, separated by spaces; all will be\n" +"# More than one file can be listed, separated by spaces; all will be\n" "# loaded. The included files can have preseed/include directives of their\n" "# own as well. Note that if the filenames are relative, they are taken from\n" "# the same directory as the preconfiguration file that includes them.\n" @@ -2021,3 +2258,83 @@ msgstr "" "# Note that if the filenames are relative, they are taken from the same\n" "# directory as the preconfiguration file that runs them.\n" "d-i preseed/run string foo.sh" + +#. Tag: para +#: preseed.xml:1018 +#, no-c-format +msgid "" +"It is also possible to chainload from the initrd or file preseeding phase, " +"into network preseeding by setting preseed/url in the earlier files. This " +"will cause network preseeding to be performed when the network comes up. You " +"need to be careful when doing this, since there will be two distinct runs at " +"preseeding, meaning for example that you get another chance to run the " +"preseed/early command, the second one happening after the network comes up." +msgstr "" + +#~ msgid "" +#~ "In practical terms this means for file and network preseeding that the " +#~ "questions about language, country and keyboard selection will already " +#~ "have been asked. For network preseeding add to that any questions related " +#~ "to network configuration. Some other questions that are only displayed at " +#~ "medium or low priority (like the first hardware detection run) will also " +#~ "already have been processed." +#~ msgstr "" +#~ "操作时,这意味着 file 和 network 方法仍要询问语言、国家和键盘选择这些问" +#~ "题。对于 network 方法,还有一些关于网络设置方面的问题。另有一些只出现在 " +#~ "medium 或 low 优先级下的问题(就像首次硬件检测)已经处理过。" + +#~ msgid "" +#~ "<userinput>preseed/early_command</userinput>: is run as soon as the " +#~ "preconfiguration file has been loaded" +#~ msgstr "" +#~ "<userinput>preseed/early_command</userinput>: 在预置文件加载的时候运行" + +#~ msgid "" +#~ "<userinput>preseed/late_command</userinput>: is run just before the " +#~ "reboot at the end of the install, but before the <filename>/target</" +#~ "filename> filesystem has been unmounted" +#~ msgstr "" +#~ "<userinput>preseed/late_command</userinput>: 在安装的第一阶段结束的时候," +#~ "重新启动之前运行,而且是在 <filename>/target</filename> 文件系统卸载之前" + +#~ msgid "" +#~ "While you're at it, you may want to add a boot parameter " +#~ "<userinput>priority=critical</userinput>. This will avoid most questions " +#~ "even if the preseeding below misses some." +#~ msgstr "" +#~ "编辑的时候,您也许需要添加一个引导参数 <userinput>priority=critical</" +#~ "userinput>。它会避免过多的问题,即使下面的预置漏了一些。" + +#~ msgid "" +#~ "Some parts of the installation process cannot be automated using some " +#~ "forms of preseeding because the questions are asked before the " +#~ "preconfiguration file is loaded. For example, if the preconfiguration " +#~ "file is downloaded over the network, the network setup must be done " +#~ "first. One reason to use initrd preseeding is that it allows preseeding " +#~ "of even these early steps of the installation process." +#~ msgstr "" +#~ "有些形式的预置,安装过程的一些部分无法自动进行,因为这些问题是在预置文件加" +#~ "载之前询问的。例如,如果预置文件从网络下载,首先应完成网络设置。采用 " +#~ "initrd 预置的一个原因,正是它可以设置安装过程的这些前期步骤。" + +#~ msgid "" +#~ "A <quote>--</quote> in the boot options has special meaning. Kernel " +#~ "parameters that appear after the last <quote>--</quote> will be copied " +#~ "into the installed bootloader configuration (if supported by the " +#~ "installer for the bootloader). Note that the <quote>--</quote> may " +#~ "already be present in the default boot parameters, which means that " +#~ "unless you add another <quote>--</quote> all parameters specified at the " +#~ "boot prompt will be copied. That being the case, you should specify any " +#~ "preconfiguration options before any options required by the hardware in " +#~ "order to boot, and separate them with a <quote>--</quote> to ensure that " +#~ "only the latter are copied onto the target system." +#~ msgstr "" +#~ "<quote>--</quote> 在启动选项中有特殊含义。最后一个 <quote>--</quote> 后面" +#~ "出现的内核参数将被复制到已安装的 bootloader 设置(假如安装程序支持 " +#~ "bootloader)。注意,<quote>--</quote> 也可能已经存在于默认的引导参数中,这" +#~ "意味着除非您添加另外一个 <quote>--</quote>,在引导提示符中指定的参数都会被" +#~ "复制。既然如此,您应该在硬件所需的任何引导选项之前指定预置的选项,然后用 " +#~ "<quote>--</quote> 分隔,确保只有后面的被复制到最终系统。" + +#~ msgid "Shell commands" +#~ msgstr "shell 命令" |