diff options
author | Frans Pop <elendil@planet.nl> | 2005-11-28 21:46:54 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2005-11-28 21:46:54 +0000 |
commit | 74586ed24c2b018c5111c3574ae52c2f953ae259 (patch) | |
tree | 55b8614b1ae0c8dd7058f0f74429fc0434177c9a /po/zh_CN | |
parent | 02ee4111e988f70b6105395e798c54030d10d038 (diff) | |
download | installation-guide-74586ed24c2b018c5111c3574ae52c2f953ae259.zip |
Update of POT and PO files for the manual
Diffstat (limited to 'po/zh_CN')
-rw-r--r-- | po/zh_CN/install-methods.po | 92 | ||||
-rw-r--r-- | po/zh_CN/random-bits.po | 1929 |
2 files changed, 1052 insertions, 969 deletions
diff --git a/po/zh_CN/install-methods.po b/po/zh_CN/install-methods.po index 57fecb77b..46e23ae3d 100644 --- a/po/zh_CN/install-methods.po +++ b/po/zh_CN/install-methods.po @@ -777,7 +777,10 @@ msgid "" "contains all the installer files (including the kernel) as well as " "<command>SYSLINUX</command> and its configuration file. You only have to " "extract it directly to your USB stick:" -msgstr "这里有一个合集文件 <filename>hd-media/boot.img.gz</filename>,其中包含了所有的安装程序文件(包括内核),以及 <command>SYSLINUX</command> 和它的配置文件。您只需要把它直接解压到您的 USB 闪盘内即可:" +msgstr "" +"这里有一个合集文件 <filename>hd-media/boot.img.gz</filename>,其中包含了所有" +"的安装程序文件(包括内核),以及 <command>SYSLINUX</command> 和它的配置文件。您" +"只需要把它直接解压到您的 USB 闪盘内即可:" #. Tag: screen #: install-methods.xml:601 @@ -795,7 +798,11 @@ msgid "" "type \"Apple_Bootstrap\" on your USB stick using <command>mac-fdisk</" "command>'s <userinput>C</userinput> command and extract the image directly " "to that:" -msgstr "这里有一个合集文件 <filename>hd-media/boot.img.gz</filename>,其中包含了所有的安装程序文件(包括内核),以及 <command>yaboot</command> 和它的配置文件。您可以使用 <command>mac-fdisk</command> 的 <userinput>C</userinput> 命令在您的 USB 闪盘上创建一个类型为 \"Apple_Bootstrap\" 的分区,然后直接解开映像文件到:" +msgstr "" +"这里有一个合集文件 <filename>hd-media/boot.img.gz</filename>,其中包含了所有" +"的安装程序文件(包括内核),以及 <command>yaboot</command> 和它的配置文件。您可" +"以使用 <command>mac-fdisk</command> 的 <userinput>C</userinput> 命令在您的 " +"USB 闪盘上创建一个类型为 \"Apple_Bootstrap\" 的分区,然后直接解开映像文件到:" #. Tag: screen #: install-methods.xml:612 @@ -809,7 +816,8 @@ msgstr "# zcat boot.img.gz > /dev/<replaceable>sda2</replaceable>" msgid "" "Using this method will destroy anything already on the device. Make sure " "that you use the correct device name for your USB stick." -msgstr "采用这种方法将销毁设备上的任何内容。请确保您使用了 USB 闪盘的正确设备名。" +msgstr "" +"采用这种方法将销毁设备上的任何内容。请确保您使用了 USB 闪盘的正确设备名。" #. Tag: para #: install-methods.xml:621 @@ -2318,11 +2326,11 @@ msgstr "使用 Debian 安装程序进行自动安装" #. Tag: para #: install-methods.xml:1660 -#, no-c-format +#, fuzzy, no-c-format msgid "" "The Debian Installer supports automating installs via preconfiguration " "files. A preconfiguration file can be loaded from the network or from " -"removable media, and used to fill in answers to question asked during the " +"removable media, and used to fill in answers to questions asked during the " "installation process." msgstr "" "Debian 安装程序支持通过预先配置文件进行自动安装。一个预配置文件可以从网络上或" @@ -2330,15 +2338,24 @@ msgstr "" #. Tag: para #: install-methods.xml:1667 -#, no-c-format +#, fuzzy, no-c-format +msgid "" +"Full documentation on preseeding including a working example that you can " +"edit is in <xref linkend=\"appendix-preseed\"/>." +msgstr "" +"预配置文件是按照 debconf-set-selections 命令的格式写成的。这里有一个具有详尽" +"注释并能正常工作的预配置文件例子:<xref linkend=\"example-preseed\"/>。" + +#. Tag: para +#: install-methods.xml:1672 +#, fuzzy, no-c-format msgid "" "Although most dialogs used by &d-i; can be preseeded using this method, " "there are some notable exceptions. You can (re)partition an entire disk or " "use available free space on a disk; it is not possible to use existing " "partitions. You currently cannot use preseeding to set up RAID and LVM. " -"<phrase condition=\"sarge\">Also, with the exception of network driver " -"modules, it is not possible to preconfigure kernel module parameters.</" -"phrase>" +"Also, with the exception of network driver modules, it is not possible to " +"preconfigure kernel module parameters." msgstr "" "虽然大多数 &d-i; 使用的对话框可以用这种方法预置,但还是有明显的例外。您可以" "(重新)分区整个硬盘或使用磁盘上可用的闲置空间; 但无法使用已存在的分区。当前还" @@ -2346,7 +2363,7 @@ msgstr "" "无法预先设置内核模块参数。</phrase>" #. Tag: para -#: install-methods.xml:1676 +#: install-methods.xml:1681 #, no-c-format msgid "" "The preconfiguration file is in the format used by the debconf-set-" @@ -2357,7 +2374,7 @@ msgstr "" "注释并能正常工作的预配置文件例子:<xref linkend=\"example-preseed\"/>。" #. Tag: para -#: install-methods.xml:1682 +#: install-methods.xml:1687 #, no-c-format msgid "" "Alternatively, one way to get a complete file listing all the values that " @@ -2383,7 +2400,7 @@ msgstr "" "来说是一个更好的起点。" #. Tag: para -#: install-methods.xml:1697 +#: install-methods.xml:1702 #, no-c-format msgid "" "Once you have a preconfiguration file, you can edit it if necessary, and " @@ -2396,7 +2413,7 @@ msgstr "" "时向它传递一个参数来告诉它使用这个文件。" #. Tag: para -#: install-methods.xml:1704 +#: install-methods.xml:1709 #, no-c-format msgid "" "To make the installer use a preconfiguration file downloaded from the " @@ -2415,7 +2432,7 @@ msgstr "" "来避免任何提问。请参见 <xref linkend=\"installer-args\"/>。" #. Tag: para -#: install-methods.xml:1715 +#: install-methods.xml:1720 #, no-c-format msgid "" "To place a preconfiguration file on a CD, you would need to remaster the ISO " @@ -2428,7 +2445,7 @@ msgstr "" "中,然后使用 preseed/file=/floppy/preseed.cfg 参数。" #. Tag: para -#: install-methods.xml:1722 +#: install-methods.xml:1727 #, no-c-format msgid "" "If you'll be booting from a USB memory stick, then you can simply copy your " @@ -2440,30 +2457,21 @@ msgstr "" "并编辑 syslinux.cfg 文件来加入 preseed/file=/hd-media/preseed.cfg 至内核启动" "参数。" -#. Tag: title -#: install-methods.xml:1732 -#, no-c-format -msgid "Using Preseeding to Change Default Values" -msgstr "使用预置修改默认值" - -#. Tag: para -#: install-methods.xml:1733 -#, no-c-format -msgid "" -"It is also 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 template." -msgstr "" -"可以使用预置修改问题的默认答案,但仍然会问问题。在为模板设置值之后," -"<firstterm>seen</firstterm>标识必须被重置为<quote>false</quote>。" - -#. Tag: screen -#: install-methods.xml:1740 -#, 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" +#~ msgid "Using Preseeding to Change Default Values" +#~ msgstr "使用预置修改默认值" + +#~ msgid "" +#~ "It is also 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 template." +#~ msgstr "" +#~ "可以使用预置修改问题的默认答案,但仍然会问问题。在为模板设置值之后," +#~ "<firstterm>seen</firstterm>标识必须被重置为<quote>false</quote>。" + +#~ 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" diff --git a/po/zh_CN/random-bits.po b/po/zh_CN/random-bits.po index 242e4a96e..1c9067a9d 100644 --- a/po/zh_CN/random-bits.po +++ b/po/zh_CN/random-bits.po @@ -57,14 +57,8 @@ msgid "" "preseed;." msgstr "<quote>clean</quote> 例子文件位于 &urlset-example-preseed;。" -#. Tag: para -#: random-bits.xml:35 -#, no-c-format -msgid "The example file is also available from &urlset-example-preseed;." -msgstr "例子文件还可以从 &urlset-example-preseed; 获得。" - #. Tag: screen -#: random-bits.xml:45 +#: random-bits.xml:41 #, no-c-format msgid "" "#### Startup.\n" @@ -807,765 +801,14 @@ msgstr "" "# you can use debconf-set-selections:\n" "# debconf-set-selections -c preseed.cfg" -#. Tag: screen -#: random-bits.xml:51 -#, no-c-format -msgid "" -"#### Startup.\n" -"\n" -"# To use a preseed file, you'll first need to boot the installer,\n" -"# and tell it what preseed file to use. This is done by passing the\n" -"# kernel a boot parameter, either manually at boot or by editing the\n" -"# syslinux.cfg (or similar) file and adding the parameter to the end\n" -"# of the append line(s) for the kernel.\n" -"#\n" -"# If you're netbooting, use this:\n" -"# preseed/url=http://host/path/to/preseed\n" -"# If you're remastering a CD, you could use this:\n" -"# preseed/file=/cdrom/preseed\n" -"# If you're installing from USB media, use this, and put the preseed file\n" -"# in the toplevel directory of the USB stick.\n" -"# preseed/file=/hd-media/preseed\n" -"#\n" -"# If you feel comfortable modifying the installer's initrd image,\n" -"# you can also place a preseed file in the root directory of the initrd's\n" -"# filesystem, named \"preseed.cfg\" -- the installer will always use this\n" -"# file if it is present. Otherwise, be sure to copy this file to the " -"location\n" -"# you specify.\n" -"#\n" -"# To make sure the installer gets the right preseed file, you can specify\n" -"# a checksum for the file. Currently this needs to be a md5sum, and if\n" -"# specified it must match the file or the installer will refuse to use the\n" -"# file.\n" -"# preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n" -"# preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n" -"#\n" -"# Some parts of the installation process cannot be automated using\n" -"# some forms of preseeding, because the questions are asked before\n" -"# the preseed file is loaded. For example, if the preseed file is\n" -"# downloaded over the network, the network setup must be done first.\n" -"# One reason to use initrd preseeding is that it allows preseeding\n" -"# of even these early steps of the installation process.\n" -"#\n" -"# If a preseed file cannot be used to preseed some steps, the install can\n" -"# still be fully automated, since you can pass preseed values to the kernel\n" -"# on the command line. Just pass path/to/var=value for any of the preseed\n" -"# variables listed below.\n" -"#\n" -"# While you're at it, you may want to throw a debconf/priority=critical in\n" -"# there, to avoid most questions even if the preseeding below misses some.\n" -"# And you might set the timeout to 1 in syslinux.cfg to avoid needing to " -"hit\n" -"# enter to boot the installer.\n" -"#\n" -"# Note that the 2.4 kernel accepts a maximum of 8 command line options and\n" -"# 8 environment options (including any options added by default for the\n" -"# installer). If these numbers are exceeded, 2.4 kernels will drop any\n" -"# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,\n" -"# you can use 32 command line options and 32 environment options.\n" -"#\n" -"# Some of the default options, like 'vga=normal' may be safely removed\n" -"# for most installations, which may allow you to add more options for\n" -"# preseeding.\n" -"\n" -"# To select your language and country, use this setting, but remember\n" -"# that this will only work for initrd based preseeding, for other forms of\n" -"# preseeding you must convert it into a kernel parameter,\n" -"# such as debian-installer/locale=en_US\n" -"d-i debian-installer/locale string en_US\n" -"\n" -"# To select your keyboard, use this setting. Again it will need to be\n" -"# passed as a kernel parameter for most preseed setups.\n" -"d-i console-keymaps-at/keymap select us\n" -"\n" -"#### Network configuration.\n" -"\n" -"# Of course, this won't work if you're loading your preseed file from the\n" -"# network! But it's great if you're booting from CD or USB stick. You can\n" -"# also pass network config parameters in on the kernel params if you are\n" -"# loading preseed files from the network.\n" -"\n" -"# netcfg will choose an interface that has link if possible. This makes it\n" -"# skip displaying a list if there is more than one interface.\n" -"d-i netcfg/choose_interface select auto\n" -"\n" -"# If you have a slow dhcp server and the installer times out waiting for\n" -"# it, this might be useful.\n" -"#d-i netcfg/dhcp_timeout string 60\n" -"\n" -"# If you prefer to configure the network manually, here's how:\n" -"#d-i netcfg/disable_dhcp boolean true\n" -"#d-i netcfg/get_nameservers string 192.168.1.1\n" -"#d-i netcfg/get_ipaddress string 192.168.1.42\n" -"#d-i netcfg/get_netmask string 255.255.255.0\n" -"#d-i netcfg/get_gateway string 192.168.1.1\n" -"#d-i netcfg/confirm_static boolean true\n" -"\n" -"# Note that any hostname and domain names assigned from dhcp take\n" -"# precedence over values set here. However, setting the values still\n" -"# prevents the questions from being shown even if values come from dhcp.\n" -"d-i netcfg/get_hostname string unassigned-hostname\n" -"d-i netcfg/get_domain string unassigned-domain\n" -"\n" -"# Disable that annoying WEP key dialog.\n" -"d-i netcfg/wireless_wep string\n" -"# The wacky dhcp hostname that some ISPs use as a password of sorts.\n" -"#d-i netcfg/dhcp_hostname string radish\n" -"\n" -"#### Mirror settings.\n" -"\n" -"d-i mirror/country string enter information manually\n" -"d-i mirror/http/hostname string http.us.debian.org\n" -"d-i mirror/http/directory string /debian\n" -"d-i mirror/http/proxy string\n" -"\n" -"# What suite of Debian to install.\n" -"#d-i mirror/suite string testing\n" -"# What suite of Debian to use for loading installer components.\n" -"# (Defaults to same as mirror/suite.)\n" -"#d-i mirror/udeb/suite string testing\n" -"\n" -"#### Partitioning.\n" -"\n" -"# If the system has free space you can choose to only partition that space.\n" -"#d-i partman-auto/init_automatically_partition \\\n" -"# select Use the largest continuous free space\n" -"\n" -"# Alternatively, you can specify a disk to partition. The device name can\n" -"# be given in either devfs or traditional non-devfs format.\n" -"# For example, to use the first disk devfs knows of:\n" -"d-i partman-auto/disk string /dev/discs/disc0/disc\n" -"\n" -"# You can choose from any of the predefined partitioning recipes:\n" -"d-i partman-auto/choose_recipe \\\n" -" select All files in one partition (recommended for new users)\n" -"#d-i partman-auto/choose_recipe \\\n" -"# select Separate /home partition\n" -"#d-i partman-auto/choose_recipe \\\n" -"# 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" -"# 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 the preseed file in one (logical)\n" -"# line. This example creates a small /boot partition, suitable swap, and\n" -"# uses the rest of the space for the root partition:\n" -"#d-i partman-auto/expert_recipe string \\\n" -"# boot-root :: \\\n" -"# 40 50 100 ext3 \\\n" -"# $primary{ } $bootable{ } \\\n" -"# method{ format } format{ } \\\n" -"# use_filesystem{ } filesystem{ ext3 } \\\n" -"# mountpoint{ /boot } \\\n" -"# . \\\n" -"# 500 10000 1000000000 ext3 \\\n" -"# method{ format } format{ } \\\n" -"# use_filesystem{ } filesystem{ ext3 } \\\n" -"# mountpoint{ / } \\\n" -"# . \\\n" -"# 64 512 300% linux-swap \\\n" -"# method{ swap } format{ } \\\n" -"# .\n" -"\n" -"# This makes partman automatically partition without confirmation.\n" -"d-i partman/confirm_write_new_label boolean true\n" -"d-i partman/choose_partition \\\n" -" select Finish partitioning and write changes to disk\n" -"d-i partman/confirm boolean true\n" -"\n" -"#### Boot loader installation.\n" -"\n" -"# Grub is the default boot loader (for x86). If you want lilo installed\n" -"# instead, uncomment this:\n" -"#d-i grub-installer/skip boolean true\n" -"\n" -"# This is fairly safe to set, it makes grub install automatically to the " -"MBR\n" -"# if no other operating system is detected on the machine.\n" -"d-i grub-installer/only_debian boolean true\n" -"\n" -"# This one makes grub-installer install to the MBR if if finds some other " -"OS\n" -"# too, which is less safe as it might not be able to boot that other OS.\n" -"d-i grub-installer/with_other_os boolean true\n" -"\n" -"# Alternatively, if you want to install to a location other than the mbr,\n" -"# uncomment and edit these lines:\n" -"#d-i grub-installer/bootdev string (hd0,0)\n" -"#d-i grub-installer/only_debian boolean false\n" -"#d-i grub-installer/with_other_os boolean false\n" -"\n" -"#### Finishing up the first stage install.\n" -"\n" -"# Avoid that last message about the install being complete.\n" -"d-i prebaseconfig/reboot_in_progress note\n" -"\n" -"# This will prevent the installer from ejecting the CD during the reboot,\n" -"# which is useful in some situations.\n" -"#d-i cdrom-detect/eject boolean false\n" -"\n" -"#### Shell commands.\n" -"\n" -"# d-i preseeding is inherently not secure. Nothing in the installer checks\n" -"# for attempts at buffer overflows or other exploits of the values of a\n" -"# preseed file like this one. Only use preseed files from trusted\n" -"# locations! To drive that home, and because it's generally useful, here's\n" -"# a way to run any shell command you'd like inside the installer,\n" -"# automatically.\n" -"\n" -"# This first command is run as early as possible, just after\n" -"# preseeding is read.\n" -"#d-i preseed/early_command string anna-install some-udeb\n" -"\n" -"# This command is run just before the install finishes, but when there is\n" -"# still a usable /target directory.\n" -"#d-i preseed/late_command string echo foo > /target/etc/bar\n" -"\n" -"# This command is run just as base-config is starting up.\n" -"#base-config base-config/early_command string echo hi mom\n" -"\n" -"# This command is run after base-config is done, just before the login:\n" -"# prompt. This is a good way to install a set of packages you want, or to\n" -"# tweak the configuration of the system.\n" -"#base-config base-config/late_command \\\n" -"# string apt-get install zsh; chsh -s /bin/zsh\n" -"\n" -"###### Preseeding the 2nd stage of the installation.\n" -"\n" -"#### Preseeding base-config.\n" -"\n" -"# Avoid the introductory message.\n" -"base-config base-config/intro note\n" -"\n" -"# Avoid the final message.\n" -"base-config base-config/login note\n" -"\n" -"# If you installed a display manager, but don't want to start it " -"immediately\n" -"# after base-config finishes.\n" -"#base-config base-config/start-display-manager boolean false\n" -"\n" -"# Some versions of the installer can report back on what you've installed.\n" -"# The default is not to report back, but sending reports helps the project\n" -"# determine what software is most popular and include it on CDs.\n" -"#popularity-contest popularity-contest/participate boolean false\n" -"\n" -"#### Clock and time zone setup.\n" -"\n" -"# Controls whether or not the hardware clock is set to UTC.\n" -"d-i clock-setup/utc boolean true\n" -"\n" -"# You may set this to any valid setting for $TZ; see the contents of\n" -"# /usr/share/zoneinfo/ for options.\n" -"d-i time/zone string US/Eastern\n" -"\n" -"#### Account setup.\n" -"\n" -"# To preseed the root password, you have to put it in the clear in this\n" -"# file. That is not a very good idea, use caution!\n" -"#passwd passwd/root-password password r00tme\n" -"#passwd passwd/root-password-again password r00tme\n" -"\n" -"# If you want to skip creation of a normal user account.\n" -"#passwd passwd/make-user boolean false\n" -"\n" -"# Alternatively, you can preseed the user's name and login.\n" -"#passwd passwd/user-fullname string Debian User\n" -"#passwd passwd/username string debian\n" -"# And their password, but use caution!\n" -"#passwd passwd/user-password password insecure\n" -"#passwd passwd/user-password-again password insecure\n" -"\n" -"#### Apt setup.\n" -"\n" -"# This question controls what source the second stage installation uses\n" -"# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list\n" -"# by hand\n" -"base-config apt-setup/uri_type select http\n" -"\n" -"# If you choose ftp or http, you'll be asked for a country and a mirror.\n" -"base-config apt-setup/country select enter information manually\n" -"base-config apt-setup/hostname string http.us.debian.org\n" -"base-config apt-setup/directory string /debian\n" -"# Stop after choosing one mirror.\n" -"base-config apt-setup/another boolean false\n" -"\n" -"# You can choose to install non-free and contrib software.\n" -"#base-config apt-setup/non-free boolean true\n" -"#base-config apt-setup/contrib boolean true\n" -"\n" -"# Do enable security updates.\n" -"base-config apt-setup/security-updates boolean true\n" -"\n" -"#### Package selection.\n" -"\n" -"# You can choose to install any combination of tasks that are available.\n" -"# Available tasks as of this writing include: Desktop environment,\n" -"# Web server, Print server, DNS server, File server, Mail server,\n" -"# SQL database, Laptop, Standard system, manual package selection. The\n" -"# last of those will run aptitude. You can also choose to install no\n" -"# tasks, and force the installation of a set of packages in some other\n" -"# way. We recommend always including the Standard system task.\n" -"tasksel tasksel/first multiselect Desktop environment, Standard system\n" -"#tasksel tasksel/first multiselect Web server, Standard system\n" -"\n" -"#### Mailer configuration.\n" -"\n" -"# During a normal install, exim asks only a few questions. Here's how to\n" -"# avoid even those. More complicated preseeding is possible.\n" -"exim4-config exim4/dc_eximconfig_configtype \\\n" -" select no configuration at this time\n" -"exim4-config exim4/no_config boolean true\n" -"exim4-config exim4/no_config boolean true\n" -"\n" -"# It's a good idea to set this to whatever user account you choose to\n" -"# create. Leaving the value blank results in postmaster mail going to\n" -"# /var/mail/mail.\n" -"exim4-config exim4/dc_postmaster string\n" -"\n" -"#### X Configuration.\n" -"\n" -"# Preseeding Debian's X config is possible, but you probably need to know\n" -"# some details about the video hardware of the machine, since Debian's X\n" -"# configurator does not do fully automatic configuration of everything.\n" -"\n" -"# X can detect the right driver for some cards, but if you're preseeding,\n" -"# you override whatever it chooses. Still, vesa will work most places.\n" -"#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" -"\n" -"# A caveat with mouse autodetection is that if it fails, X will retry it\n" -"# over and over. So if it's preseeded to be done, there is a possibility of\n" -"# an infinite loop if the mouse is not autodetected.\n" -"#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" -"\n" -"# Monitor autodetection is recommended.\n" -"xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" -"# Uncomment if you have an LCD display.\n" -"#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" -"# X has three configuration paths for the monitor. Here's how to preseed\n" -"# the \"medium\" path, which is always available. The \"simple\" path may " -"not\n" -"# be available, and the \"advanced\" path asks too many questions.\n" -"xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" -" select medium\n" -"xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" -" select 1024x768 @ 60 Hz\n" -"\n" -"#### Everything else.\n" -"\n" -"# Depending on what software you choose to install, or if things go wrong\n" -"# during the installation process, it's possible that other questions may\n" -"# be asked. You can preseed those too, of course. To get a list of every\n" -"# possible question that could be asked during an install, do an\n" -"# installation, and then run these commands:\n" -"# debconf-get-selections --installer > file\n" -"# debconf-get-selections >> file\n" -"\n" -"# If you like, you can include other preseed files into this one.\n" -"# Any settings in those files will override pre-existing settings from this\n" -"# file. More that 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 preseed file that includes them.\n" -"#d-i preseed/include string x.cfg\n" -"\n" -"# The installer can optionally verify checksums of preseed files before\n" -"# using them. Currently only md5sums are supported, list the md5sums\n" -"# in the same order as the list of files to include.\n" -"#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d\n" -"\n" -"# More flexibly, this runs a shell command and if it outputs the names of\n" -"# preseed files, includes those files. \n" -"#d-i preseed/include_command \\\n" -"# string echo if [ \"`hostname`\" = bob ]; then echo bob.cfg; fi\n" -"\n" -"# To check the format of your preseed file before performing an install,\n" -"# you can use debconf-set-selections:\n" -"# debconf-set-selections -c preseed.cfg" -msgstr "" -"#### Startup.\n" -"\n" -"# To use a preseed file, you'll first need to boot the installer,\n" -"# and tell it what preseed file to use. This is done by passing the\n" -"# kernel a boot parameter, either manually at boot or by editing the\n" -"# syslinux.cfg (or similar) file and adding the parameter to the end\n" -"# of the append line(s) for the kernel.\n" -"#\n" -"# If you're netbooting, use this:\n" -"# preseed/url=http://host/path/to/preseed\n" -"# If you're remastering a CD, you could use this:\n" -"# preseed/file=/cdrom/preseed\n" -"# If you're installing from USB media, use this, and put the preseed file\n" -"# in the toplevel directory of the USB stick.\n" -"# preseed/file=/hd-media/preseed\n" -"#\n" -"# If you feel comfortable modifying the installer's initrd image,\n" -"# you can also place a preseed file in the root directory of the initrd's\n" -"# filesystem, named \"preseed.cfg\" -- the installer will always use this\n" -"# file if it is present. Otherwise, be sure to copy this file to the location\n" -"# you specify.\n" -"#\n" -"# To make sure the installer gets the right preseed file, you can specify\n" -"# a checksum for the file. Currently this needs to be a md5sum, and if\n" -"# specified it must match the file or the installer will refuse to use the\n" -"# file.\n" -"# preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n" -"# preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n" -"#\n" -"# Some parts of the installation process cannot be automated using\n" -"# some forms of preseeding, because the questions are asked before\n" -"# the preseed file is loaded. For example, if the preseed file is\n" -"# downloaded over the network, the network setup must be done first.\n" -"# One reason to use initrd preseeding is that it allows preseeding\n" -"# of even these early steps of the installation process.\n" -"#\n" -"# If a preseed file cannot be used to preseed some steps, the install can\n" -"# still be fully automated, since you can pass preseed values to the kernel\n" -"# on the command line. Just pass path/to/var=value for any of the preseed\n" -"# variables listed below.\n" -"#\n" -"# While you're at it, you may want to throw a debconf/priority=critical in\n" -"# there, to avoid most questions even if the preseeding below misses some.\n" -"# And you might set the timeout to 1 in syslinux.cfg to avoid needing to hit\n" -"# enter to boot the installer.\n" -"#\n" -"# Note that the 2.4 kernel accepts a maximum of 8 command line options and\n" -"# 8 environment options (including any options added by default for the\n" -"# installer). If these numbers are exceeded, 2.4 kernels will drop any\n" -"# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,\n" -"# you can use 32 command line options and 32 environment options.\n" -"#\n" -"# Some of the default options, like 'vga=normal' may be safely removed\n" -"# for most installations, which may allow you to add more options for\n" -"# preseeding.\n" -"\n" -"# To select your language and country, use this setting, but remember\n" -"# that this will only work for initrd based preseeding, for other forms of\n" -"# preseeding you must convert it into a kernel parameter,\n" -"# such as debian-installer/locale=en_US\n" -"d-i debian-installer/locale string en_US\n" -"\n" -"# To select your keyboard, use this setting. Again it will need to be\n" -"# passed as a kernel parameter for most preseed setups.\n" -"d-i console-keymaps-at/keymap select us\n" -"\n" -"#### Network configuration.\n" -"\n" -"# Of course, this won't work if you're loading your preseed file from the\n" -"# network! But it's great if you're booting from CD or USB stick. You can\n" -"# also pass network config parameters in on the kernel params if you are\n" -"# loading preseed files from the network.\n" -"\n" -"# netcfg will choose an interface that has link if possible. This makes it\n" -"# skip displaying a list if there is more than one interface.\n" -"d-i netcfg/choose_interface select auto\n" -"\n" -"# If you have a slow dhcp server and the installer times out waiting for\n" -"# it, this might be useful.\n" -"#d-i netcfg/dhcp_timeout string 60\n" -"\n" -"# If you prefer to configure the network manually, here's how:\n" -"#d-i netcfg/disable_dhcp boolean true\n" -"#d-i netcfg/get_nameservers string 192.168.1.1\n" -"#d-i netcfg/get_ipaddress string 192.168.1.42\n" -"#d-i netcfg/get_netmask string 255.255.255.0\n" -"#d-i netcfg/get_gateway string 192.168.1.1\n" -"#d-i netcfg/confirm_static boolean true\n" -"\n" -"# Note that any hostname and domain names assigned from dhcp take\n" -"# precedence over values set here. However, setting the values still\n" -"# prevents the questions from being shown even if values come from dhcp.\n" -"d-i netcfg/get_hostname string unassigned-hostname\n" -"d-i netcfg/get_domain string unassigned-domain\n" -"\n" -"# Disable that annoying WEP key dialog.\n" -"d-i netcfg/wireless_wep string\n" -"# The wacky dhcp hostname that some ISPs use as a password of sorts.\n" -"#d-i netcfg/dhcp_hostname string radish\n" -"\n" -"#### Mirror settings.\n" -"\n" -"d-i mirror/country string enter information manually\n" -"d-i mirror/http/hostname string http.us.debian.org\n" -"d-i mirror/http/directory string /debian\n" -"d-i mirror/http/proxy string\n" -"\n" -"# What suite of Debian to install.\n" -"#d-i mirror/suite string testing\n" -"# What suite of Debian to use for loading installer components.\n" -"# (Defaults to same as mirror/suite.)\n" -"#d-i mirror/udeb/suite string testing\n" -"\n" -"#### Partitioning.\n" -"\n" -"# If the system has free space you can choose to only partition that space.\n" -"#d-i partman-auto/init_automatically_partition \\\n" -"# select Use the largest continuous free space\n" -"\n" -"# Alternatively, you can specify a disk to partition. The device name can\n" -"# be given in either devfs or traditional non-devfs format.\n" -"# For example, to use the first disk devfs knows of:\n" -"d-i partman-auto/disk string /dev/discs/disc0/disc\n" -"\n" -"# You can choose from any of the predefined partitioning recipes:\n" -"d-i partman-auto/choose_recipe \\\n" -" select All files in one partition (recommended for new users)\n" -"#d-i partman-auto/choose_recipe \\\n" -"# select Separate /home partition\n" -"#d-i partman-auto/choose_recipe \\\n" -"# 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" -"# 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 the preseed file in one (logical)\n" -"# line. This example creates a small /boot partition, suitable swap, and\n" -"# uses the rest of the space for the root partition:\n" -"#d-i partman-auto/expert_recipe string \\\n" -"# boot-root :: \\\n" -"# 40 50 100 ext3 \\\n" -"# $primary{ } $bootable{ } \\\n" -"# method{ format } format{ } \\\n" -"# use_filesystem{ } filesystem{ ext3 } \\\n" -"# mountpoint{ /boot } \\\n" -"# . \\\n" -"# 500 10000 1000000000 ext3 \\\n" -"# method{ format } format{ } \\\n" -"# use_filesystem{ } filesystem{ ext3 } \\\n" -"# mountpoint{ / } \\\n" -"# . \\\n" -"# 64 512 300% linux-swap \\\n" -"# method{ swap } format{ } \\\n" -"# .\n" -"\n" -"# This makes partman automatically partition without confirmation.\n" -"d-i partman/confirm_write_new_label boolean true\n" -"d-i partman/choose_partition \\\n" -" select Finish partitioning and write changes to disk\n" -"d-i partman/confirm boolean true\n" -"\n" -"#### Boot loader installation.\n" -"\n" -"# Grub is the default boot loader (for x86). If you want lilo installed\n" -"# instead, uncomment this:\n" -"#d-i grub-installer/skip boolean true\n" -"\n" -"# This is fairly safe to set, it makes grub install automatically to the MBR\n" -"# if no other operating system is detected on the machine.\n" -"d-i grub-installer/only_debian boolean true\n" -"\n" -"# This one makes grub-installer install to the MBR if if finds some other OS\n" -"# too, which is less safe as it might not be able to boot that other OS.\n" -"d-i grub-installer/with_other_os boolean true\n" -"\n" -"# Alternatively, if you want to install to a location other than the mbr,\n" -"# uncomment and edit these lines:\n" -"#d-i grub-installer/bootdev string (hd0,0)\n" -"#d-i grub-installer/only_debian boolean false\n" -"#d-i grub-installer/with_other_os boolean false\n" -"\n" -"#### Finishing up the first stage install.\n" -"\n" -"# Avoid that last message about the install being complete.\n" -"d-i prebaseconfig/reboot_in_progress note\n" -"\n" -"# This will prevent the installer from ejecting the CD during the reboot,\n" -"# which is useful in some situations.\n" -"#d-i cdrom-detect/eject boolean false\n" -"\n" -"#### Shell commands.\n" -"\n" -"# d-i preseeding is inherently not secure. Nothing in the installer checks\n" -"# for attempts at buffer overflows or other exploits of the values of a\n" -"# preseed file like this one. Only use preseed files from trusted\n" -"# locations! To drive that home, and because it's generally useful, here's\n" -"# a way to run any shell command you'd like inside the installer,\n" -"# automatically.\n" -"\n" -"# This first command is run as early as possible, just after\n" -"# preseeding is read.\n" -"#d-i preseed/early_command string anna-install some-udeb\n" -"\n" -"# This command is run just before the install finishes, but when there is\n" -"# still a usable /target directory.\n" -"#d-i preseed/late_command string echo foo > /target/etc/bar\n" -"\n" -"# This command is run just as base-config is starting up.\n" -"#base-config base-config/early_command string echo hi mom\n" -"\n" -"# This command is run after base-config is done, just before the login:\n" -"# prompt. This is a good way to install a set of packages you want, or to\n" -"# tweak the configuration of the system.\n" -"#base-config base-config/late_command \\\n" -"# string apt-get install zsh; chsh -s /bin/zsh\n" -"\n" -"###### Preseeding the 2nd stage of the installation.\n" -"\n" -"#### Preseeding base-config.\n" -"\n" -"# Avoid the introductory message.\n" -"base-config base-config/intro note\n" -"\n" -"# Avoid the final message.\n" -"base-config base-config/login note\n" -"\n" -"# If you installed a display manager, but don't want to start it immediately\n" -"# after base-config finishes.\n" -"#base-config base-config/start-display-manager boolean false\n" -"\n" -"# Some versions of the installer can report back on what you've installed.\n" -"# The default is not to report back, but sending reports helps the project\n" -"# determine what software is most popular and include it on CDs.\n" -"#popularity-contest popularity-contest/participate boolean false\n" -"\n" -"#### Clock and time zone setup.\n" -"\n" -"# Controls whether or not the hardware clock is set to UTC.\n" -"d-i clock-setup/utc boolean true\n" -"\n" -"# You may set this to any valid setting for $TZ; see the contents of\n" -"# /usr/share/zoneinfo/ for options.\n" -"d-i time/zone string US/Eastern\n" -"\n" -"#### Account setup.\n" -"\n" -"# To preseed the root password, you have to put it in the clear in this\n" -"# file. That is not a very good idea, use caution!\n" -"#passwd passwd/root-password password r00tme\n" -"#passwd passwd/root-password-again password r00tme\n" -"\n" -"# If you want to skip creation of a normal user account.\n" -"#passwd passwd/make-user boolean false\n" -"\n" -"# Alternatively, you can preseed the user's name and login.\n" -"#passwd passwd/user-fullname string Debian User\n" -"#passwd passwd/username string debian\n" -"# And their password, but use caution!\n" -"#passwd passwd/user-password password insecure\n" -"#passwd passwd/user-password-again password insecure\n" -"\n" -"#### Apt setup.\n" -"\n" -"# This question controls what source the second stage installation uses\n" -"# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list\n" -"# by hand\n" -"base-config apt-setup/uri_type select http\n" -"\n" -"# If you choose ftp or http, you'll be asked for a country and a mirror.\n" -"base-config apt-setup/country select enter information manually\n" -"base-config apt-setup/hostname string http.us.debian.org\n" -"base-config apt-setup/directory string /debian\n" -"# Stop after choosing one mirror.\n" -"base-config apt-setup/another boolean false\n" -"\n" -"# You can choose to install non-free and contrib software.\n" -"#base-config apt-setup/non-free boolean true\n" -"#base-config apt-setup/contrib boolean true\n" -"\n" -"# Do enable security updates.\n" -"base-config apt-setup/security-updates boolean true\n" -"\n" -"#### Package selection.\n" -"\n" -"# You can choose to install any combination of tasks that are available.\n" -"# Available tasks as of this writing include: Desktop environment,\n" -"# Web server, Print server, DNS server, File server, Mail server,\n" -"# SQL database, Laptop, Standard system, manual package selection. The\n" -"# last of those will run aptitude. You can also choose to install no\n" -"# tasks, and force the installation of a set of packages in some other\n" -"# way. We recommend always including the Standard system task.\n" -"tasksel tasksel/first multiselect Desktop environment, Standard system\n" -"#tasksel tasksel/first multiselect Web server, Standard system\n" -"\n" -"#### Mailer configuration.\n" -"\n" -"# During a normal install, exim asks only a few questions. Here's how to\n" -"# avoid even those. More complicated preseeding is possible.\n" -"exim4-config exim4/dc_eximconfig_configtype \\\n" -" select no configuration at this time\n" -"exim4-config exim4/no_config boolean true\n" -"exim4-config exim4/no_config boolean true\n" -"\n" -"# It's a good idea to set this to whatever user account you choose to\n" -"# create. Leaving the value blank results in postmaster mail going to\n" -"# /var/mail/mail.\n" -"exim4-config exim4/dc_postmaster string\n" -"\n" -"#### X Configuration.\n" -"\n" -"# Preseeding Debian's X config is possible, but you probably need to know\n" -"# some details about the video hardware of the machine, since Debian's X\n" -"# configurator does not do fully automatic configuration of everything.\n" -"\n" -"# X can detect the right driver for some cards, but if you're preseeding,\n" -"# you override whatever it chooses. Still, vesa will work most places.\n" -"#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" -"\n" -"# A caveat with mouse autodetection is that if it fails, X will retry it\n" -"# over and over. So if it's preseeded to be done, there is a possibility of\n" -"# an infinite loop if the mouse is not autodetected.\n" -"#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" -"\n" -"# Monitor autodetection is recommended.\n" -"xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" -"# Uncomment if you have an LCD display.\n" -"#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" -"# X has three configuration paths for the monitor. Here's how to preseed\n" -"# the \"medium\" path, which is always available. The \"simple\" path may not\n" -"# be available, and the \"advanced\" path asks too many questions.\n" -"xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" -" select medium\n" -"xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" -" select 1024x768 @ 60 Hz\n" -"\n" -"#### Everything else.\n" -"\n" -"# Depending on what software you choose to install, or if things go wrong\n" -"# during the installation process, it's possible that other questions may\n" -"# be asked. You can preseed those too, of course. To get a list of every\n" -"# possible question that could be asked during an install, do an\n" -"# installation, and then run these commands:\n" -"# debconf-get-selections --installer > file\n" -"# debconf-get-selections >> file\n" -"\n" -"# If you like, you can include other preseed files into this one.\n" -"# Any settings in those files will override pre-existing settings from this\n" -"# file. More that 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 preseed file that includes them.\n" -"#d-i preseed/include string x.cfg\n" -"\n" -"# The installer can optionally verify checksums of preseed files before\n" -"# using them. Currently only md5sums are supported, list the md5sums\n" -"# in the same order as the list of files to include.\n" -"#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d\n" -"\n" -"# More flexibly, this runs a shell command and if it outputs the names of\n" -"# preseed files, includes those files. \n" -"#d-i preseed/include_command \\\n" -"# string echo if [ \"`hostname`\" = bob ]; then echo bob.cfg; fi\n" -"\n" -"# To check the format of your preseed file before performing an install,\n" -"# you can use debconf-set-selections:\n" -"# debconf-set-selections -c preseed.cfg" - #. Tag: title -#: random-bits.xml:62 +#: random-bits.xml:52 #, no-c-format msgid "Linux Devices" msgstr "Linux 里的设备" #. Tag: para -#: random-bits.xml:63 +#: random-bits.xml:53 #, no-c-format msgid "" "In Linux you have various special files in <filename>/dev</filename>. These " @@ -1583,289 +826,289 @@ msgstr "" "庭。下面列举了最重要的一些设备文件。" #. Tag: filename -#: random-bits.xml:78 +#: random-bits.xml:68 #, no-c-format msgid "<filename>fd0</filename>" msgstr "<filename>fd0</filename>" #. Tag: entry -#: random-bits.xml:79 +#: random-bits.xml:69 #, no-c-format msgid "First Floppy Drive" msgstr "第一个软驱" #. Tag: filename -#: random-bits.xml:81 +#: random-bits.xml:71 #, no-c-format msgid "<filename>fd1</filename>" msgstr "<filename>fd1</filename>" #. Tag: entry -#: random-bits.xml:82 +#: random-bits.xml:72 #, no-c-format msgid "Second Floppy Drive" msgstr "第二个软驱" #. Tag: filename -#: random-bits.xml:88 +#: random-bits.xml:78 #, no-c-format msgid "<filename>hda</filename>" msgstr "<filename>hda</filename>" #. Tag: entry -#: random-bits.xml:89 +#: random-bits.xml:79 #, no-c-format msgid "IDE Hard disk / CD-ROM on the first IDE port (Master)" msgstr "在第一个 IDE 口(Master)的 IDE 硬盘/光驱" #. Tag: filename -#: random-bits.xml:91 +#: random-bits.xml:81 #, no-c-format msgid "<filename>hdb</filename>" msgstr "<filename>hdb</filename>" #. Tag: entry -#: random-bits.xml:92 +#: random-bits.xml:82 #, no-c-format msgid "IDE Hard disk / CD-ROM on the first IDE port (Slave)" msgstr "在第一个 IDE 口(Slave)的 IDE 硬盘/光驱" #. Tag: filename -#: random-bits.xml:94 +#: random-bits.xml:84 #, no-c-format msgid "<filename>hdc</filename>" msgstr "<filename>hdc</filename>" #. Tag: entry -#: random-bits.xml:95 +#: random-bits.xml:85 #, no-c-format msgid "IDE Hard disk / CD-ROM on the second IDE port (Master)" msgstr "在第二个 IDE 口(Master)的 IDE 硬盘/光驱" #. Tag: filename -#: random-bits.xml:97 +#: random-bits.xml:87 #, no-c-format msgid "<filename>hdd</filename>" msgstr "<filename>hdd</filename>" #. Tag: entry -#: random-bits.xml:98 +#: random-bits.xml:88 #, no-c-format msgid "IDE Hard disk / CD-ROM on the second IDE port (Slave)" msgstr "在第二个 IDE 口(Slave)的 IDE 硬盘/光驱" #. Tag: filename -#: random-bits.xml:100 +#: random-bits.xml:90 #, no-c-format msgid "hda1" msgstr "hda1" #. Tag: entry -#: random-bits.xml:101 +#: random-bits.xml:91 #, no-c-format msgid "First partition of the first IDE hard disk" msgstr "在第一块 IDE 硬盘上的第一个分区" #. Tag: filename -#: random-bits.xml:103 +#: random-bits.xml:93 #, no-c-format msgid "hdd15" msgstr "hdd15" #. Tag: entry -#: random-bits.xml:104 +#: random-bits.xml:94 #, no-c-format msgid "Fifteenth partition of the fourth IDE hard disk" msgstr "在第四块 IDE 硬盘上的第十五个分区" #. Tag: filename -#: random-bits.xml:110 +#: random-bits.xml:100 #, no-c-format msgid "<filename>sda</filename>" msgstr "<filename>sda</filename>" #. Tag: entry -#: random-bits.xml:111 +#: random-bits.xml:101 #, no-c-format msgid "SCSI Hard disk with lowest SCSI ID (e.g. 0)" msgstr "SCSI ID (比如 0)最小的 SCSI 硬盘" #. Tag: filename -#: random-bits.xml:113 +#: random-bits.xml:103 #, no-c-format msgid "<filename>sdb</filename>" msgstr "<filename>sdb</filename>" #. Tag: entry -#: random-bits.xml:114 +#: random-bits.xml:104 #, no-c-format msgid "SCSI Hard disk with next higher SCSI ID (e.g. 1)" msgstr "下一个 SCSI ID (比如 1)的 SCSI 硬盘" #. Tag: filename -#: random-bits.xml:116 +#: random-bits.xml:106 #, no-c-format msgid "<filename>sdc</filename>" msgstr "<filename>sdc</filename>" #. Tag: entry -#: random-bits.xml:117 +#: random-bits.xml:107 #, no-c-format msgid "SCSI Hard disk with next higher SCSI ID (e.g. 2)" msgstr "下一个 SCSI ID (比如 2)的 SCSI 硬盘" #. Tag: filename -#: random-bits.xml:119 +#: random-bits.xml:109 #, no-c-format msgid "sda1" msgstr "sda1" #. Tag: entry -#: random-bits.xml:120 +#: random-bits.xml:110 #, no-c-format msgid "First partition of the first SCSI hard disk" msgstr "在第一块 SCSI 硬盘上的第一个分区" #. Tag: filename -#: random-bits.xml:122 +#: random-bits.xml:112 #, no-c-format msgid "sdd10" msgstr "sdd10" #. Tag: entry -#: random-bits.xml:123 +#: random-bits.xml:113 #, no-c-format msgid "Tenth partition of the fourth SCSI hard disk" msgstr "在第四块 SCSI 硬盘上的第十个分区" #. Tag: filename -#: random-bits.xml:129 +#: random-bits.xml:119 #, no-c-format msgid "<filename>sr0</filename>" msgstr "<filename>sr0</filename>" #. Tag: entry -#: random-bits.xml:130 +#: random-bits.xml:120 #, no-c-format msgid "SCSI CD-ROM with the lowest SCSI ID" msgstr "SCSI ID 最小的 SCSI 光驱" #. Tag: filename -#: random-bits.xml:132 +#: random-bits.xml:122 #, no-c-format msgid "<filename>sr1</filename>" msgstr "<filename>sr1</filename>" #. Tag: entry -#: random-bits.xml:133 +#: random-bits.xml:123 #, no-c-format msgid "SCSI CD-ROM with the next higher SCSI ID" msgstr "下一个 SCSI ID 的 SCSI 光驱" #. Tag: filename -#: random-bits.xml:139 +#: random-bits.xml:129 #, no-c-format msgid "ttyS0" msgstr "ttyS0" #. Tag: entry -#: random-bits.xml:140 +#: random-bits.xml:130 #, no-c-format msgid "Serial port 0, COM1 under MS-DOS" msgstr "串口 0,即 MS-DOS 下的 COM1" #. Tag: filename -#: random-bits.xml:142 +#: random-bits.xml:132 #, no-c-format msgid "ttyS1" msgstr "ttyS1" #. Tag: entry -#: random-bits.xml:143 +#: random-bits.xml:133 #, no-c-format msgid "Serial port 1, COM2 under MS-DOS" msgstr "串口 1,即 MS-DOS 下的 COM2" #. Tag: filename -#: random-bits.xml:145 +#: random-bits.xml:135 #, no-c-format msgid "psaux" msgstr "psaux" #. Tag: entry -#: random-bits.xml:146 +#: random-bits.xml:136 #, no-c-format msgid "PS/2 mouse device" msgstr "PS/2 鼠标设备" #. Tag: filename -#: random-bits.xml:148 +#: random-bits.xml:138 #, no-c-format msgid "gpmdata" msgstr "gpmdata" #. Tag: entry -#: random-bits.xml:149 +#: random-bits.xml:139 #, no-c-format msgid "Pseudo device, repeater data from GPM (mouse) daemon" msgstr "伪设备,中转从GPM(鼠标)服务传来的数据" #. Tag: filename -#: random-bits.xml:155 +#: random-bits.xml:145 #, no-c-format msgid "cdrom" msgstr "cdrom" #. Tag: entry -#: random-bits.xml:156 +#: random-bits.xml:146 #, no-c-format msgid "Symbolic link to the CD-ROM drive" msgstr "指向光驱的符号链接" #. Tag: filename -#: random-bits.xml:158 +#: random-bits.xml:148 #, no-c-format msgid "mouse" msgstr "mouse" #. Tag: entry -#: random-bits.xml:159 +#: random-bits.xml:149 #, no-c-format msgid "Symbolic link to the mouse device file" msgstr "指向鼠标设备文件的符号链接" #. Tag: filename -#: random-bits.xml:165 +#: random-bits.xml:155 #, no-c-format msgid "null" msgstr "null" #. Tag: entry -#: random-bits.xml:166 +#: random-bits.xml:156 #, no-c-format msgid "Everything pointed to this device will disappear" msgstr "所有指向该设备的东西都会消失" #. Tag: filename -#: random-bits.xml:168 +#: random-bits.xml:158 #, no-c-format msgid "zero" msgstr "zero" #. Tag: entry -#: random-bits.xml:169 +#: random-bits.xml:159 #, no-c-format msgid "One can endlessly read zeros out of this device" msgstr "可以从该设备永无休止地读出零" #. Tag: title -#: random-bits.xml:176 +#: random-bits.xml:166 #, no-c-format msgid "Setting Up Your Mouse" msgstr "设定您的鼠标" #. Tag: para -#: random-bits.xml:178 +#: random-bits.xml:168 #, no-c-format msgid "" "The mouse can be used in both the Linux console (with gpm) and the X window " @@ -1894,7 +1137,7 @@ msgstr "" "标协议。" #. Tag: para -#: random-bits.xml:190 +#: random-bits.xml:180 #, no-c-format msgid "" "This approach to use gpm even in X has advantages when the mouse is " @@ -1911,7 +1154,7 @@ msgstr "" "了。" #. Tag: para -#: random-bits.xml:199 +#: random-bits.xml:189 #, no-c-format msgid "" "If gpm is disabled or not installed with some reason, make sure to set X to " @@ -1929,7 +1172,7 @@ msgstr "" "ulink> 里设置一下,让 X 使用原始的鼠标协议。" #. Tag: para -#: random-bits.xml:209 +#: random-bits.xml:199 #, no-c-format msgid "" "For PowerPC, in <filename>/etc/X11/XF86Config</filename> or <filename>/etc/" @@ -1941,7 +1184,7 @@ msgstr "" "dev/input/mice\"</userinput>。" #. Tag: para -#: random-bits.xml:215 +#: random-bits.xml:205 #, no-c-format msgid "" "Modern kernels give you the capability to emulate a three-button mouse when " @@ -1952,7 +1195,7 @@ msgstr "" "加入 <filename>/etc/sysctl.conf</filename> 文件。" #. Tag: screen -#: random-bits.xml:221 +#: random-bits.xml:211 #, no-c-format msgid "" "# 3-button mouse emulation\n" @@ -1974,13 +1217,13 @@ msgstr "" "# For different keys, use showkey to tell you what the code is." #. Tag: title -#: random-bits.xml:228 +#: random-bits.xml:218 #, no-c-format msgid "Disk Space Needed for Tasks" msgstr "各软件集所需的磁盘空间" #. Tag: para -#: random-bits.xml:240 +#: random-bits.xml:230 #, no-c-format msgid "" "The base installation for i386 using the default 2.4 kernel, including all " @@ -1990,7 +1233,7 @@ msgstr "" "含了所有的标准软件包。" #. Tag: para -#: random-bits.xml:245 +#: random-bits.xml:235 #, no-c-format msgid "" "The following table lists sizes reported by aptitude for the tasks listed in " @@ -2003,7 +1246,7 @@ msgstr "" "装后所占的空间,可能会小于这两个软件集分别安装所占的空间。" #. Tag: para -#: random-bits.xml:252 +#: random-bits.xml:242 #, no-c-format msgid "" "Note that you will need to add the sizes listed in the table to the size of " @@ -2017,193 +1260,193 @@ msgstr "" "寸</quote>是(临时地)用在 <filename>/var</filename>。" #. Tag: entry -#: random-bits.xml:265 +#: random-bits.xml:255 #, no-c-format msgid "Task" msgstr "任务" #. Tag: entry -#: random-bits.xml:266 +#: random-bits.xml:256 #, no-c-format msgid "Installed size (MB)" msgstr "安装尺寸 (MB)" #. Tag: entry -#: random-bits.xml:267 +#: random-bits.xml:257 #, no-c-format msgid "Download size (MB)" msgstr "下载尺寸 (MB)" #. Tag: entry -#: random-bits.xml:268 +#: random-bits.xml:258 #, no-c-format msgid "Space needed to install (MB)" msgstr "用于安装所需空间 (MB)" #. Tag: entry -#: random-bits.xml:274 +#: random-bits.xml:264 #, no-c-format msgid "Desktop" msgstr "桌面" #. Tag: entry -#: random-bits.xml:275 +#: random-bits.xml:265 #, no-c-format msgid "1392" msgstr "1392" #. Tag: entry -#: random-bits.xml:276 +#: random-bits.xml:266 #, no-c-format msgid "<entry>460</entry>" msgstr "<entry>460</entry>" #. Tag: entry -#: random-bits.xml:277 +#: random-bits.xml:267 #, no-c-format msgid "1852" msgstr "1852" #. Tag: entry -#: random-bits.xml:281 +#: random-bits.xml:271 #, no-c-format msgid "Web server" msgstr "Web 服务器" #. Tag: entry -#: random-bits.xml:282 +#: random-bits.xml:272 #, no-c-format msgid "<entry>36</entry>" msgstr "<entry>36</entry>" #. Tag: entry -#: random-bits.xml:283 +#: random-bits.xml:273 #, no-c-format msgid "<entry>12</entry>" msgstr "<entry>12</entry>" #. Tag: entry -#: random-bits.xml:284 +#: random-bits.xml:274 #, no-c-format msgid "<entry>48</entry>" msgstr "<entry>48</entry>" #. Tag: entry -#: random-bits.xml:288 +#: random-bits.xml:278 #, no-c-format msgid "Print server" msgstr "打印服务器" #. Tag: entry -#: random-bits.xml:289 +#: random-bits.xml:279 #, no-c-format msgid "<entry>168</entry>" msgstr "<entry>168</entry>" #. Tag: entry -#: random-bits.xml:290 +#: random-bits.xml:280 #, no-c-format msgid "<entry>58</entry>" msgstr "<entry>58</entry>" #. Tag: entry -#: random-bits.xml:291 +#: random-bits.xml:281 #, no-c-format msgid "<entry>226</entry>" msgstr "<entry>226</entry>" #. Tag: entry -#: random-bits.xml:295 +#: random-bits.xml:285 #, no-c-format msgid "DNS server" msgstr "DNS 服务器" #. Tag: entry -#: random-bits.xml:296 +#: random-bits.xml:286 #, no-c-format msgid "<entry>2</entry>" msgstr "<entry>2</entry>" #. Tag: entry -#: random-bits.xml:297 +#: random-bits.xml:287 #, no-c-format msgid "<entry>1</entry>" msgstr "<entry>1</entry>" #. Tag: entry -#: random-bits.xml:298 random-bits.xml:311 +#: random-bits.xml:288 random-bits.xml:301 #, no-c-format msgid "<entry>3</entry>" msgstr "<entry>3</entry>" #. Tag: entry -#: random-bits.xml:302 +#: random-bits.xml:292 #, no-c-format msgid "File server" msgstr "文件服务器" #. Tag: entry -#: random-bits.xml:303 +#: random-bits.xml:293 #, no-c-format msgid "<entry>47</entry>" msgstr "<entry>47</entry>" #. Tag: entry -#: random-bits.xml:304 +#: random-bits.xml:294 #, no-c-format msgid "<entry>24</entry>" msgstr "<entry>24</entry>" #. Tag: entry -#: random-bits.xml:305 +#: random-bits.xml:295 #, no-c-format msgid "<entry>71</entry>" msgstr "<entry>71</entry>" #. Tag: entry -#: random-bits.xml:309 +#: random-bits.xml:299 #, no-c-format msgid "Mail server" msgstr "邮件服务器" #. Tag: entry -#: random-bits.xml:310 +#: random-bits.xml:300 #, no-c-format msgid "<entry>10</entry>" msgstr "<entry>10</entry>" #. Tag: entry -#: random-bits.xml:312 +#: random-bits.xml:302 #, no-c-format msgid "<entry>13</entry>" msgstr "<entry>13</entry>" #. Tag: entry -#: random-bits.xml:316 +#: random-bits.xml:306 #, no-c-format msgid "SQL database" msgstr "SQL 数据库" #. Tag: entry -#: random-bits.xml:317 +#: random-bits.xml:307 #, no-c-format msgid "<entry>66</entry>" msgstr "<entry>66</entry>" #. Tag: entry -#: random-bits.xml:318 +#: random-bits.xml:308 #, no-c-format msgid "<entry>21</entry>" msgstr "<entry>21</entry>" #. Tag: entry -#: random-bits.xml:319 +#: random-bits.xml:309 #, no-c-format msgid "<entry>87</entry>" msgstr "<entry>87</entry>" #. Tag: para -#: random-bits.xml:325 +#: random-bits.xml:315 #, no-c-format msgid "" "The <emphasis>Desktop</emphasis> task will install both the Gnome and KDE " @@ -2211,7 +1454,7 @@ msgid "" msgstr "<emphasis>桌面</emphasis> 任务将同时安装 Gnome 和 KDE 桌面环境。" #. Tag: para -#: random-bits.xml:332 +#: random-bits.xml:322 #, no-c-format msgid "" "If you install in a language other than English, <command>tasksel</command> " @@ -2224,13 +1467,13 @@ msgstr "" "不同;您应该给 200MB 以上的空间用于下载和安装。" #. Tag: title -#: random-bits.xml:347 +#: random-bits.xml:337 #, no-c-format msgid "Installing &debian; from a Unix/Linux System" msgstr "通过 Unix/Linux 系统来安装 &debian;" #. Tag: para -#: random-bits.xml:349 +#: random-bits.xml:339 #, no-c-format msgid "" "This section explains how to install &debian; from an existing Unix or Linux " @@ -2251,7 +1494,7 @@ msgstr "" "中输入的。" #. Tag: para -#: random-bits.xml:361 +#: random-bits.xml:351 #, no-c-format msgid "" "Once you've got the new Debian system configured to your preference, you can " @@ -2266,13 +1509,13 @@ msgstr "" "过任何引导或者安装介质完成安装的权宜之计。" #. Tag: title -#: random-bits.xml:373 +#: random-bits.xml:363 #, no-c-format msgid "Getting Started" msgstr "准备运动" #. Tag: para -#: random-bits.xml:374 +#: random-bits.xml:364 #, no-c-format msgid "" "With your current *nix partitioning tools, repartition the hard drive as " @@ -2285,7 +1528,7 @@ msgstr "" "X,就需要至少 300MB 的空间了。" #. Tag: para -#: random-bits.xml:381 +#: random-bits.xml:371 #, no-c-format msgid "" "To create file systems on your partitions. For example, to create an ext3 " @@ -2303,7 +1546,7 @@ msgstr "" "<userinput>-j</userinput>。" #. Tag: para -#: random-bits.xml:391 +#: random-bits.xml:381 #, no-c-format msgid "" "Initialize and activate swap (substitute the partition number for your " @@ -2326,7 +1569,7 @@ msgstr "" "统)。挂载点的名称是任意的,后面的步骤将会用到它。" #. Tag: screen -#: random-bits.xml:403 +#: random-bits.xml:393 #, no-c-format msgid "" "# mkdir /mnt/debinst\n" @@ -2336,7 +1579,7 @@ msgstr "" "# mount /dev/hda6 /mnt/debinst" #. Tag: para -#: random-bits.xml:406 +#: random-bits.xml:396 #, no-c-format msgid "" "If you want to have parts of the filesystem (e.g. /usr) mounted on separate " @@ -2347,13 +1590,13 @@ msgstr "" "手动创建和加载这些目录。" #. Tag: title -#: random-bits.xml:416 +#: random-bits.xml:406 #, no-c-format msgid "Install <command>debootstrap</command>" msgstr "安装 <command>debootstrap</command>" #. Tag: para -#: random-bits.xml:417 +#: random-bits.xml:407 #, no-c-format msgid "" "The tool that the Debian installer uses, which is recognized as the official " @@ -2370,7 +1613,7 @@ msgstr "" "载并安装 <command>debootstrap</command>。" #. Tag: para -#: random-bits.xml:427 +#: random-bits.xml:417 #, no-c-format msgid "" "If you have an rpm-based system, you can use alien to convert the .deb into ." @@ -2382,7 +1625,7 @@ msgstr "" "debian.org/~blade/install/debootstrap\"></ulink>" #. Tag: para -#: random-bits.xml:433 +#: random-bits.xml:423 #, no-c-format msgid "" "Or, you can use the following procedure to install it manually. Make a work " @@ -2408,7 +1651,7 @@ msgstr "" "的权限。" #. Tag: screen -#: random-bits.xml:448 +#: random-bits.xml:438 #, no-c-format msgid "" "# ar -x debootstrap_0.X.X_arch.deb\n" @@ -2420,7 +1663,7 @@ msgstr "" "# zcat /full-path-to-work/work/data.tar.gz | tar xv" #. Tag: para -#: random-bits.xml:450 +#: random-bits.xml:440 #, no-c-format msgid "" "Note that running <command>debootstrap</command> may require you to have a " @@ -2434,13 +1677,13 @@ msgstr "" "下工具。" #. Tag: title -#: random-bits.xml:461 +#: random-bits.xml:451 #, no-c-format msgid "Run <command>debootstrap</command>" msgstr "运行 <command>debootstrap</command>" #. Tag: para -#: random-bits.xml:462 +#: random-bits.xml:452 #, no-c-format msgid "" "<command>debootstrap</command> can download the needed files directly from " @@ -2456,7 +1699,7 @@ msgstr "" "README.mirrors\"></ulink>。" #. Tag: para -#: random-bits.xml:471 +#: random-bits.xml:461 #, no-c-format msgid "" "If you have a &releasename; &debian; CD mounted at <filename>/cdrom</" @@ -2468,7 +1711,7 @@ msgstr "" "debian/</userinput>" #. Tag: para -#: random-bits.xml:477 +#: random-bits.xml:467 #, no-c-format msgid "" "Substitute one of the following for <replaceable>ARCH</replaceable> in the " @@ -2488,7 +1731,7 @@ msgstr "" "<userinput>sparc</userinput>。" #. Tag: screen -#: random-bits.xml:494 +#: random-bits.xml:484 #, no-c-format msgid "" "# /usr/sbin/debootstrap --arch ARCH &releasename; \\\n" @@ -2498,13 +1741,13 @@ msgstr "" "http://http.us.debian.org/debian" #. Tag: title -#: random-bits.xml:500 +#: random-bits.xml:490 #, no-c-format msgid "Configure The Base System" msgstr "基系统的配置" #. Tag: para -#: random-bits.xml:501 +#: random-bits.xml:491 #, no-c-format msgid "" "Now you've got a real Debian system, though rather lean, on disk. " @@ -2514,19 +1757,19 @@ msgstr "" "<command>Chroot</command> 用来进入该系统:" #. Tag: screen -#: random-bits.xml:506 +#: random-bits.xml:496 #, no-c-format msgid "# LANG= chroot /mnt/debinst /bin/bash" msgstr "# LANG= chroot /mnt/debinst /bin/bash" #. Tag: title -#: random-bits.xml:511 +#: random-bits.xml:501 #, no-c-format msgid "Mount Partitions" msgstr "分区的挂载" #. Tag: para -#: random-bits.xml:512 +#: random-bits.xml:502 #, no-c-format msgid "" "You need to create <filename>/etc/fstab</filename>. " @@ -2588,13 +1831,13 @@ msgstr "" "a</userinput>,那么请一定要再接着做之前先把 proc 挂载好:" #. Tag: screen -#: random-bits.xml:532 +#: random-bits.xml:522 #, no-c-format msgid "# mount -t proc proc /proc" msgstr "# mount -t proc proc /proc" #. Tag: para -#: random-bits.xml:534 +#: random-bits.xml:524 #, no-c-format msgid "" "The command <userinput>ls /proc</userinput> should now show a non-empty " @@ -2605,31 +1848,31 @@ msgstr "" "chroot: 以为加载 proc。" #. Tag: screen -#: random-bits.xml:540 +#: random-bits.xml:530 #, no-c-format msgid "# mount -t proc proc /mnt/debinst/proc" msgstr "# mount -t proc proc /mnt/debinst/proc" #. Tag: title -#: random-bits.xml:546 +#: random-bits.xml:536 #, no-c-format msgid "Configure Keyboard" msgstr "键盘的配置" #. Tag: para -#: random-bits.xml:547 +#: random-bits.xml:537 #, no-c-format msgid "To configure your keyboard:" msgstr "若要配置您的键盘,请:" #. Tag: screen -#: random-bits.xml:551 +#: random-bits.xml:541 #, no-c-format msgid "# dpkg-reconfigure console-data" msgstr "# dpkg-reconfigure console-data" #. Tag: para -#: random-bits.xml:553 +#: random-bits.xml:543 #, no-c-format msgid "" "Note that the keyboard cannot be set while in the chroot, but will be " @@ -2637,13 +1880,13 @@ msgid "" msgstr "注意,在 chroot 里面不能设置键盘,但重新启动以后可以。" #. Tag: title -#: random-bits.xml:562 +#: random-bits.xml:552 #, no-c-format msgid "Configure Networking" msgstr "网络的配置" #. Tag: para -#: random-bits.xml:563 +#: random-bits.xml:553 #, no-c-format msgid "" "To configure networking, edit <filename>/etc/network/interfaces</filename>, " @@ -2740,13 +1983,13 @@ msgstr "" "在系统启动时,每块网卡就能获得您所预期的 interface 名称了 (eth0、eth1 等等)。" #. Tag: title -#: random-bits.xml:599 +#: random-bits.xml:589 #, no-c-format msgid "Configure Timezone, Users, and APT" msgstr "时区、用户和 APT 的配置" #. Tag: para -#: random-bits.xml:600 +#: random-bits.xml:590 #, no-c-format msgid "" "Set your timezone, add a normal user, and choose your <command>apt</command> " @@ -2756,19 +1999,19 @@ msgstr "" "command> 源" #. Tag: screen -#: random-bits.xml:605 +#: random-bits.xml:595 #, no-c-format msgid "# /usr/sbin/base-config new" msgstr "# /usr/sbin/base-config new" #. Tag: title -#: random-bits.xml:611 +#: random-bits.xml:601 #, no-c-format msgid "Configure Locales" msgstr "locales 的设置" #. Tag: para -#: random-bits.xml:612 +#: random-bits.xml:602 #, no-c-format msgid "" "To configure your locale settings to use a language other than English, " @@ -2789,13 +2032,13 @@ msgstr "" "本地化指南(localisation HOWTO)。" #. Tag: title -#: random-bits.xml:628 +#: random-bits.xml:618 #, no-c-format msgid "Install a Kernel" msgstr "内核的安装" #. Tag: para -#: random-bits.xml:629 +#: random-bits.xml:619 #, no-c-format msgid "" "If you intend to boot this system, you probably want a Linux kernel and a " @@ -2811,7 +2054,7 @@ msgstr "" "来安装它。" #. Tag: screen -#: random-bits.xml:638 +#: random-bits.xml:628 #, no-c-format msgid "" "# apt-get install kernel-image-<replaceable>2.X.X-arch-etc</replaceable>" @@ -2819,13 +2062,13 @@ msgstr "" "# apt-get install kernel-image-<replaceable>2.X.X-arch-etc</replaceable>" #. Tag: title -#: random-bits.xml:644 +#: random-bits.xml:634 #, no-c-format msgid "Set up the Boot Loader" msgstr "Boot Loader 的设置" #. Tag: para -#: random-bits.xml:645 +#: random-bits.xml:635 #, no-c-format msgid "" "To make your &debian; system bootable, set up your boot loader to load the " @@ -2838,7 +2081,7 @@ msgstr "" "Debian 的 chroot 中使用 apt-get 完成。" #. Tag: para -#: random-bits.xml:652 +#: random-bits.xml:642 #, no-c-format msgid "" "Check <userinput>info grub</userinput> or <userinput>man lilo.conf</" @@ -2859,13 +2102,13 @@ msgstr "" "它就会用哪个系统里的 <filename>lilo.conf</filename> )。" #. Tag: para -#: random-bits.xml:663 +#: random-bits.xml:653 #, no-c-format msgid "Here is a basic <filename>/etc/lilo.conf</filename> as an example:" msgstr "下面有一个简单的<filename>/etc/lilo.conf</filename> 作为例子:" #. Tag: screen -#: random-bits.xml:667 +#: random-bits.xml:657 #, no-c-format msgid "" "boot=/dev/hda6\n" @@ -2885,7 +2128,7 @@ msgstr "" "label=Debian" #. Tag: para -#: random-bits.xml:669 +#: random-bits.xml:659 #, no-c-format msgid "" "Check <userinput>man yaboot.conf</userinput> for instructions on setting up " @@ -2903,7 +2146,7 @@ msgstr "" "filename> )。" #. Tag: para -#: random-bits.xml:679 +#: random-bits.xml:669 #, no-c-format msgid "" "Here is a basic <filename>/etc/yaboot.conf</filename> as an example: " @@ -2933,13 +2176,13 @@ msgstr "" "userinput> 换成 <userinput>hd:</userinput>。" #. Tag: title -#: random-bits.xml:697 +#: random-bits.xml:687 #, no-c-format msgid "Installing &debian; over Parallel Line IP (PLIP)" msgstr "通过 Parallel Line IP (PLIP) 来安装 &debian;" #. Tag: para -#: random-bits.xml:699 +#: random-bits.xml:689 #, no-c-format msgid "" "This section explains how to install &debian; on a computer without Ethernet " @@ -2952,7 +2195,7 @@ msgstr "" "具有 Debian 镜像的网络(例如,互联网)。" #. Tag: para -#: random-bits.xml:707 +#: random-bits.xml:697 #, no-c-format msgid "" "In the example in this appendix we will set up a PLIP connection using a " @@ -2966,7 +2209,7 @@ msgstr "" "IP 地址(这些地址在您的网络地址空间里面未被占用)。" #. Tag: para -#: random-bits.xml:715 +#: random-bits.xml:705 #, no-c-format msgid "" "The PLIP connection set up during the installation will also be available " @@ -2977,7 +2220,7 @@ msgstr "" "linkend=\"boot-new\"/>)。" #. Tag: para -#: random-bits.xml:720 +#: random-bits.xml:710 #, no-c-format msgid "" "Before you start, you will need to check the BIOS configuration (IO base " @@ -2989,13 +2232,13 @@ msgstr "" "为 <literal>io=0x378</literal>,<literal>irq=7</literal>。" #. Tag: title -#: random-bits.xml:730 +#: random-bits.xml:720 #, no-c-format msgid "Requirements" msgstr "需求" #. Tag: para -#: random-bits.xml:733 +#: random-bits.xml:723 #, no-c-format msgid "" "A target computer, called <emphasis>target</emphasis>, where Debian will be " @@ -3003,13 +2246,13 @@ msgid "" msgstr "目标计算机,称为 <emphasis>target</emphasis>,将安装 Debian 在上面。" #. Tag: para -#: random-bits.xml:739 +#: random-bits.xml:729 #, no-c-format msgid "System installation media; see <xref linkend=\"installation-media\"/>." msgstr "系统安装介质;参阅 <xref linkend=\"installation-media\"/>。" #. Tag: para -#: random-bits.xml:744 +#: random-bits.xml:734 #, no-c-format msgid "" "Another computer connected to the Internet, called <emphasis>source</" @@ -3018,7 +2261,7 @@ msgstr "" "另外一台连接到互联网的计算机,称为 <emphasis>source</emphasis>,功能是网关。" #. Tag: para -#: random-bits.xml:750 +#: random-bits.xml:740 #, no-c-format msgid "" "A DB-25 Null-Modem cable. See the <ulink url=\"&url-plip-install-howto;" @@ -3029,13 +2272,13 @@ msgstr "" "Install-HOWTO</ulink> 了解这种线的更多信息,以及如何自己制作。" #. Tag: title -#: random-bits.xml:762 +#: random-bits.xml:752 #, no-c-format msgid "Setting up source" msgstr "建立源" #. Tag: para -#: random-bits.xml:763 +#: random-bits.xml:753 #, no-c-format msgid "" "The following shell script is a simple example of how to configure the " @@ -3045,7 +2288,7 @@ msgstr "" "算机。" #. Tag: screen -#: random-bits.xml:768 +#: random-bits.xml:758 #, no-c-format msgid "" "#!/bin/sh\n" @@ -3087,13 +2330,13 @@ msgstr "" "echo 1 > /proc/sys/net/ipv4/ip_forward" #. Tag: title -#: random-bits.xml:774 +#: random-bits.xml:764 #, no-c-format msgid "Installing target" msgstr "安装目标" #. Tag: para -#: random-bits.xml:775 +#: random-bits.xml:765 #, no-c-format msgid "" "Boot the installation media. The installation needs to be run in expert " @@ -3104,13 +2347,13 @@ msgstr "" "userinput>。下面是安装过程中不同阶段的应答。" #. Tag: guimenuitem -#: random-bits.xml:787 +#: random-bits.xml:777 #, no-c-format msgid "Load installer components" msgstr "加载安装组件" #. Tag: para -#: random-bits.xml:789 +#: random-bits.xml:779 #, no-c-format msgid "" "Select the <userinput>plip-modules</userinput> option from the list; this " @@ -3120,13 +2363,13 @@ msgstr "" "用 PLIP 驱动。" #. Tag: guimenuitem -#: random-bits.xml:797 +#: random-bits.xml:787 #, no-c-format msgid "Detect network hardware" msgstr "侦测网络硬件" #. Tag: para -#: random-bits.xml:802 +#: random-bits.xml:792 #, no-c-format msgid "" "If target <emphasis>does</emphasis> have a network card, a list of driver " @@ -3139,13 +2382,13 @@ msgstr "" "系统没有网卡,安装程序不会显示该列表。" #. Tag: para -#: random-bits.xml:811 +#: random-bits.xml:801 #, no-c-format msgid "Prompt for module parameters: Yes" msgstr "提示模块参数: Yes" #. Tag: para -#: random-bits.xml:816 +#: random-bits.xml:806 #, no-c-format msgid "" "Because no network card was detected/selected earlier, the installer will " @@ -3156,7 +2399,7 @@ msgstr "" "<userinput>plip</userinput> 模块。" #. Tag: para -#: random-bits.xml:823 +#: random-bits.xml:813 #, no-c-format msgid "" "Additional parameters for module parport_pc: " @@ -3166,25 +2409,25 @@ msgstr "" "<userinput><replaceable>io=0x378 irq=7</replaceable></userinput>" #. Tag: para -#: random-bits.xml:829 +#: random-bits.xml:819 #, no-c-format msgid "Additional parameters for module plip: leave empty" msgstr "Additional parameters for module plip: 保持空白" #. Tag: guimenuitem -#: random-bits.xml:839 +#: random-bits.xml:829 #, no-c-format msgid "Configure the network" msgstr "配置网络" #. Tag: para -#: random-bits.xml:842 +#: random-bits.xml:832 #, no-c-format msgid "Auto-configure network with DHCP: No" msgstr "Auto-configure network with DHCP: No" #. Tag: para -#: random-bits.xml:847 +#: random-bits.xml:837 #, no-c-format msgid "" "IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>" @@ -3192,7 +2435,7 @@ msgstr "" "IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>" #. Tag: para -#: random-bits.xml:852 +#: random-bits.xml:842 #, no-c-format msgid "" "Point-to-point address: <userinput><replaceable>192.168.0.2</replaceable></" @@ -3202,7 +2445,7 @@ msgstr "" "userinput>" #. Tag: para -#: random-bits.xml:858 +#: random-bits.xml:848 #, no-c-format msgid "" "Name server addresses: you can enter the same addresses used on source (see " @@ -3210,3 +2453,835 @@ msgid "" msgstr "" "Name server addresses: 您可以使用与源计算机相同的地址 (参阅 <filename>/etc/" "resolv.conf</filename>)" + +#~ msgid "The example file is also available from &urlset-example-preseed;." +#~ msgstr "例子文件还可以从 &urlset-example-preseed; 获得。" + +#~ msgid "" +#~ "#### Startup.\n" +#~ "\n" +#~ "# To use a preseed file, you'll first need to boot the installer,\n" +#~ "# and tell it what preseed file to use. This is done by passing the\n" +#~ "# kernel a boot parameter, either manually at boot or by editing the\n" +#~ "# syslinux.cfg (or similar) file and adding the parameter to the end\n" +#~ "# of the append line(s) for the kernel.\n" +#~ "#\n" +#~ "# If you're netbooting, use this:\n" +#~ "# preseed/url=http://host/path/to/preseed\n" +#~ "# If you're remastering a CD, you could use this:\n" +#~ "# preseed/file=/cdrom/preseed\n" +#~ "# If you're installing from USB media, use this, and put the preseed " +#~ "file\n" +#~ "# in the toplevel directory of the USB stick.\n" +#~ "# preseed/file=/hd-media/preseed\n" +#~ "#\n" +#~ "# If you feel comfortable modifying the installer's initrd image,\n" +#~ "# you can also place a preseed file in the root directory of the " +#~ "initrd's\n" +#~ "# filesystem, named \"preseed.cfg\" -- the installer will always use " +#~ "this\n" +#~ "# file if it is present. Otherwise, be sure to copy this file to the " +#~ "location\n" +#~ "# you specify.\n" +#~ "#\n" +#~ "# To make sure the installer gets the right preseed file, you can " +#~ "specify\n" +#~ "# a checksum for the file. Currently this needs to be a md5sum, and if\n" +#~ "# specified it must match the file or the installer will refuse to use " +#~ "the\n" +#~ "# file.\n" +#~ "# preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n" +#~ "# preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n" +#~ "#\n" +#~ "# Some parts of the installation process cannot be automated using\n" +#~ "# some forms of preseeding, because the questions are asked before\n" +#~ "# the preseed file is loaded. For example, if the preseed file is\n" +#~ "# downloaded over the network, the network setup must be done first.\n" +#~ "# One reason to use initrd preseeding is that it allows preseeding\n" +#~ "# of even these early steps of the installation process.\n" +#~ "#\n" +#~ "# If a preseed file cannot be used to preseed some steps, the install " +#~ "can\n" +#~ "# still be fully automated, since you can pass preseed values to the " +#~ "kernel\n" +#~ "# on the command line. Just pass path/to/var=value for any of the " +#~ "preseed\n" +#~ "# variables listed below.\n" +#~ "#\n" +#~ "# While you're at it, you may want to throw a debconf/priority=critical " +#~ "in\n" +#~ "# there, to avoid most questions even if the preseeding below misses " +#~ "some.\n" +#~ "# And you might set the timeout to 1 in syslinux.cfg to avoid needing to " +#~ "hit\n" +#~ "# enter to boot the installer.\n" +#~ "#\n" +#~ "# Note that the 2.4 kernel accepts a maximum of 8 command line options " +#~ "and\n" +#~ "# 8 environment options (including any options added by default for the\n" +#~ "# installer). If these numbers are exceeded, 2.4 kernels will drop any\n" +#~ "# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,\n" +#~ "# you can use 32 command line options and 32 environment options.\n" +#~ "#\n" +#~ "# Some of the default options, like 'vga=normal' may be safely removed\n" +#~ "# for most installations, which may allow you to add more options for\n" +#~ "# preseeding.\n" +#~ "\n" +#~ "# To select your language and country, use this setting, but remember\n" +#~ "# that this will only work for initrd based preseeding, for other forms " +#~ "of\n" +#~ "# preseeding you must convert it into a kernel parameter,\n" +#~ "# such as debian-installer/locale=en_US\n" +#~ "d-i debian-installer/locale string en_US\n" +#~ "\n" +#~ "# To select your keyboard, use this setting. Again it will need to be\n" +#~ "# passed as a kernel parameter for most preseed setups.\n" +#~ "d-i console-keymaps-at/keymap select us\n" +#~ "\n" +#~ "#### Network configuration.\n" +#~ "\n" +#~ "# Of course, this won't work if you're loading your preseed file from " +#~ "the\n" +#~ "# network! But it's great if you're booting from CD or USB stick. You " +#~ "can\n" +#~ "# also pass network config parameters in on the kernel params if you are\n" +#~ "# loading preseed files from the network.\n" +#~ "\n" +#~ "# netcfg will choose an interface that has link if possible. This makes " +#~ "it\n" +#~ "# skip displaying a list if there is more than one interface.\n" +#~ "d-i netcfg/choose_interface select auto\n" +#~ "\n" +#~ "# If you have a slow dhcp server and the installer times out waiting for\n" +#~ "# it, this might be useful.\n" +#~ "#d-i netcfg/dhcp_timeout string 60\n" +#~ "\n" +#~ "# If you prefer to configure the network manually, here's how:\n" +#~ "#d-i netcfg/disable_dhcp boolean true\n" +#~ "#d-i netcfg/get_nameservers string 192.168.1.1\n" +#~ "#d-i netcfg/get_ipaddress string 192.168.1.42\n" +#~ "#d-i netcfg/get_netmask string 255.255.255.0\n" +#~ "#d-i netcfg/get_gateway string 192.168.1.1\n" +#~ "#d-i netcfg/confirm_static boolean true\n" +#~ "\n" +#~ "# Note that any hostname and domain names assigned from dhcp take\n" +#~ "# precedence over values set here. However, setting the values still\n" +#~ "# prevents the questions from being shown even if values come from dhcp.\n" +#~ "d-i netcfg/get_hostname string unassigned-hostname\n" +#~ "d-i netcfg/get_domain string unassigned-domain\n" +#~ "\n" +#~ "# Disable that annoying WEP key dialog.\n" +#~ "d-i netcfg/wireless_wep string\n" +#~ "# The wacky dhcp hostname that some ISPs use as a password of sorts.\n" +#~ "#d-i netcfg/dhcp_hostname string radish\n" +#~ "\n" +#~ "#### Mirror settings.\n" +#~ "\n" +#~ "d-i mirror/country string enter information manually\n" +#~ "d-i mirror/http/hostname string http.us.debian.org\n" +#~ "d-i mirror/http/directory string /debian\n" +#~ "d-i mirror/http/proxy string\n" +#~ "\n" +#~ "# What suite of Debian to install.\n" +#~ "#d-i mirror/suite string testing\n" +#~ "# What suite of Debian to use for loading installer components.\n" +#~ "# (Defaults to same as mirror/suite.)\n" +#~ "#d-i mirror/udeb/suite string testing\n" +#~ "\n" +#~ "#### Partitioning.\n" +#~ "\n" +#~ "# If the system has free space you can choose to only partition that " +#~ "space.\n" +#~ "#d-i partman-auto/init_automatically_partition \\\n" +#~ "# select Use the largest continuous free space\n" +#~ "\n" +#~ "# Alternatively, you can specify a disk to partition. The device name " +#~ "can\n" +#~ "# be given in either devfs or traditional non-devfs format.\n" +#~ "# For example, to use the first disk devfs knows of:\n" +#~ "d-i partman-auto/disk string /dev/discs/disc0/disc\n" +#~ "\n" +#~ "# You can choose from any of the predefined partitioning recipes:\n" +#~ "d-i partman-auto/choose_recipe \\\n" +#~ " select All files in one partition (recommended for new users)\n" +#~ "#d-i partman-auto/choose_recipe \\\n" +#~ "# select Separate /home partition\n" +#~ "#d-i partman-auto/choose_recipe \\\n" +#~ "# 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" +#~ "# 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 the preseed file in one (logical)\n" +#~ "# line. This example creates a small /boot partition, suitable swap, and\n" +#~ "# uses the rest of the space for the root partition:\n" +#~ "#d-i partman-auto/expert_recipe string \\\n" +#~ "# boot-root :: \\\n" +#~ "# 40 50 100 ext3 \\\n" +#~ "# $primary{ } $bootable{ } \\\n" +#~ "# method{ format } format{ } \\\n" +#~ "# use_filesystem{ } filesystem{ ext3 } \\\n" +#~ "# mountpoint{ /boot } \\\n" +#~ "# . \\\n" +#~ "# 500 10000 1000000000 ext3 \\\n" +#~ "# method{ format } format{ } \\\n" +#~ "# use_filesystem{ } filesystem{ ext3 } \\\n" +#~ "# mountpoint{ / } \\\n" +#~ "# . \\\n" +#~ "# 64 512 300% linux-swap \\\n" +#~ "# method{ swap } format{ } \\\n" +#~ "# .\n" +#~ "\n" +#~ "# This makes partman automatically partition without confirmation.\n" +#~ "d-i partman/confirm_write_new_label boolean true\n" +#~ "d-i partman/choose_partition \\\n" +#~ " select Finish partitioning and write changes to disk\n" +#~ "d-i partman/confirm boolean true\n" +#~ "\n" +#~ "#### Boot loader installation.\n" +#~ "\n" +#~ "# Grub is the default boot loader (for x86). If you want lilo installed\n" +#~ "# instead, uncomment this:\n" +#~ "#d-i grub-installer/skip boolean true\n" +#~ "\n" +#~ "# This is fairly safe to set, it makes grub install automatically to the " +#~ "MBR\n" +#~ "# if no other operating system is detected on the machine.\n" +#~ "d-i grub-installer/only_debian boolean true\n" +#~ "\n" +#~ "# This one makes grub-installer install to the MBR if if finds some other " +#~ "OS\n" +#~ "# too, which is less safe as it might not be able to boot that other OS.\n" +#~ "d-i grub-installer/with_other_os boolean true\n" +#~ "\n" +#~ "# Alternatively, if you want to install to a location other than the " +#~ "mbr,\n" +#~ "# uncomment and edit these lines:\n" +#~ "#d-i grub-installer/bootdev string (hd0,0)\n" +#~ "#d-i grub-installer/only_debian boolean false\n" +#~ "#d-i grub-installer/with_other_os boolean false\n" +#~ "\n" +#~ "#### Finishing up the first stage install.\n" +#~ "\n" +#~ "# Avoid that last message about the install being complete.\n" +#~ "d-i prebaseconfig/reboot_in_progress note\n" +#~ "\n" +#~ "# This will prevent the installer from ejecting the CD during the " +#~ "reboot,\n" +#~ "# which is useful in some situations.\n" +#~ "#d-i cdrom-detect/eject boolean false\n" +#~ "\n" +#~ "#### Shell commands.\n" +#~ "\n" +#~ "# d-i preseeding is inherently not secure. Nothing in the installer " +#~ "checks\n" +#~ "# for attempts at buffer overflows or other exploits of the values of a\n" +#~ "# preseed file like this one. Only use preseed files from trusted\n" +#~ "# locations! To drive that home, and because it's generally useful, " +#~ "here's\n" +#~ "# a way to run any shell command you'd like inside the installer,\n" +#~ "# automatically.\n" +#~ "\n" +#~ "# This first command is run as early as possible, just after\n" +#~ "# preseeding is read.\n" +#~ "#d-i preseed/early_command string anna-install some-udeb\n" +#~ "\n" +#~ "# This command is run just before the install finishes, but when there " +#~ "is\n" +#~ "# still a usable /target directory.\n" +#~ "#d-i preseed/late_command string echo foo > /target/etc/bar\n" +#~ "\n" +#~ "# This command is run just as base-config is starting up.\n" +#~ "#base-config base-config/early_command string echo hi mom\n" +#~ "\n" +#~ "# This command is run after base-config is done, just before the login:\n" +#~ "# prompt. This is a good way to install a set of packages you want, or " +#~ "to\n" +#~ "# tweak the configuration of the system.\n" +#~ "#base-config base-config/late_command \\\n" +#~ "# string apt-get install zsh; chsh -s /bin/zsh\n" +#~ "\n" +#~ "###### Preseeding the 2nd stage of the installation.\n" +#~ "\n" +#~ "#### Preseeding base-config.\n" +#~ "\n" +#~ "# Avoid the introductory message.\n" +#~ "base-config base-config/intro note\n" +#~ "\n" +#~ "# Avoid the final message.\n" +#~ "base-config base-config/login note\n" +#~ "\n" +#~ "# If you installed a display manager, but don't want to start it " +#~ "immediately\n" +#~ "# after base-config finishes.\n" +#~ "#base-config base-config/start-display-manager boolean false\n" +#~ "\n" +#~ "# Some versions of the installer can report back on what you've " +#~ "installed.\n" +#~ "# The default is not to report back, but sending reports helps the " +#~ "project\n" +#~ "# determine what software is most popular and include it on CDs.\n" +#~ "#popularity-contest popularity-contest/participate boolean false\n" +#~ "\n" +#~ "#### Clock and time zone setup.\n" +#~ "\n" +#~ "# Controls whether or not the hardware clock is set to UTC.\n" +#~ "d-i clock-setup/utc boolean true\n" +#~ "\n" +#~ "# You may set this to any valid setting for $TZ; see the contents of\n" +#~ "# /usr/share/zoneinfo/ for options.\n" +#~ "d-i time/zone string US/Eastern\n" +#~ "\n" +#~ "#### Account setup.\n" +#~ "\n" +#~ "# To preseed the root password, you have to put it in the clear in this\n" +#~ "# file. That is not a very good idea, use caution!\n" +#~ "#passwd passwd/root-password password r00tme\n" +#~ "#passwd passwd/root-password-again password r00tme\n" +#~ "\n" +#~ "# If you want to skip creation of a normal user account.\n" +#~ "#passwd passwd/make-user boolean false\n" +#~ "\n" +#~ "# Alternatively, you can preseed the user's name and login.\n" +#~ "#passwd passwd/user-fullname string Debian User\n" +#~ "#passwd passwd/username string debian\n" +#~ "# And their password, but use caution!\n" +#~ "#passwd passwd/user-password password insecure\n" +#~ "#passwd passwd/user-password-again password insecure\n" +#~ "\n" +#~ "#### Apt setup.\n" +#~ "\n" +#~ "# This question controls what source the second stage installation uses\n" +#~ "# for packages. Choices are cdrom, http, ftp, filesystem, edit sources " +#~ "list\n" +#~ "# by hand\n" +#~ "base-config apt-setup/uri_type select http\n" +#~ "\n" +#~ "# If you choose ftp or http, you'll be asked for a country and a mirror.\n" +#~ "base-config apt-setup/country select enter information manually\n" +#~ "base-config apt-setup/hostname string http.us.debian.org\n" +#~ "base-config apt-setup/directory string /debian\n" +#~ "# Stop after choosing one mirror.\n" +#~ "base-config apt-setup/another boolean false\n" +#~ "\n" +#~ "# You can choose to install non-free and contrib software.\n" +#~ "#base-config apt-setup/non-free boolean true\n" +#~ "#base-config apt-setup/contrib boolean true\n" +#~ "\n" +#~ "# Do enable security updates.\n" +#~ "base-config apt-setup/security-updates boolean true\n" +#~ "\n" +#~ "#### Package selection.\n" +#~ "\n" +#~ "# You can choose to install any combination of tasks that are available.\n" +#~ "# Available tasks as of this writing include: Desktop environment,\n" +#~ "# Web server, Print server, DNS server, File server, Mail server,\n" +#~ "# SQL database, Laptop, Standard system, manual package selection. The\n" +#~ "# last of those will run aptitude. You can also choose to install no\n" +#~ "# tasks, and force the installation of a set of packages in some other\n" +#~ "# way. We recommend always including the Standard system task.\n" +#~ "tasksel tasksel/first multiselect Desktop environment, Standard system\n" +#~ "#tasksel tasksel/first multiselect Web server, Standard system\n" +#~ "\n" +#~ "#### Mailer configuration.\n" +#~ "\n" +#~ "# During a normal install, exim asks only a few questions. Here's how to\n" +#~ "# avoid even those. More complicated preseeding is possible.\n" +#~ "exim4-config exim4/dc_eximconfig_configtype \\\n" +#~ " select no configuration at this time\n" +#~ "exim4-config exim4/no_config boolean true\n" +#~ "exim4-config exim4/no_config boolean true\n" +#~ "\n" +#~ "# It's a good idea to set this to whatever user account you choose to\n" +#~ "# create. Leaving the value blank results in postmaster mail going to\n" +#~ "# /var/mail/mail.\n" +#~ "exim4-config exim4/dc_postmaster string\n" +#~ "\n" +#~ "#### X Configuration.\n" +#~ "\n" +#~ "# Preseeding Debian's X config is possible, but you probably need to " +#~ "know\n" +#~ "# some details about the video hardware of the machine, since Debian's X\n" +#~ "# configurator does not do fully automatic configuration of everything.\n" +#~ "\n" +#~ "# X can detect the right driver for some cards, but if you're " +#~ "preseeding,\n" +#~ "# you override whatever it chooses. Still, vesa will work most places.\n" +#~ "#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" +#~ "\n" +#~ "# A caveat with mouse autodetection is that if it fails, X will retry it\n" +#~ "# over and over. So if it's preseeded to be done, there is a possibility " +#~ "of\n" +#~ "# an infinite loop if the mouse is not autodetected.\n" +#~ "#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" +#~ "\n" +#~ "# Monitor autodetection is recommended.\n" +#~ "xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" +#~ "# Uncomment if you have an LCD display.\n" +#~ "#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" +#~ "# X has three configuration paths for the monitor. Here's how to preseed\n" +#~ "# the \"medium\" path, which is always available. The \"simple\" path may " +#~ "not\n" +#~ "# be available, and the \"advanced\" path asks too many questions.\n" +#~ "xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" +#~ " select medium\n" +#~ "xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" +#~ " select 1024x768 @ 60 Hz\n" +#~ "\n" +#~ "#### Everything else.\n" +#~ "\n" +#~ "# Depending on what software you choose to install, or if things go " +#~ "wrong\n" +#~ "# during the installation process, it's possible that other questions " +#~ "may\n" +#~ "# be asked. You can preseed those too, of course. To get a list of every\n" +#~ "# possible question that could be asked during an install, do an\n" +#~ "# installation, and then run these commands:\n" +#~ "# debconf-get-selections --installer > file\n" +#~ "# debconf-get-selections >> file\n" +#~ "\n" +#~ "# If you like, you can include other preseed files into this one.\n" +#~ "# Any settings in those files will override pre-existing settings from " +#~ "this\n" +#~ "# file. More that 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 preseed file that includes them.\n" +#~ "#d-i preseed/include string x.cfg\n" +#~ "\n" +#~ "# The installer can optionally verify checksums of preseed files before\n" +#~ "# using them. Currently only md5sums are supported, list the md5sums\n" +#~ "# in the same order as the list of files to include.\n" +#~ "#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d\n" +#~ "\n" +#~ "# More flexibly, this runs a shell command and if it outputs the names " +#~ "of\n" +#~ "# preseed files, includes those files. \n" +#~ "#d-i preseed/include_command \\\n" +#~ "# string echo if [ \"`hostname`\" = bob ]; then echo bob.cfg; fi\n" +#~ "\n" +#~ "# To check the format of your preseed file before performing an install,\n" +#~ "# you can use debconf-set-selections:\n" +#~ "# debconf-set-selections -c preseed.cfg" +#~ msgstr "" +#~ "#### Startup.\n" +#~ "\n" +#~ "# To use a preseed file, you'll first need to boot the installer,\n" +#~ "# and tell it what preseed file to use. This is done by passing the\n" +#~ "# kernel a boot parameter, either manually at boot or by editing the\n" +#~ "# syslinux.cfg (or similar) file and adding the parameter to the end\n" +#~ "# of the append line(s) for the kernel.\n" +#~ "#\n" +#~ "# If you're netbooting, use this:\n" +#~ "# preseed/url=http://host/path/to/preseed\n" +#~ "# If you're remastering a CD, you could use this:\n" +#~ "# preseed/file=/cdrom/preseed\n" +#~ "# If you're installing from USB media, use this, and put the preseed " +#~ "file\n" +#~ "# in the toplevel directory of the USB stick.\n" +#~ "# preseed/file=/hd-media/preseed\n" +#~ "#\n" +#~ "# If you feel comfortable modifying the installer's initrd image,\n" +#~ "# you can also place a preseed file in the root directory of the " +#~ "initrd's\n" +#~ "# filesystem, named \"preseed.cfg\" -- the installer will always use " +#~ "this\n" +#~ "# file if it is present. Otherwise, be sure to copy this file to the " +#~ "location\n" +#~ "# you specify.\n" +#~ "#\n" +#~ "# To make sure the installer gets the right preseed file, you can " +#~ "specify\n" +#~ "# a checksum for the file. Currently this needs to be a md5sum, and if\n" +#~ "# specified it must match the file or the installer will refuse to use " +#~ "the\n" +#~ "# file.\n" +#~ "# preseed/url/checksum=5da499872becccfeda2c4872f9171c3d\n" +#~ "# preseed/file/checksum=5da499872becccfeda2c4872f9171c3d\n" +#~ "#\n" +#~ "# Some parts of the installation process cannot be automated using\n" +#~ "# some forms of preseeding, because the questions are asked before\n" +#~ "# the preseed file is loaded. For example, if the preseed file is\n" +#~ "# downloaded over the network, the network setup must be done first.\n" +#~ "# One reason to use initrd preseeding is that it allows preseeding\n" +#~ "# of even these early steps of the installation process.\n" +#~ "#\n" +#~ "# If a preseed file cannot be used to preseed some steps, the install " +#~ "can\n" +#~ "# still be fully automated, since you can pass preseed values to the " +#~ "kernel\n" +#~ "# on the command line. Just pass path/to/var=value for any of the " +#~ "preseed\n" +#~ "# variables listed below.\n" +#~ "#\n" +#~ "# While you're at it, you may want to throw a debconf/priority=critical " +#~ "in\n" +#~ "# there, to avoid most questions even if the preseeding below misses " +#~ "some.\n" +#~ "# And you might set the timeout to 1 in syslinux.cfg to avoid needing to " +#~ "hit\n" +#~ "# enter to boot the installer.\n" +#~ "#\n" +#~ "# Note that the 2.4 kernel accepts a maximum of 8 command line options " +#~ "and\n" +#~ "# 8 environment options (including any options added by default for the\n" +#~ "# installer). If these numbers are exceeded, 2.4 kernels will drop any\n" +#~ "# excess options and 2.6 kernels will panic. With kernel 2.6.9 or newer,\n" +#~ "# you can use 32 command line options and 32 environment options.\n" +#~ "#\n" +#~ "# Some of the default options, like 'vga=normal' may be safely removed\n" +#~ "# for most installations, which may allow you to add more options for\n" +#~ "# preseeding.\n" +#~ "\n" +#~ "# To select your language and country, use this setting, but remember\n" +#~ "# that this will only work for initrd based preseeding, for other forms " +#~ "of\n" +#~ "# preseeding you must convert it into a kernel parameter,\n" +#~ "# such as debian-installer/locale=en_US\n" +#~ "d-i debian-installer/locale string en_US\n" +#~ "\n" +#~ "# To select your keyboard, use this setting. Again it will need to be\n" +#~ "# passed as a kernel parameter for most preseed setups.\n" +#~ "d-i console-keymaps-at/keymap select us\n" +#~ "\n" +#~ "#### Network configuration.\n" +#~ "\n" +#~ "# Of course, this won't work if you're loading your preseed file from " +#~ "the\n" +#~ "# network! But it's great if you're booting from CD or USB stick. You " +#~ "can\n" +#~ "# also pass network config parameters in on the kernel params if you are\n" +#~ "# loading preseed files from the network.\n" +#~ "\n" +#~ "# netcfg will choose an interface that has link if possible. This makes " +#~ "it\n" +#~ "# skip displaying a list if there is more than one interface.\n" +#~ "d-i netcfg/choose_interface select auto\n" +#~ "\n" +#~ "# If you have a slow dhcp server and the installer times out waiting for\n" +#~ "# it, this might be useful.\n" +#~ "#d-i netcfg/dhcp_timeout string 60\n" +#~ "\n" +#~ "# If you prefer to configure the network manually, here's how:\n" +#~ "#d-i netcfg/disable_dhcp boolean true\n" +#~ "#d-i netcfg/get_nameservers string 192.168.1.1\n" +#~ "#d-i netcfg/get_ipaddress string 192.168.1.42\n" +#~ "#d-i netcfg/get_netmask string 255.255.255.0\n" +#~ "#d-i netcfg/get_gateway string 192.168.1.1\n" +#~ "#d-i netcfg/confirm_static boolean true\n" +#~ "\n" +#~ "# Note that any hostname and domain names assigned from dhcp take\n" +#~ "# precedence over values set here. However, setting the values still\n" +#~ "# prevents the questions from being shown even if values come from dhcp.\n" +#~ "d-i netcfg/get_hostname string unassigned-hostname\n" +#~ "d-i netcfg/get_domain string unassigned-domain\n" +#~ "\n" +#~ "# Disable that annoying WEP key dialog.\n" +#~ "d-i netcfg/wireless_wep string\n" +#~ "# The wacky dhcp hostname that some ISPs use as a password of sorts.\n" +#~ "#d-i netcfg/dhcp_hostname string radish\n" +#~ "\n" +#~ "#### Mirror settings.\n" +#~ "\n" +#~ "d-i mirror/country string enter information manually\n" +#~ "d-i mirror/http/hostname string http.us.debian.org\n" +#~ "d-i mirror/http/directory string /debian\n" +#~ "d-i mirror/http/proxy string\n" +#~ "\n" +#~ "# What suite of Debian to install.\n" +#~ "#d-i mirror/suite string testing\n" +#~ "# What suite of Debian to use for loading installer components.\n" +#~ "# (Defaults to same as mirror/suite.)\n" +#~ "#d-i mirror/udeb/suite string testing\n" +#~ "\n" +#~ "#### Partitioning.\n" +#~ "\n" +#~ "# If the system has free space you can choose to only partition that " +#~ "space.\n" +#~ "#d-i partman-auto/init_automatically_partition \\\n" +#~ "# select Use the largest continuous free space\n" +#~ "\n" +#~ "# Alternatively, you can specify a disk to partition. The device name " +#~ "can\n" +#~ "# be given in either devfs or traditional non-devfs format.\n" +#~ "# For example, to use the first disk devfs knows of:\n" +#~ "d-i partman-auto/disk string /dev/discs/disc0/disc\n" +#~ "\n" +#~ "# You can choose from any of the predefined partitioning recipes:\n" +#~ "d-i partman-auto/choose_recipe \\\n" +#~ " select All files in one partition (recommended for new users)\n" +#~ "#d-i partman-auto/choose_recipe \\\n" +#~ "# select Separate /home partition\n" +#~ "#d-i partman-auto/choose_recipe \\\n" +#~ "# 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" +#~ "# 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 the preseed file in one (logical)\n" +#~ "# line. This example creates a small /boot partition, suitable swap, and\n" +#~ "# uses the rest of the space for the root partition:\n" +#~ "#d-i partman-auto/expert_recipe string \\\n" +#~ "# boot-root :: \\\n" +#~ "# 40 50 100 ext3 \\\n" +#~ "# $primary{ } $bootable{ } \\\n" +#~ "# method{ format } format{ } \\\n" +#~ "# use_filesystem{ } filesystem{ ext3 } \\\n" +#~ "# mountpoint{ /boot } \\\n" +#~ "# . \\\n" +#~ "# 500 10000 1000000000 ext3 \\\n" +#~ "# method{ format } format{ } \\\n" +#~ "# use_filesystem{ } filesystem{ ext3 } \\\n" +#~ "# mountpoint{ / } \\\n" +#~ "# . \\\n" +#~ "# 64 512 300% linux-swap \\\n" +#~ "# method{ swap } format{ } \\\n" +#~ "# .\n" +#~ "\n" +#~ "# This makes partman automatically partition without confirmation.\n" +#~ "d-i partman/confirm_write_new_label boolean true\n" +#~ "d-i partman/choose_partition \\\n" +#~ " select Finish partitioning and write changes to disk\n" +#~ "d-i partman/confirm boolean true\n" +#~ "\n" +#~ "#### Boot loader installation.\n" +#~ "\n" +#~ "# Grub is the default boot loader (for x86). If you want lilo installed\n" +#~ "# instead, uncomment this:\n" +#~ "#d-i grub-installer/skip boolean true\n" +#~ "\n" +#~ "# This is fairly safe to set, it makes grub install automatically to the " +#~ "MBR\n" +#~ "# if no other operating system is detected on the machine.\n" +#~ "d-i grub-installer/only_debian boolean true\n" +#~ "\n" +#~ "# This one makes grub-installer install to the MBR if if finds some other " +#~ "OS\n" +#~ "# too, which is less safe as it might not be able to boot that other OS.\n" +#~ "d-i grub-installer/with_other_os boolean true\n" +#~ "\n" +#~ "# Alternatively, if you want to install to a location other than the " +#~ "mbr,\n" +#~ "# uncomment and edit these lines:\n" +#~ "#d-i grub-installer/bootdev string (hd0,0)\n" +#~ "#d-i grub-installer/only_debian boolean false\n" +#~ "#d-i grub-installer/with_other_os boolean false\n" +#~ "\n" +#~ "#### Finishing up the first stage install.\n" +#~ "\n" +#~ "# Avoid that last message about the install being complete.\n" +#~ "d-i prebaseconfig/reboot_in_progress note\n" +#~ "\n" +#~ "# This will prevent the installer from ejecting the CD during the " +#~ "reboot,\n" +#~ "# which is useful in some situations.\n" +#~ "#d-i cdrom-detect/eject boolean false\n" +#~ "\n" +#~ "#### Shell commands.\n" +#~ "\n" +#~ "# d-i preseeding is inherently not secure. Nothing in the installer " +#~ "checks\n" +#~ "# for attempts at buffer overflows or other exploits of the values of a\n" +#~ "# preseed file like this one. Only use preseed files from trusted\n" +#~ "# locations! To drive that home, and because it's generally useful, " +#~ "here's\n" +#~ "# a way to run any shell command you'd like inside the installer,\n" +#~ "# automatically.\n" +#~ "\n" +#~ "# This first command is run as early as possible, just after\n" +#~ "# preseeding is read.\n" +#~ "#d-i preseed/early_command string anna-install some-udeb\n" +#~ "\n" +#~ "# This command is run just before the install finishes, but when there " +#~ "is\n" +#~ "# still a usable /target directory.\n" +#~ "#d-i preseed/late_command string echo foo > /target/etc/bar\n" +#~ "\n" +#~ "# This command is run just as base-config is starting up.\n" +#~ "#base-config base-config/early_command string echo hi mom\n" +#~ "\n" +#~ "# This command is run after base-config is done, just before the login:\n" +#~ "# prompt. This is a good way to install a set of packages you want, or " +#~ "to\n" +#~ "# tweak the configuration of the system.\n" +#~ "#base-config base-config/late_command \\\n" +#~ "# string apt-get install zsh; chsh -s /bin/zsh\n" +#~ "\n" +#~ "###### Preseeding the 2nd stage of the installation.\n" +#~ "\n" +#~ "#### Preseeding base-config.\n" +#~ "\n" +#~ "# Avoid the introductory message.\n" +#~ "base-config base-config/intro note\n" +#~ "\n" +#~ "# Avoid the final message.\n" +#~ "base-config base-config/login note\n" +#~ "\n" +#~ "# If you installed a display manager, but don't want to start it " +#~ "immediately\n" +#~ "# after base-config finishes.\n" +#~ "#base-config base-config/start-display-manager boolean false\n" +#~ "\n" +#~ "# Some versions of the installer can report back on what you've " +#~ "installed.\n" +#~ "# The default is not to report back, but sending reports helps the " +#~ "project\n" +#~ "# determine what software is most popular and include it on CDs.\n" +#~ "#popularity-contest popularity-contest/participate boolean false\n" +#~ "\n" +#~ "#### Clock and time zone setup.\n" +#~ "\n" +#~ "# Controls whether or not the hardware clock is set to UTC.\n" +#~ "d-i clock-setup/utc boolean true\n" +#~ "\n" +#~ "# You may set this to any valid setting for $TZ; see the contents of\n" +#~ "# /usr/share/zoneinfo/ for options.\n" +#~ "d-i time/zone string US/Eastern\n" +#~ "\n" +#~ "#### Account setup.\n" +#~ "\n" +#~ "# To preseed the root password, you have to put it in the clear in this\n" +#~ "# file. That is not a very good idea, use caution!\n" +#~ "#passwd passwd/root-password password r00tme\n" +#~ "#passwd passwd/root-password-again password r00tme\n" +#~ "\n" +#~ "# If you want to skip creation of a normal user account.\n" +#~ "#passwd passwd/make-user boolean false\n" +#~ "\n" +#~ "# Alternatively, you can preseed the user's name and login.\n" +#~ "#passwd passwd/user-fullname string Debian User\n" +#~ "#passwd passwd/username string debian\n" +#~ "# And their password, but use caution!\n" +#~ "#passwd passwd/user-password password insecure\n" +#~ "#passwd passwd/user-password-again password insecure\n" +#~ "\n" +#~ "#### Apt setup.\n" +#~ "\n" +#~ "# This question controls what source the second stage installation uses\n" +#~ "# for packages. Choices are cdrom, http, ftp, filesystem, edit sources " +#~ "list\n" +#~ "# by hand\n" +#~ "base-config apt-setup/uri_type select http\n" +#~ "\n" +#~ "# If you choose ftp or http, you'll be asked for a country and a mirror.\n" +#~ "base-config apt-setup/country select enter information manually\n" +#~ "base-config apt-setup/hostname string http.us.debian.org\n" +#~ "base-config apt-setup/directory string /debian\n" +#~ "# Stop after choosing one mirror.\n" +#~ "base-config apt-setup/another boolean false\n" +#~ "\n" +#~ "# You can choose to install non-free and contrib software.\n" +#~ "#base-config apt-setup/non-free boolean true\n" +#~ "#base-config apt-setup/contrib boolean true\n" +#~ "\n" +#~ "# Do enable security updates.\n" +#~ "base-config apt-setup/security-updates boolean true\n" +#~ "\n" +#~ "#### Package selection.\n" +#~ "\n" +#~ "# You can choose to install any combination of tasks that are available.\n" +#~ "# Available tasks as of this writing include: Desktop environment,\n" +#~ "# Web server, Print server, DNS server, File server, Mail server,\n" +#~ "# SQL database, Laptop, Standard system, manual package selection. The\n" +#~ "# last of those will run aptitude. You can also choose to install no\n" +#~ "# tasks, and force the installation of a set of packages in some other\n" +#~ "# way. We recommend always including the Standard system task.\n" +#~ "tasksel tasksel/first multiselect Desktop environment, Standard system\n" +#~ "#tasksel tasksel/first multiselect Web server, Standard system\n" +#~ "\n" +#~ "#### Mailer configuration.\n" +#~ "\n" +#~ "# During a normal install, exim asks only a few questions. Here's how to\n" +#~ "# avoid even those. More complicated preseeding is possible.\n" +#~ "exim4-config exim4/dc_eximconfig_configtype \\\n" +#~ " select no configuration at this time\n" +#~ "exim4-config exim4/no_config boolean true\n" +#~ "exim4-config exim4/no_config boolean true\n" +#~ "\n" +#~ "# It's a good idea to set this to whatever user account you choose to\n" +#~ "# create. Leaving the value blank results in postmaster mail going to\n" +#~ "# /var/mail/mail.\n" +#~ "exim4-config exim4/dc_postmaster string\n" +#~ "\n" +#~ "#### X Configuration.\n" +#~ "\n" +#~ "# Preseeding Debian's X config is possible, but you probably need to " +#~ "know\n" +#~ "# some details about the video hardware of the machine, since Debian's X\n" +#~ "# configurator does not do fully automatic configuration of everything.\n" +#~ "\n" +#~ "# X can detect the right driver for some cards, but if you're " +#~ "preseeding,\n" +#~ "# you override whatever it chooses. Still, vesa will work most places.\n" +#~ "#xserver-xfree86 xserver-xfree86/config/device/driver select vesa\n" +#~ "\n" +#~ "# A caveat with mouse autodetection is that if it fails, X will retry it\n" +#~ "# over and over. So if it's preseeded to be done, there is a possibility " +#~ "of\n" +#~ "# an infinite loop if the mouse is not autodetected.\n" +#~ "#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true\n" +#~ "\n" +#~ "# Monitor autodetection is recommended.\n" +#~ "xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true\n" +#~ "# Uncomment if you have an LCD display.\n" +#~ "#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true\n" +#~ "# X has three configuration paths for the monitor. Here's how to preseed\n" +#~ "# the \"medium\" path, which is always available. The \"simple\" path may " +#~ "not\n" +#~ "# be available, and the \"advanced\" path asks too many questions.\n" +#~ "xserver-xfree86 xserver-xfree86/config/monitor/selection-method \\\n" +#~ " select medium\n" +#~ "xserver-xfree86 xserver-xfree86/config/monitor/mode-list \\\n" +#~ " select 1024x768 @ 60 Hz\n" +#~ "\n" +#~ "#### Everything else.\n" +#~ "\n" +#~ "# Depending on what software you choose to install, or if things go " +#~ "wrong\n" +#~ "# during the installation process, it's possible that other questions " +#~ "may\n" +#~ "# be asked. You can preseed those too, of course. To get a list of every\n" +#~ "# possible question that could be asked during an install, do an\n" +#~ "# installation, and then run these commands:\n" +#~ "# debconf-get-selections --installer > file\n" +#~ "# debconf-get-selections >> file\n" +#~ "\n" +#~ "# If you like, you can include other preseed files into this one.\n" +#~ "# Any settings in those files will override pre-existing settings from " +#~ "this\n" +#~ "# file. More that 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 preseed file that includes them.\n" +#~ "#d-i preseed/include string x.cfg\n" +#~ "\n" +#~ "# The installer can optionally verify checksums of preseed files before\n" +#~ "# using them. Currently only md5sums are supported, list the md5sums\n" +#~ "# in the same order as the list of files to include.\n" +#~ "#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d\n" +#~ "\n" +#~ "# More flexibly, this runs a shell command and if it outputs the names " +#~ "of\n" +#~ "# preseed files, includes those files. \n" +#~ "#d-i preseed/include_command \\\n" +#~ "# string echo if [ \"`hostname`\" = bob ]; then echo bob.cfg; fi\n" +#~ "\n" +#~ "# To check the format of your preseed file before performing an install,\n" +#~ "# you can use debconf-set-selections:\n" +#~ "# debconf-set-selections -c preseed.cfg" |