Gentoo Archives: gentoo-commits

From: "Jan Hendrik Grahl (grahl)" <grahl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/doc/de/handbook: hb-install-bootconfig.xml hb-install-kernelmodules.xml
Date: Thu, 29 May 2008 14:09:11
Message-Id: E1K1ioT-0003Sz-Be@stork.gentoo.org
1 grahl 08/05/29 14:09:05
2
3 Added: hb-install-bootconfig.xml
4 hb-install-kernelmodules.xml
5 Log:
6 initial checkin
7
8 Revision Changes Path
9 1.1 xml/htdocs/doc/de/handbook/hb-install-bootconfig.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/de/handbook/hb-install-bootconfig.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/de/handbook/hb-install-bootconfig.xml?rev=1.1&content-type=text/plain
13
14 Index: hb-install-bootconfig.xml
15 ===================================================================
16 <?xml version='1.0' encoding="UTF-8"?>
17 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/de/handbook/hb-install-bootconfig.xml,v 1.1 2008/05/29 14:09:04 grahl Exp $ -->
18 <!DOCTYPE included SYSTEM "/dtd/guide.dtd">
19
20 <included>
21
22 <version>1</version>
23 <date>2008-05-02</date>
24
25 <section id="hardware">
26 <title>Extra Hardware Configuration</title>
27 <body>
28
29 <p>
30 When the Installation CD boots, it tries to detect all your hardware devices and
31 loads the appropriate kernel modules to support your hardware. In the
32 vast majority of cases, it does a very good job. However, in some cases it may
33 not auto-load the kernel
34 modules you need. If the PCI auto-detection missed some of your system's
35 hardware, you will have to load the appropriate kernel modules manually.
36 </p>
37
38 <p>
39 In the next example we try to load the <c>8139too</c> module (support for
40 certain kinds of network interfaces):
41 </p>
42
43 <pre caption="Loading kernel modules">
44 # <i>modprobe 8139too</i>
45 </pre>
46
47 </body>
48 </section>
49 <section>
50 <title>Optional: Tweaking Hard Disk Performance</title>
51 <body>
52
53 <p>
54 If you are an advanced user, you might want to tweak the IDE hard disk
55 performance using <c>hdparm</c>. With the <c>-tT</c> options you can
56 test the performance of your disk (execute it several times to get a
57 more precise impression):
58 </p>
59
60 <pre caption="Testing disk performance">
61 # <i>hdparm -tT /dev/sda</i>
62 </pre>
63
64 <p>
65 To tweak, you can use any of the following examples (or experiment
66 yourself) which use <path>/dev/sda</path> as disk (substitute with your
67 disk):
68 </p>
69
70 <pre caption="Tweaking hard disk performance">
71 <comment>Activate DMA:</comment>
72 # <i>hdparm -d 1 /dev/sda</i>
73 <comment>Activate DMA + Safe Performance-enhancing Options:</comment>
74 # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/sda</i>
75 </pre>
76
77 </body>
78 </section>
79 <section id="useraccounts">
80 <title>Optional: User Accounts</title>
81 <body>
82
83 <p>
84 If you plan on giving other people access to your installation
85 environment or you want to chat using <c>irssi</c> without root privileges (for
86 security reasons), you need to create the necessary user accounts and change
87 the root password.
88 </p>
89
90 <p>
91 To change the root password, use the <c>passwd</c> utility:
92 </p>
93
94 <pre caption="Changing the root password">
95 # <i>passwd</i>
96 New password: <comment>(Enter your new password)</comment>
97 Re-enter password: <comment>(Re-enter your password)</comment>
98 </pre>
99
100 <p>
101 To create a user account, we first enter their credentials, followed by
102 its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
103 In the next example, we create a user called &quot;john&quot;.
104 </p>
105
106 <pre caption="Creating a user account">
107 # <i>useradd -m -G users john</i>
108 # <i>passwd john</i>
109 New password: <comment>(Enter john's password)</comment>
110 Re-enter password: <comment>(Re-enter john's password)</comment>
111 </pre>
112
113 <p>
114 You can change your user id from root to the newly created user by using
115 <c>su</c>:
116 </p>
117
118 <pre caption="Changing user id">
119 # <i>su - john</i>
120 </pre>
121
122 </body>
123 </section>
124 <section>
125 <title>Optional: Viewing Documentation while Installing</title>
126 <body>
127
128 <p>
129 If you want to view the Gentoo Handbook (either from-CD or online) during the
130 installation, make sure you have created a user account (see <uri
131 link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
132 go to a new terminal and log in.
133 </p>
134
135 <p>
136 If you want to view the documentation on the CD you can immediately run
137 <c>lynx</c> to read it:
138 </p>
139
140 <pre caption="Viewing the on-CD documentation">
141 # <i>lynx /mnt/cdrom/docs/html/index.html</i>
142 </pre>
143
144 <p>
145 However, it is preferred that you use the online Gentoo Handbook as it will be
146 more recent than the one provided on the CD. You can view it using <c>lynx</c>
147 as well, but only after having completed the <e>Configuring your Network</e>
148 chapter (otherwise you won't be able to go on the Internet to view the
149 document):
150 </p>
151
152 <pre caption="Viewing the Online Documentation">
153 # <i>lynx http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
154 </pre>
155
156 <p>
157 You can go back to your original terminal by pressing <c>Alt-F1</c>.
158 </p>
159
160 </body>
161 </section>
162 <section>
163 <title>Optional: Starting the SSH Daemon</title>
164 <body>
165
166 <p>
167 If you want to allow other users to access your computer during the
168 Gentoo installation (perhaps because those users are going to help you
169 install Gentoo, or even do it for you), you need to create a user
170 account for them and perhaps even provide them with your root password
171 (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
172 </p>
173
174 <p>
175 To fire up the SSH daemon, execute the following command:
176 </p>
177
178 <pre caption="Starting the SSH daemon">
179 # <i>/etc/init.d/sshd start</i>
180 </pre>
181
182 <p>
183 To be able to use sshd, you first need to set up your networking. Continue with
184 the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
185 </p>
186
187 </body>
188 </section>
189 </included>
190
191
192
193 1.1 xml/htdocs/doc/de/handbook/hb-install-kernelmodules.xml
194
195 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/de/handbook/hb-install-kernelmodules.xml?rev=1.1&view=markup
196 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/de/handbook/hb-install-kernelmodules.xml?rev=1.1&content-type=text/plain
197
198 Index: hb-install-kernelmodules.xml
199 ===================================================================
200 <?xml version='1.0' encoding="UTF-8"?>
201 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/de/handbook/hb-install-kernelmodules.xml,v 1.1 2008/05/29 14:09:04 grahl Exp $ -->
202 <!DOCTYPE included SYSTEM "/dtd/guide.dtd">
203
204 <included>
205
206 <version>1</version>
207 <date>2008-03-02</date>
208
209 <section id="kernelmodules">
210 <title>Configuring the Modules</title>
211 <body>
212
213 <p>
214 You should list the modules you want automatically loaded in
215 <path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
216 the modules too if you want.
217 </p>
218
219 <p>
220 To view all available modules, run the following <c>find</c> command. Don't
221 forget to substitute "&lt;kernel version&gt;" with the version of the kernel you
222 just compiled:
223 </p>
224
225 <pre caption="Viewing all available modules">
226 # <i>find /lib/modules/&lt;kernel version&gt;/ -type f -iname '*.o' -or -iname '*.ko'</i>
227 </pre>
228
229 <p>
230 For instance, to automatically load the <c>3c59x.ko</c> module, edit the
231 <path>kernel-2.6</path> file and enter the module name in it.
232 </p>
233
234 <pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
235 # <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
236 </pre>
237
238 <pre caption="/etc/modules.autoload.d/kernel-2.6">
239 3c59x
240 </pre>
241
242 <p>
243 Continue the installation with <uri link="?part=1&amp;chap=8">Configuring your
244 System</uri>.
245 </p>
246
247 </body>
248 </section>
249 </included>
250
251
252
253 --
254 gentoo-commits@l.g.o mailing list