/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-config.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.17
1<!-- The content of this document is licensed under the CC-BY-SA license --> 1<!-- The content of this document is licensed under the CC-BY-SA license -->
2<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 2<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
3 3
4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.14 2003/12/20 20:32:02 swift Exp $ --> 4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.17 2004/01/06 10:08:38 swift Exp $ -->
5 5
6<sections> 6<sections>
7<section> 7<section>
8<title>Timezone</title> 8<title>Timezone</title>
9<body> 9<body>
41<subsection> 41<subsection>
42<title>Creating /etc/fstab</title> 42<title>Creating /etc/fstab</title>
43<body> 43<body>
44 44
45<p> 45<p>
46<path>/etc/fstab</path> uses a special syntaxis. Every line consists of six 46<path>/etc/fstab</path> uses a special syntax. Every line consists of six
47fields, separated by whitespace (space(s), tabs or a mixture). Each field has 47fields, separated by whitespace (space(s), tabs or a mixture). Each field has
48its own meaning: 48its own meaning:
49</p> 49</p>
50 50
51<ul> 51<ul>
69<li> 69<li>
70 The fifth field is used by <c>dump</c> to determine if the partition needs to 70 The fifth field is used by <c>dump</c> to determine if the partition needs to
71 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero). 71 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero).
72</li> 72</li>
73<li> 73<li>
74 The sixth field is used by <c>fsck</c> the order in which filesystems should 74 The sixth field is used by <c>fsck</c> to determine the order in which
75 be <b>check</b>ed if the system wasn't shut down properly. The root filesystem 75 filesystems should be <b>check</b>ed if the system wasn't shut down properly.
76 should have <c>1</c> while the rest should have <c>2</c> (or <c>0</c> in case 76 The root filesystem should have <c>1</c> while the rest should have <c>2</c>
77 a filesystem check isn't necessary). 77 (or <c>0</c> in case a filesystem check isn't necessary).
78</li> 78</li>
79</ul> 79</ul>
80 80
81<p> 81<p>
82So start <c>nano</c> (or your favorite editor) to create your 82So start <c>nano</c> (or your favorite editor) to create your
86<pre caption="Opening /etc/fstab"> 86<pre caption="Opening /etc/fstab">
87# <i>nano -w /etc/fstab</i> 87# <i>nano -w /etc/fstab</i>
88</pre> 88</pre>
89 89
90<p> 90<p>
91Lets take a look at how we write down the options for the <path>/boot</path> 91Let us take a look at how we write down the options for the <path>/boot</path>
92partition. This is just an example, so if your architecture doesn't require a 92partition. This is just an example, so if your architecture doesn't require a
93<path>/boot</path> partition, don't copy it verbatim. 93<path>/boot</path> partition, don't copy it verbatim.
94</p> 94</p>
95 95
96<p> 96<p>
264link="?part=1&amp;chap=3#doc_chap4_sect3">Understanding Network 264link="?part=1&amp;chap=3#doc_chap4_sect3">Understanding Network
265Terminology</uri> if you haven't done so already. 265Terminology</uri> if you haven't done so already.
266</p> 266</p>
267 267
268<p> 268<p>
269So lets give two examples; the first one uses DHCP, the second one a static IP 269So let us give two examples; the first one uses DHCP, the second one a static IP
270(192.168.0.2) with netmask 255.255.255.0, broadcast 192.168.0.255 and gateway 270(192.168.0.2) with netmask 255.255.255.0, broadcast 192.168.0.255 and gateway
271192.168.0.1: 271192.168.0.1:
272</p> 272</p>
273 273
274<pre caption="Examples for /etc/conf.d/net"> 274<pre caption="Examples for /etc/conf.d/net">
402# <i>nano -w /etc/rc.conf</i> 402# <i>nano -w /etc/rc.conf</i>
403</pre> 403</pre>
404 404
405<p> 405<p>
406As you can see, this file is well commented to help you set up the necessary 406As you can see, this file is well commented to help you set up the necessary
407configuration variables. When you're finished configuring 407configuration variables. Take special care with the <c>KEYMAP</c> setting: if
408<path>/etc/rc.conf</path>, save and exit to continue. 408you select the wrong <c>KEYMAP</c> you will get weird results when typing on
409your keyboard.
410</p>
411
412<note>
413Users of USB-based SPARC systems and SPARC clones might need to select an i386
414keymap (such as "us") instead of "sunkeymap".
415</note>
416
417<p>
418When you're finished configuring <path>/etc/rc.conf</path>, save and exit, then
419continue with <uri link="?part=1&amp;chap=9">Configuring the Bootloader</uri>.
409</p> 420</p>
410 421
411</body> 422</body>
412</section> 423</section>
413</sections> 424</sections>

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20