creatingpartition.po 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><title>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:11
  20. msgid "Creating a New Partition"
  21. msgstr ""
  22. #. type: Content of: <sect1><para>
  23. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:13
  24. msgid ""
  25. "Like most other operating systems, LFS is usually installed on a dedicated "
  26. "partition. The recommended approach to building an LFS system is to use an "
  27. "available empty partition or, if you have enough unpartitioned space, to "
  28. "create one."
  29. msgstr ""
  30. #. type: Content of: <sect1><para>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:18
  32. msgid ""
  33. "A minimal system requires a partition of around 10 gigabytes (GB). This is "
  34. "enough to store all the source tarballs and compile the packages. However, "
  35. "if the LFS system is intended to be the primary Linux system, additional "
  36. "software will probably be installed which will require additional space. A "
  37. "30 GB partition is a reasonable size to provide for growth. The LFS system "
  38. "itself will not take up this much room. A large portion of this requirement "
  39. "is to provide sufficient free temporary storage as well as for adding "
  40. "additional capabilities after LFS is complete. Additionally, compiling "
  41. "packages can require a lot of disk space which will be reclaimed after the "
  42. "package is installed."
  43. msgstr ""
  44. #. type: Content of: <sect1><para>
  45. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:29
  46. msgid ""
  47. "Because there is not always enough Random Access Memory (RAM) available for "
  48. "compilation processes, it is a good idea to use a small disk partition as "
  49. "<systemitem class=\"filesystem\">swap</systemitem> space. This is used by "
  50. "the kernel to store seldom-used data and leave more memory available for "
  51. "active processes. The <systemitem class=\"filesystem\">swap</systemitem> "
  52. "partition for an LFS system can be the same as the one used by the host "
  53. "system, in which case it is not necessary to create another one."
  54. msgstr ""
  55. #. type: Content of: <sect1><para>
  56. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:37
  57. msgid ""
  58. "Start a disk partitioning program such as <command>cfdisk</command> or "
  59. "<command>fdisk</command> with a command line option naming the hard disk on "
  60. "which the new partition will be created&mdash;for example <filename "
  61. "class=\"devicefile\">/dev/sda</filename> for the primary disk drive. Create "
  62. "a Linux native partition and a <systemitem "
  63. "class=\"filesystem\">swap</systemitem> partition, if needed. Please refer to "
  64. "<filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if you do "
  65. "not yet know how to use the programs."
  66. msgstr ""
  67. #. type: Content of: <sect1><note><para>
  68. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:46
  69. msgid ""
  70. "For experienced users, other partitioning schemes are possible. The new LFS "
  71. "system can be on a software <ulink "
  72. "url=\"&blfs-book;postlfs/raid.html\">RAID</ulink> array or an <ulink "
  73. "url=\"&blfs-book;postlfs/aboutlvm.html\">LVM</ulink> logical volume. "
  74. "However, some of these options require an <ulink "
  75. "url=\"&blfs-book;postlfs/initramfs.html\">initramfs</ulink>, which is an "
  76. "advanced topic. These partitioning methodologies are not recommended for "
  77. "first time LFS users."
  78. msgstr ""
  79. #. type: Content of: <sect1><para>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:55
  81. msgid ""
  82. "Remember the designation of the new partition (e.g., <filename "
  83. "class=\"devicefile\">sda5</filename>). This book will refer to this as the "
  84. "LFS partition. Also remember the designation of the <systemitem "
  85. "class=\"filesystem\">swap</systemitem> partition. These names will be needed "
  86. "later for the <filename>/etc/fstab</filename> file."
  87. msgstr ""
  88. #. type: Content of: <sect1><sect2><title>
  89. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:62
  90. msgid "Other Partition Issues"
  91. msgstr ""
  92. #. type: Content of: <sect1><sect2><para>
  93. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:64
  94. msgid ""
  95. "Requests for advice on system partitioning are often posted on the LFS "
  96. "mailing lists. This is a highly subjective topic. The default for most "
  97. "distributions is to use the entire drive with the exception of one small "
  98. "swap partition. This is not optimal for LFS for several reasons. It "
  99. "reduces flexibility, makes sharing of data across multiple distributions or "
  100. "LFS builds more difficult, makes backups more time consuming, and can waste "
  101. "disk space through inefficient allocation of file system structures."
  102. msgstr ""
  103. #. type: Content of: <sect1><sect2><sect3><title>
  104. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:73
  105. msgid "The Root Partition"
  106. msgstr ""
  107. #. type: Content of: <sect1><sect2><sect3><para>
  108. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:75
  109. msgid ""
  110. "A root LFS partition (not to be confused with the <filename "
  111. "class=\"directory\">/root</filename> directory) of twenty gigabytes is a "
  112. "good compromise for most systems. It provides enough space to build LFS and "
  113. "most of BLFS, but is small enough so that multiple partitions can be easily "
  114. "created for experimentation."
  115. msgstr ""
  116. #. type: Content of: <sect1><sect2><sect3><title>
  117. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:82
  118. msgid "The Swap Partition"
  119. msgstr ""
  120. #. type: Content of: <sect1><sect2><sect3><para>
  121. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:84
  122. msgid ""
  123. "Most distributions automatically create a swap partition. Generally the "
  124. "recommended size of the swap partition is about twice the amount of physical "
  125. "RAM, however this is rarely needed. If disk space is limited, hold the swap "
  126. "partition to two gigabytes and monitor the amount of disk swapping."
  127. msgstr ""
  128. #. type: Content of: <sect1><sect2><sect3><para>
  129. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:90
  130. msgid ""
  131. "If you want to use the hibernation feature (suspend-to-disk) of Linux, it "
  132. "writes out the contents of RAM to the swap partition before turning off the "
  133. "machine. In this case the size of the swap partition should be at least as "
  134. "large as the system's installed RAM."
  135. msgstr ""
  136. #. type: Content of: <sect1><sect2><sect3><para>
  137. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:95
  138. msgid ""
  139. "Swapping is never good. For mechanical hard drives you can generally tell if "
  140. "a system is swapping by just listening to disk activity and observing how "
  141. "the system reacts to commands. For an SSD drive you will not be able to "
  142. "hear swapping but you can tell how much swap space is being used by the "
  143. "<command>top</command> or <command>free</command> programs. Use of an SSD "
  144. "drive for a swap partition should be avoided if possible. The first "
  145. "reaction to swapping should be to check for an unreasonable command such as "
  146. "trying to edit a five gigabyte file. If swapping becomes a normal "
  147. "occurrence, the best solution is to purchase more RAM for your system."
  148. msgstr ""
  149. #. type: Content of: <sect1><sect2><sect3><title>
  150. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:107
  151. msgid "The Grub Bios Partition"
  152. msgstr ""
  153. #. type: Content of: <sect1><sect2><sect3><para>
  154. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:109
  155. msgid ""
  156. "If the <emphasis>boot disk</emphasis> has been partitioned with a GUID "
  157. "Partition Table (GPT), then a small, typically 1 MB, partition must be "
  158. "created if it does not already exist. This partition is not formatted, but "
  159. "must be available for GRUB to use during installation of the boot "
  160. "loader. This partition will normally be labeled 'BIOS Boot' if using "
  161. "<command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if "
  162. "using <command>gdisk</command>."
  163. msgstr ""
  164. #. type: Content of: <sect1><sect2><sect3><note><para>
  165. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:117
  166. msgid ""
  167. "The Grub Bios partition must be on the drive that the BIOS uses to boot the "
  168. "system. This is not necessarily the same drive where the LFS root partition "
  169. "is located. Disks on a system may use different partition table types. The "
  170. "requirement for this partition depends only on the partition table type of "
  171. "the boot disk."
  172. msgstr ""
  173. #. type: Content of: <sect1><sect2><sect3><title>
  174. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:125
  175. msgid "Convenience Partitions"
  176. msgstr ""
  177. #. type: Content of: <sect1><sect2><sect3><para>
  178. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:127
  179. msgid ""
  180. "There are several other partitions that are not required, but should be "
  181. "considered when designing a disk layout. The following list is not "
  182. "comprehensive, but is meant as a guide."
  183. msgstr ""
  184. #. type: Content of: <sect1><sect2><sect3><itemizedlist><listitem><para>
  185. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:133
  186. msgid ""
  187. "/boot &ndash; Highly recommended. Use this partition to store kernels and "
  188. "other booting information. To minimize potential boot problems with larger "
  189. "disks, make this the first physical partition on your first disk drive. A "
  190. "partition size of 200 megabytes is quite adequate."
  191. msgstr ""
  192. #. type: Content of: <sect1><sect2><sect3><itemizedlist><listitem><para>
  193. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:139
  194. msgid ""
  195. "/home &ndash; Highly recommended. Share your home directory and user "
  196. "customization across multiple distributions or LFS builds. The size is "
  197. "generally fairly large and depends on available disk space."
  198. msgstr ""
  199. #. type: Content of: <sect1><sect2><sect3><itemizedlist><listitem><para>
  200. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:144
  201. msgid ""
  202. "/usr &ndash; A separate /usr partition is generally used if providing a "
  203. "server for a thin client or diskless workstation. It is normally not needed "
  204. "for LFS. A size of ten gigabytes will handle most installations."
  205. msgstr ""
  206. #. type: Content of: <sect1><sect2><sect3><itemizedlist><listitem><para>
  207. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:149
  208. msgid ""
  209. "/opt &ndash; This directory is most useful for BLFS where multiple "
  210. "installations of large packages like Gnome or KDE can be installed without "
  211. "embedding the files in the /usr hierarchy. If used, 5 to 10 gigabytes is "
  212. "generally adequate."
  213. msgstr ""
  214. #. type: Content of: <sect1><sect2><sect3><itemizedlist><listitem><para>
  215. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:155
  216. msgid ""
  217. "/tmp &ndash; A separate /tmp directory is rare, but useful if configuring a "
  218. "thin client. This partition, if used, will usually not need to exceed a "
  219. "couple of gigabytes."
  220. msgstr ""
  221. #. type: Content of: <sect1><sect2><sect3><itemizedlist><listitem><para>
  222. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:159
  223. msgid ""
  224. "/usr/src &ndash; This partition is very useful for providing a location to "
  225. "store BLFS source files and share them across LFS builds. It can also be "
  226. "used as a location for building BLFS packages. A reasonably large partition "
  227. "of 30-50 gigabytes allows plenty of room."
  228. msgstr ""
  229. #. type: Content of: <sect1><sect2><sect3><para>
  230. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/creatingpartition.xml:167
  231. msgid ""
  232. "Any separate partition that you want automatically mounted upon boot needs "
  233. "to be specified in the <filename>/etc/fstab</filename>. Details about how "
  234. "to specify partitions will be discussed in <xref "
  235. "linkend=\"ch-bootable-fstab\"/>."
  236. msgstr ""