1 |
nightmorph 08/05/02 08:04:23 |
2 |
|
3 |
Modified: handbook-amd64.xml handbook-x86.xml |
4 |
hb-install-alpha-medium.xml |
5 |
hb-install-arm-bootloader.xml |
6 |
hb-install-arm-disk.xml hb-install-blockdevices.xml |
7 |
hb-install-config.xml hb-install-hppa-medium.xml |
8 |
hb-install-ia64-medium.xml |
9 |
hb-install-kernelparams.xml |
10 |
hb-install-mips-bootloader.xml |
11 |
hb-install-mips-disk.xml |
12 |
hb-install-ppc-bootloader.xml |
13 |
hb-install-ppc-disk.xml hb-install-ppc-medium.xml |
14 |
hb-install-ppc64-bootloader.xml |
15 |
hb-install-ppc64-medium.xml |
16 |
hb-install-sparc-disk.xml |
17 |
hb-install-sparc-medium.xml |
18 |
hb-install-x86+amd64-bootloader.xml |
19 |
hb-install-x86+amd64-disk.xml |
20 |
hb-install-x86+amd64-medium.xml |
21 |
Added: hb-install-bootconfig.xml |
22 |
Log: |
23 |
As announced on the list (http://archives.gentoo.org/gentoo-doc/msg_e721be404c6a5ae8ce5c5bf02f45381c.xml), assume all arches are using the libata framework, so sd* everywhere. includes updating block device and partition descriptions. also added a new included file for boot config (starting sshd, hdparm, etc). synced up several wayward files, including sparc. also changed/dropped usage of some now useless keys, since everyone's using sd*. lots of intensive, invasive changes. and i never even used sed once. |
24 |
|
25 |
Revision Changes Path |
26 |
1.148 xml/htdocs/doc/en/handbook/handbook-amd64.xml |
27 |
|
28 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml?rev=1.148&view=markup |
29 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml?rev=1.148&content-type=text/plain |
30 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml?r1=1.147&r2=1.148 |
31 |
|
32 |
Index: handbook-amd64.xml |
33 |
=================================================================== |
34 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml,v |
35 |
retrieving revision 1.147 |
36 |
retrieving revision 1.148 |
37 |
diff -u -r1.147 -r1.148 |
38 |
--- handbook-amd64.xml 30 Apr 2008 09:49:46 -0000 1.147 |
39 |
+++ handbook-amd64.xml 2 May 2008 08:04:23 -0000 1.148 |
40 |
@@ -1,7 +1,7 @@ |
41 |
<?xml version='1.0' encoding='UTF-8'?> |
42 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
43 |
|
44 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml,v 1.147 2008/04/30 09:49:46 neysx Exp $ --> |
45 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml,v 1.148 2008/05/02 08:04:23 nightmorph Exp $ --> |
46 |
|
47 |
<book> |
48 |
<title>Gentoo Linux AMD64 Handbook</title> |
49 |
@@ -9,7 +9,7 @@ |
50 |
<values> |
51 |
<key id="arch">AMD64</key> |
52 |
<key id="arch-sub">x86_64</key> |
53 |
- <key id="/boot">/dev/hda1</key> |
54 |
+ <key id="/boot">/dev/sda1</key> |
55 |
<key id="kernel-version">2.6.24-r5</key> |
56 |
<key id="kernel-name">kernel-2.6.24-gentoo-r5</key> |
57 |
<key id="genkernel-name">kernel-genkernel-amd64-2.6.24-gentoo-r5</key> |
58 |
@@ -143,8 +143,8 @@ |
59 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
60 |
<license/> |
61 |
|
62 |
-<version>9.3</version> |
63 |
-<date>2008-04-30</date> |
64 |
+<version>9.4</version> |
65 |
+<date>2008-05-02</date> |
66 |
|
67 |
<part> |
68 |
<title>Installing Gentoo</title> |
69 |
|
70 |
|
71 |
|
72 |
1.169 xml/htdocs/doc/en/handbook/handbook-x86.xml |
73 |
|
74 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/handbook-x86.xml?rev=1.169&view=markup |
75 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/handbook-x86.xml?rev=1.169&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/handbook-x86.xml?r1=1.168&r2=1.169 |
77 |
|
78 |
Index: handbook-x86.xml |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-x86.xml,v |
81 |
retrieving revision 1.168 |
82 |
retrieving revision 1.169 |
83 |
diff -u -r1.168 -r1.169 |
84 |
--- handbook-x86.xml 2 May 2008 04:32:18 -0000 1.168 |
85 |
+++ handbook-x86.xml 2 May 2008 08:04:23 -0000 1.169 |
86 |
@@ -1,7 +1,7 @@ |
87 |
<?xml version='1.0' encoding='UTF-8'?> |
88 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
89 |
|
90 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-x86.xml,v 1.168 2008/05/02 04:32:18 nightmorph Exp $ --> |
91 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-x86.xml,v 1.169 2008/05/02 08:04:23 nightmorph Exp $ --> |
92 |
|
93 |
<book> |
94 |
<title>Gentoo Linux x86 Handbook</title> |
95 |
@@ -9,7 +9,7 @@ |
96 |
<values> |
97 |
<key id="arch">x86</key> |
98 |
<key id="arch-sub">i386</key> |
99 |
- <key id="/boot">/dev/hda1</key> |
100 |
+ <key id="/boot">/dev/sda1</key> |
101 |
<key id="kernel-version">2.6.24-r5</key> |
102 |
<key id="kernel-name">kernel-2.6.24-gentoo-r5</key> |
103 |
<key id="genkernel-name">kernel-genkernel-x86-2.6.24-gentoo-r5</key> |
104 |
@@ -144,7 +144,7 @@ |
105 |
<license/> |
106 |
|
107 |
<version>9.4</version> |
108 |
-<date>2008-05-01</date> |
109 |
+<date>2008-05-02</date> |
110 |
|
111 |
<part> |
112 |
<title>Installing Gentoo</title> |
113 |
|
114 |
|
115 |
|
116 |
1.48 xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml |
117 |
|
118 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml?rev=1.48&view=markup |
119 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml?rev=1.48&content-type=text/plain |
120 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml?r1=1.47&r2=1.48 |
121 |
|
122 |
Index: hb-install-alpha-medium.xml |
123 |
=================================================================== |
124 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v |
125 |
retrieving revision 1.47 |
126 |
retrieving revision 1.48 |
127 |
diff -u -r1.47 -r1.48 |
128 |
--- hb-install-alpha-medium.xml 1 Apr 2008 08:53:46 -0000 1.47 |
129 |
+++ hb-install-alpha-medium.xml 2 May 2008 08:04:23 -0000 1.48 |
130 |
@@ -4,12 +4,12 @@ |
131 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
132 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
133 |
|
134 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.47 2008/04/01 08:53:46 nightmorph Exp $ --> |
135 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.48 2008/05/02 08:04:23 nightmorph Exp $ --> |
136 |
|
137 |
<sections> |
138 |
|
139 |
-<version>9.0</version> |
140 |
-<date>2008-04-01</date> |
141 |
+<version>9.1</version> |
142 |
+<date>2008-05-02</date> |
143 |
|
144 |
<section> |
145 |
<title>Hardware Requirements</title> |
146 |
@@ -330,10 +330,10 @@ |
147 |
</pre> |
148 |
|
149 |
<pre caption="Booting a CD-ROM using MILO"> |
150 |
-<comment>(Substitute hdb with your CD-ROM drive device)</comment> |
151 |
-MILO> <i>boot hdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> |
152 |
+<comment>(Substitute sdb with your CD-ROM drive device)</comment> |
153 |
+MILO> <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> |
154 |
<comment>(If you need serial console support)</comment> |
155 |
-MILO> <i>boot hdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs console=ttyS0 cdroot</i> |
156 |
+MILO> <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs console=ttyS0 cdroot</i> |
157 |
</pre> |
158 |
|
159 |
<p> |
160 |
@@ -348,169 +348,10 @@ |
161 |
|
162 |
</body> |
163 |
</subsection> |
164 |
-<subsection id="hardware"> |
165 |
-<title>Extra Hardware Configuration</title> |
166 |
-<body> |
167 |
- |
168 |
-<p> |
169 |
-When the Installation CD boots, it tries to detect all your hardware devices and |
170 |
-loads the appropriate kernel modules to support your hardware. In the |
171 |
-vast majority of cases, it does a very good job. However, in some cases it may |
172 |
-not auto-load the kernel |
173 |
-modules you need. If the PCI auto-detection missed some of your system's |
174 |
-hardware, you will have to load the appropriate kernel modules manually. |
175 |
-</p> |
176 |
- |
177 |
-<p> |
178 |
-In the next example we try to load the <c>8139too</c> module (support for |
179 |
-certain kinds of network interfaces): |
180 |
-</p> |
181 |
- |
182 |
-<pre caption="Loading kernel modules"> |
183 |
-# <i>modprobe 8139too</i> |
184 |
-</pre> |
185 |
- |
186 |
-</body> |
187 |
-</subsection> |
188 |
-<subsection> |
189 |
-<title>Optional: Tweaking Hard Disk Performance</title> |
190 |
-<body> |
191 |
- |
192 |
-<p> |
193 |
-If you are an advanced user, you might want to tweak the IDE hard disk |
194 |
-performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
195 |
-test the performance of your disk (execute it several times to get a |
196 |
-more precise impression): |
197 |
-</p> |
198 |
- |
199 |
-<pre caption="Testing disk performance"> |
200 |
-# <i>hdparm -tT /dev/hda</i> |
201 |
-</pre> |
202 |
- |
203 |
-<p> |
204 |
-To tweak, you can use any of the following examples (or experiment |
205 |
-yourself) which use <path>/dev/hda</path> as disk (substitute with your |
206 |
-disk): |
207 |
-</p> |
208 |
- |
209 |
-<pre caption="Tweaking hard disk performance"> |
210 |
-<comment>Activate DMA:</comment> |
211 |
-# <i>hdparm -d 1 /dev/hda</i> |
212 |
-<comment>Activate DMA + Safe Performance-enhancing Options:</comment> |
213 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
214 |
-</pre> |
215 |
- |
216 |
-</body> |
217 |
-</subsection> |
218 |
-<subsection id="useraccounts"> |
219 |
-<title>Optional: User Accounts</title> |
220 |
-<body> |
221 |
- |
222 |
-<p> |
223 |
-If you plan on giving other people access to your installation |
224 |
-environment or you want to chat using <c>irssi</c> without root privileges (for |
225 |
-security reasons), you need to create the necessary user accounts and change |
226 |
-the root password. |
227 |
-</p> |
228 |
- |
229 |
-<p> |
230 |
-To change the root password, use the <c>passwd</c> utility: |
231 |
-</p> |
232 |
- |
233 |
-<pre caption="Changing the root password"> |
234 |
-# <i>passwd</i> |
235 |
-New password: <comment>(Enter your new password)</comment> |
236 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
237 |
-</pre> |
238 |
- |
239 |
-<p> |
240 |
-To create a user account, we first enter their credentials, followed by |
241 |
-its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
242 |
-In the next example, we create a user called "john". |
243 |
-</p> |
244 |
- |
245 |
-<pre caption="Creating a user account"> |
246 |
-# <i>useradd -m -G users john</i> |
247 |
-# <i>passwd john</i> |
248 |
-New password: <comment>(Enter john's password)</comment> |
249 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
250 |
-</pre> |
251 |
|
252 |
-<p> |
253 |
-You can change your user id from root to the newly created user by using |
254 |
-<c>su</c>: |
255 |
-</p> |
256 |
- |
257 |
-<pre caption="Changing user id"> |
258 |
-# <i>su - john</i> |
259 |
-</pre> |
260 |
- |
261 |
-</body> |
262 |
-</subsection> |
263 |
<subsection> |
264 |
-<title>Optional: Viewing Documentation while Installing</title> |
265 |
-<body> |
266 |
- |
267 |
-<p> |
268 |
-If you want to view the Gentoo Handbook (either from-CD or online) during the |
269 |
-installation, make sure you have created a user account (see <uri |
270 |
-link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
271 |
-go to a new terminal and log in. |
272 |
-</p> |
273 |
- |
274 |
-<p> |
275 |
-If you want to view the documentation on the CD you can immediately run |
276 |
-<c>lynx</c> to read it: |
277 |
-</p> |
278 |
- |
279 |
-<pre caption="Viewing the on-CD documentation"> |
280 |
-# <i>lynx /mnt/cdrom/docs/html/index.html</i> |
281 |
-</pre> |
282 |
- |
283 |
-<p> |
284 |
-However, it is preferred that you use the online Gentoo Handbook as it will be |
285 |
-more recent than the one provided on the CD. You can view it using <c>lynx</c> |
286 |
-as well, but only after having completed the <e>Configuring your Network</e> |
287 |
-chapter (otherwise you won't be able to go on the Internet to view the |
288 |
-document): |
289 |
-</p> |
290 |
- |
291 |
-<pre caption="Viewing the Online Documentation"> |
292 |
-# <i>lynx http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
293 |
-</pre> |
294 |
- |
295 |
-<p> |
296 |
-You can go back to your original terminal by pressing <c>Alt-F1</c>. |
297 |
-</p> |
298 |
- |
299 |
-</body> |
300 |
+<include href="hb-install-bootconfig.xml"/> |
301 |
</subsection> |
302 |
-<subsection> |
303 |
-<title>Optional: Starting the SSH Daemon</title> |
304 |
-<body> |
305 |
- |
306 |
-<p> |
307 |
-If you want to allow other users to access your computer during the |
308 |
-Gentoo installation (perhaps because those users are going to help you |
309 |
-install Gentoo, or even do it for you), you need to create a user |
310 |
-account for them and perhaps even provide them with your root password |
311 |
-(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
312 |
-</p> |
313 |
|
314 |
-<p> |
315 |
-To fire up the SSH daemon, execute the following command: |
316 |
-</p> |
317 |
- |
318 |
-<pre caption="Starting the SSH daemon"> |
319 |
-# <i>/etc/init.d/sshd start</i> |
320 |
-</pre> |
321 |
- |
322 |
-<p> |
323 |
-To be able to use sshd, you first need to set up your networking. Continue with |
324 |
-the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
325 |
-</p> |
326 |
- |
327 |
-</body> |
328 |
-</subsection> |
329 |
</section> |
330 |
</sections> |
331 |
|
332 |
|
333 |
|
334 |
1.5 xml/htdocs/doc/en/handbook/hb-install-arm-bootloader.xml |
335 |
|
336 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-bootloader.xml?rev=1.5&view=markup |
337 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-bootloader.xml?rev=1.5&content-type=text/plain |
338 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-bootloader.xml?r1=1.4&r2=1.5 |
339 |
|
340 |
Index: hb-install-arm-bootloader.xml |
341 |
=================================================================== |
342 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-bootloader.xml,v |
343 |
retrieving revision 1.4 |
344 |
retrieving revision 1.5 |
345 |
diff -u -r1.4 -r1.5 |
346 |
--- hb-install-arm-bootloader.xml 1 Apr 2008 08:53:46 -0000 1.4 |
347 |
+++ hb-install-arm-bootloader.xml 2 May 2008 08:04:23 -0000 1.5 |
348 |
@@ -4,12 +4,12 @@ |
349 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
350 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
351 |
|
352 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-bootloader.xml,v 1.4 2008/04/01 08:53:46 nightmorph Exp $ --> |
353 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-bootloader.xml,v 1.5 2008/05/02 08:04:23 nightmorph Exp $ --> |
354 |
|
355 |
<sections> |
356 |
|
357 |
-<version>9.0</version> |
358 |
-<date>2008-04-01</date> |
359 |
+<version>9.1</version> |
360 |
+<date>2008-05-02</date> |
361 |
|
362 |
<section> |
363 |
<title>Making your Choice</title> |
364 |
@@ -126,7 +126,7 @@ |
365 |
</p> |
366 |
|
367 |
<pre caption="Installing the kernel into flash"> |
368 |
-# <i>nwlilo /boot/zImage "root=/dev/hda2 video=cyber2000fb"</i> |
369 |
+# <i>nwlilo /boot/zImage "root=/dev/sda2 video=cyber2000fb"</i> |
370 |
</pre> |
371 |
|
372 |
<p> |
373 |
@@ -135,14 +135,14 @@ |
374 |
the machine as the only way to configure NeTTrom is from inside NeTTrom itself. |
375 |
Halt the autoboot process by pressing <c>*</c> twice followed by the return |
376 |
key. In the example below, we will assume your ext2 boot partition is at |
377 |
-<path>/dev/hda1</path> while your root partition is at <path>/dev/hda3</path>. |
378 |
+<path>/dev/sda1</path> while your root partition is at <path>/dev/sda3</path>. |
379 |
</p> |
380 |
|
381 |
<pre caption="Configuring NeTTrom"> |
382 |
NeTTrom> <i>load-defaults</i> |
383 |
NeTTrom> <i>setenv kernconfig fs</i> |
384 |
-NeTTrom> <i>setenv kerndev /dev/hda1</i> |
385 |
-NeTTrom> <i>setenv rootdev /dev/hda3</i> |
386 |
+NeTTrom> <i>setenv kerndev /dev/sda1</i> |
387 |
+NeTTrom> <i>setenv rootdev /dev/sda3</i> |
388 |
NeTTrom> <i>setenv kernfile /boot/vmlinux</i> |
389 |
NeTTrom> <i>setenv cmdappend [custom kernel cmdline settings]</i> |
390 |
NeTTrom> <i>save-all</i> |
391 |
|
392 |
|
393 |
|
394 |
1.9 xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml |
395 |
|
396 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?rev=1.9&view=markup |
397 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?rev=1.9&content-type=text/plain |
398 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?r1=1.8&r2=1.9 |
399 |
|
400 |
Index: hb-install-arm-disk.xml |
401 |
=================================================================== |
402 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v |
403 |
retrieving revision 1.8 |
404 |
retrieving revision 1.9 |
405 |
diff -u -r1.8 -r1.9 |
406 |
--- hb-install-arm-disk.xml 1 Apr 2008 08:53:46 -0000 1.8 |
407 |
+++ hb-install-arm-disk.xml 2 May 2008 08:04:23 -0000 1.9 |
408 |
@@ -4,12 +4,12 @@ |
409 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
410 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
411 |
|
412 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v 1.8 2008/04/01 08:53:46 nightmorph Exp $ --> |
413 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v 1.9 2008/05/02 08:04:23 nightmorph Exp $ --> |
414 |
|
415 |
<sections> |
416 |
|
417 |
-<version>6.0</version> |
418 |
-<date>2008-04-01</date> |
419 |
+<version>6.1</version> |
420 |
+<date>2008-05-02</date> |
421 |
|
422 |
<!-- TODO: Add section about MTD and such --> |
423 |
|
424 |
@@ -39,8 +39,8 @@ |
425 |
<p> |
426 |
A <e>primary</e> partition is a partition which has its information stored in |
427 |
the MBR (master boot record). As an MBR is very small (512 bytes) only four |
428 |
-primary partitions can be defined (for instance, <path>/dev/hda1</path> to |
429 |
-<path>/dev/hda4</path>). |
430 |
+primary partitions can be defined (for instance, <path>/dev/sda1</path> to |
431 |
+<path>/dev/sda4</path>). |
432 |
</p> |
433 |
|
434 |
<p> |
435 |
@@ -84,19 +84,19 @@ |
436 |
<th>Description</th> |
437 |
</tr> |
438 |
<tr> |
439 |
- <ti><path>/dev/hda1</path></ti> |
440 |
+ <ti><path>/dev/sda1</path></ti> |
441 |
<ti>ext2</ti> |
442 |
<ti>32M</ti> |
443 |
<ti>Boot partition</ti> |
444 |
</tr> |
445 |
<tr> |
446 |
- <ti><path>/dev/hda2</path></ti> |
447 |
+ <ti><path>/dev/sda2</path></ti> |
448 |
<ti>(swap)</ti> |
449 |
<ti>512M</ti> |
450 |
<ti>Swap partition</ti> |
451 |
</tr> |
452 |
<tr> |
453 |
- <ti><path>/dev/hda3</path></ti> |
454 |
+ <ti><path>/dev/sda3</path></ti> |
455 |
<ti>ext3</ti> |
456 |
<ti>Rest of the disk</ti> |
457 |
<ti>Root partition</ti> |
458 |
@@ -169,13 +169,13 @@ |
459 |
<pre caption="Filesystem usage example"> |
460 |
$ <i>df -h</i> |
461 |
Filesystem Type Size Used Avail Use% Mounted on |
462 |
-/dev/hda5 ext3 509M 132M 351M 28% / |
463 |
-/dev/hda2 ext3 5.0G 3.0G 1.8G 63% /home |
464 |
-/dev/hda7 ext3 7.9G 6.2G 1.3G 83% /usr |
465 |
-/dev/hda8 ext3 1011M 483M 477M 51% /opt |
466 |
-/dev/hda9 ext3 2.0G 607M 1.3G 32% /var |
467 |
-/dev/hda1 ext2 51M 17M 31M 36% /boot |
468 |
-/dev/hda6 swap 516M 12M 504M 2% <not mounted> |
469 |
+/dev/sda5 ext3 509M 132M 351M 28% / |
470 |
+/dev/sda2 ext3 5.0G 3.0G 1.8G 63% /home |
471 |
+/dev/sda7 ext3 7.9G 6.2G 1.3G 83% /usr |
472 |
+/dev/sda8 ext3 1011M 483M 477M 51% /opt |
473 |
+/dev/sda9 ext3 2.0G 607M 1.3G 32% /var |
474 |
+/dev/sda1 ext2 51M 17M 31M 36% /boot |
475 |
+/dev/sda6 swap 516M 12M 504M 2% <not mounted> |
476 |
<comment>(Unpartitioned space for future usage: 2 GB)</comment> |
477 |
</pre> |
478 |
|
479 |
@@ -209,15 +209,15 @@ |
480 |
<th>Description</th> |
481 |
</tr> |
482 |
<tr> |
483 |
- <ti><path>/dev/hda1</path></ti> |
484 |
+ <ti><path>/dev/sda1</path></ti> |
485 |
<ti>Boot partition</ti> |
486 |
</tr> |
487 |
<tr> |
488 |
- <ti><path>/dev/hda2</path></ti> |
489 |
+ <ti><path>/dev/sda2</path></ti> |
490 |
<ti>Swap partition</ti> |
491 |
</tr> |
492 |
<tr> |
493 |
- <ti><path>/dev/hda3</path></ti> |
494 |
+ <ti><path>/dev/sda3</path></ti> |
495 |
<ti>Root partition</ti> |
496 |
</tr> |
497 |
</table> |
498 |
@@ -235,11 +235,11 @@ |
499 |
<p> |
500 |
<c>fdisk</c> is a popular and powerful tool to split your disk into partitions. |
501 |
Fire up <c>fdisk</c> on your disk (in our example, we use |
502 |
-<path>/dev/hda</path>): |
503 |
+<path>/dev/sda</path>): |
504 |
</p> |
505 |
|
506 |
<pre caption="Starting fdisk"> |
507 |
-# <i>fdisk /dev/hda</i> |
508 |
+# <i>fdisk /dev/sda</i> |
509 |
</pre> |
510 |
|
511 |
<p> |
512 |
@@ -257,19 +257,19 @@ |
513 |
<pre caption="An example partition configuration"> |
514 |
Command (m for help): <i>p</i> |
515 |
|
516 |
-Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders |
517 |
+Disk /dev/sda: 240 heads, 63 sectors, 2184 cylinders |
518 |
Units = cylinders of 15120 * 512 bytes |
519 |
|
520 |
Device Boot Start End Blocks Id System |
521 |
-/dev/hda1 1 14 105808+ 83 Linux |
522 |
-/dev/hda2 15 49 264600 82 Linux swap |
523 |
-/dev/hda3 50 70 158760 83 Linux |
524 |
-/dev/hda4 71 2184 15981840 5 Extended |
525 |
-/dev/hda5 71 209 1050808+ 83 Linux |
526 |
-/dev/hda6 210 348 1050808+ 83 Linux |
527 |
-/dev/hda7 349 626 2101648+ 83 Linux |
528 |
-/dev/hda8 627 904 2101648+ 83 Linux |
529 |
-/dev/hda9 905 2184 9676768+ 83 Linux |
530 |
+/dev/sda1 1 14 105808+ 83 Linux |
531 |
+/dev/sda2 15 49 264600 82 Linux swap |
532 |
+/dev/sda3 50 70 158760 83 Linux |
533 |
+/dev/sda4 71 2184 15981840 5 Extended |
534 |
+/dev/sda5 71 209 1050808+ 83 Linux |
535 |
+/dev/sda6 210 348 1050808+ 83 Linux |
536 |
+/dev/sda7 349 626 2101648+ 83 Linux |
537 |
+/dev/sda8 627 904 2101648+ 83 Linux |
538 |
+/dev/sda9 905 2184 9676768+ 83 Linux |
539 |
|
540 |
Command (m for help): |
541 |
</pre> |
542 |
@@ -288,7 +288,7 @@ |
543 |
|
544 |
<p> |
545 |
We will first remove all existing partitions from the disk. Type <c>d</c> to |
546 |
-delete a partition. For instance, to delete an existing <path>/dev/hda1</path>: |
547 |
+delete a partition. For instance, to delete an existing <path>/dev/sda1</path>: |
548 |
</p> |
549 |
|
550 |
<pre caption="Deleting a partition"> |
551 |
@@ -311,7 +311,7 @@ |
552 |
</p> |
553 |
|
554 |
<pre caption="An empty partition table"> |
555 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
556 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
557 |
240 heads, 63 sectors/track, 3876 cylinders |
558 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
559 |
|
560 |
@@ -360,12 +360,12 @@ |
561 |
<pre caption="Created boot partition"> |
562 |
Command (m for help): <i>p</i> |
563 |
|
564 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
565 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
566 |
240 heads, 63 sectors/track, 3876 cylinders |
567 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
568 |
|
569 |
Device Boot Start End Blocks Id System |
570 |
-/dev/hda1 1 14 105808+ 83 Linux |
571 |
+/dev/sda1 1 14 105808+ 83 Linux |
572 |
</pre> |
573 |
|
574 |
<p> |
575 |
@@ -383,7 +383,7 @@ |
576 |
<p> |
577 |
Let's now create the swap partition. To do this, type <c>n</c> to create a new |
578 |
partition, then <c>p</c> to tell fdisk that you want a primary partition. Then |
579 |
-type <c>2</c> to create the second primary partition, <path>/dev/hda2</path> in |
580 |
+type <c>2</c> to create the second primary partition, <path>/dev/sda2</path> in |
581 |
our case. When prompted for the first cylinder, hit enter. When prompted for |
582 |
the last cylinder, type <c>+512M</c> to create a partition 512MB in size. After |
583 |
you've done this, type <c>t</c> to set the partition type, <c>2</c> to select |
584 |
@@ -395,13 +395,13 @@ |
585 |
<pre caption="Partition listing after creating a swap partition"> |
586 |
Command (m for help): <i>p</i> |
587 |
|
588 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
589 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
590 |
240 heads, 63 sectors/track, 3876 cylinders |
591 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
592 |
|
593 |
Device Boot Start End Blocks Id System |
594 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
595 |
-/dev/hda2 15 81 506520 82 Linux swap |
596 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
597 |
+/dev/sda2 15 81 506520 82 Linux swap |
598 |
</pre> |
599 |
|
600 |
</body> |
601 |
@@ -413,7 +413,7 @@ |
602 |
<p> |
603 |
Finally, let's create the root partition. To do this, type <c>n</c> to create a |
604 |
new partition, then <c>p</c> to tell fdisk that you want a primary partition. |
605 |
-Then type <c>3</c> to create the third primary partition, <path>/dev/hda3</path> |
606 |
+Then type <c>3</c> to create the third primary partition, <path>/dev/sda3</path> |
607 |
in our case. When prompted for the first cylinder, hit enter. When prompted for |
608 |
the last cylinder, hit enter to create a partition that takes up the rest of the |
609 |
remaining space on your disk. After completing these steps, typing <c>p</c> |
610 |
@@ -423,14 +423,14 @@ |
611 |
<pre caption="Partition listing after creating the root partition"> |
612 |
Command (m for help): <i>p</i> |
613 |
|
614 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
615 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
616 |
240 heads, 63 sectors/track, 3876 cylinders |
617 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
618 |
|
619 |
Device Boot Start End Blocks Id System |
620 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
621 |
-/dev/hda2 15 81 506520 82 Linux swap |
622 |
-/dev/hda3 82 3876 28690200 83 Linux |
623 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
624 |
+/dev/sda2 15 81 506520 82 Linux swap |
625 |
+/dev/sda3 82 3876 28690200 83 Linux |
626 |
</pre> |
627 |
|
628 |
</body> |
629 |
@@ -513,14 +513,14 @@ |
630 |
</table> |
631 |
|
632 |
<p> |
633 |
-For instance, to have the boot partition (<path>/dev/hda1</path> in our |
634 |
-example) in ext2 and the root partition (<path>/dev/hda3</path> in our example) |
635 |
+For instance, to have the boot partition (<path>/dev/sda1</path> in our |
636 |
+example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) |
637 |
in ext3 (as in our example), you would use: |
638 |
</p> |
639 |
|
640 |
<pre caption="Applying a filesystem on a partition"> |
641 |
-# <i>mke2fs /dev/hda1</i> |
642 |
-# <i>mke2fs -j /dev/hda3</i> |
643 |
+# <i>mke2fs /dev/sda1</i> |
644 |
+# <i>mke2fs -j /dev/sda3</i> |
645 |
</pre> |
646 |
|
647 |
<p> |
648 |
@@ -539,7 +539,7 @@ |
649 |
</p> |
650 |
|
651 |
<pre caption="Creating a Swap signature"> |
652 |
-# <i>mkswap /dev/hda2</i> |
653 |
+# <i>mkswap /dev/sda2</i> |
654 |
</pre> |
655 |
|
656 |
<p> |
657 |
@@ -547,7 +547,7 @@ |
658 |
</p> |
659 |
|
660 |
<pre caption="Activating the swap partition"> |
661 |
-# <i>swapon /dev/hda2</i> |
662 |
+# <i>swapon /dev/sda2</i> |
663 |
</pre> |
664 |
|
665 |
<p> |
666 |
@@ -569,9 +569,9 @@ |
667 |
</p> |
668 |
|
669 |
<pre caption="Mounting partitions"> |
670 |
-# <i>mount /dev/hda3 /mnt/gentoo</i> |
671 |
+# <i>mount /dev/sda3 /mnt/gentoo</i> |
672 |
# <i>mkdir /mnt/gentoo/boot</i> |
673 |
-# <i>mount /dev/hda1 /mnt/gentoo/boot</i> |
674 |
+# <i>mount /dev/sda1 /mnt/gentoo/boot</i> |
675 |
</pre> |
676 |
|
677 |
<note> |
678 |
|
679 |
|
680 |
|
681 |
1.2 xml/htdocs/doc/en/handbook/hb-install-blockdevices.xml |
682 |
|
683 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-blockdevices.xml?rev=1.2&view=markup |
684 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-blockdevices.xml?rev=1.2&content-type=text/plain |
685 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-blockdevices.xml?r1=1.1&r2=1.2 |
686 |
|
687 |
Index: hb-install-blockdevices.xml |
688 |
=================================================================== |
689 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-blockdevices.xml,v |
690 |
retrieving revision 1.1 |
691 |
retrieving revision 1.2 |
692 |
diff -u -r1.1 -r1.2 |
693 |
--- hb-install-blockdevices.xml 31 Mar 2008 21:50:37 -0000 1.1 |
694 |
+++ hb-install-blockdevices.xml 2 May 2008 08:04:23 -0000 1.2 |
695 |
@@ -1,11 +1,11 @@ |
696 |
<?xml version='1.0' encoding="UTF-8"?> |
697 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-blockdevices.xml,v 1.1 2008/03/31 21:50:37 nightmorph Exp $ --> |
698 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-blockdevices.xml,v 1.2 2008/05/02 08:04:23 nightmorph Exp $ --> |
699 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
700 |
|
701 |
<included> |
702 |
|
703 |
-<version>1</version> |
704 |
-<date>2008-03-02</date> |
705 |
+<version>2</version> |
706 |
+<date>2008-05-02</date> |
707 |
|
708 |
<section id="blockdevicesdesc"> |
709 |
<title>Block Devices</title> |
710 |
@@ -21,12 +21,11 @@ |
711 |
|
712 |
<p> |
713 |
To begin, we'll introduce <e>block devices</e>. The most famous block device is |
714 |
-probably the one that represents the first IDE drive in a Linux system, namely |
715 |
-<path>/dev/hda</path>. If your system uses SCSI drives, then your first hard |
716 |
-drive would be <path>/dev/sda</path>. Serial ATA drives are also |
717 |
-<path>/dev/sda</path> even if they are IDE drives. If you're using the new |
718 |
-libata framework in the kernel, all hard drives will be labeled |
719 |
-<path>/dev/sd*</path>. |
720 |
+probably the one that represents the first drive in a Linux system, namely |
721 |
+<path>/dev/sda</path>. SCSI and Serial ATA drives are both labeled |
722 |
+<path>/dev/sd*</path>; even IDE drives are labeled <path>/dev/sd*</path> with |
723 |
+the new libata framework in the kernel. If you're using the old device |
724 |
+framework, then your first IDE drive is <path>/dev/hda</path>. |
725 |
</p> |
726 |
|
727 |
<p> |
728 |
|
729 |
|
730 |
|
731 |
1.99 xml/htdocs/doc/en/handbook/hb-install-config.xml |
732 |
|
733 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.99&view=markup |
734 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.99&content-type=text/plain |
735 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?r1=1.98&r2=1.99 |
736 |
|
737 |
Index: hb-install-config.xml |
738 |
=================================================================== |
739 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v |
740 |
retrieving revision 1.98 |
741 |
retrieving revision 1.99 |
742 |
diff -u -r1.98 -r1.99 |
743 |
--- hb-install-config.xml 17 Apr 2008 21:11:30 -0000 1.98 |
744 |
+++ hb-install-config.xml 2 May 2008 08:04:23 -0000 1.99 |
745 |
@@ -4,7 +4,7 @@ |
746 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
747 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
748 |
|
749 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.98 2008/04/17 21:11:30 nightmorph Exp $ --> |
750 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.99 2008/05/02 08:04:23 nightmorph Exp $ --> |
751 |
|
752 |
<sections> |
753 |
|
754 |
@@ -14,8 +14,8 @@ |
755 |
proceed. |
756 |
</abstract> |
757 |
|
758 |
-<version>9.1</version> |
759 |
-<date>2008-04-17</date> |
760 |
+<version>9.2</version> |
761 |
+<date>2008-05-02</date> |
762 |
|
763 |
<section> |
764 |
<title>Filesystem Information</title> |
765 |
@@ -91,14 +91,7 @@ |
766 |
<path>/boot</path>, don't copy it. |
767 |
</p> |
768 |
|
769 |
-<p test="contains(func:keyval('/boot'), '/dev/hd')"> |
770 |
-In our default <keyval id="arch"/> partitioning example, <path>/boot</path> is |
771 |
-usually the <path><keyval id="/boot"/></path> partition (or |
772 |
-<path>/dev/sda*</path> if you use SCSI or SATA drives), with <c>ext2</c> as |
773 |
-filesystem. It needs to be checked during boot, so we would write down: |
774 |
-</p> |
775 |
- |
776 |
-<p test="contains(func:keyval('/boot'), '/dev/sd')"> |
777 |
+<p> |
778 |
In our default <keyval id="arch"/> partitioning example, <path>/boot</path> is |
779 |
usually the <path><keyval id="/boot"/></path> partition, with <c>ext2</c> as |
780 |
filesystem. It needs to be checked during boot, so we would write down: |
781 |
@@ -118,30 +111,16 @@ |
782 |
</body> |
783 |
<body> |
784 |
|
785 |
-<p test="not(func:keyval('arch')='SPARC')"> |
786 |
+<p> |
787 |
Add the rules that match your partitioning scheme and append rules for |
788 |
your CD-ROM drive(s), and of course, if you have other partitions or drives, |
789 |
for those too. |
790 |
</p> |
791 |
|
792 |
-<p test="func:keyval('arch')='SPARC'"> |
793 |
-Add the rules that match your partitioning schema and append rules for |
794 |
-<path>/proc/openprom</path>, for your CD-ROM drive(s), and of course, if |
795 |
-you have other partitions or drives, for those too. |
796 |
-</p> |
797 |
- |
798 |
<p> |
799 |
Now use the <e>example</e> below to create your <path>/etc/fstab</path>: |
800 |
</p> |
801 |
|
802 |
-<pre caption="A full /etc/fstab example" test="func:keyval('arch')='AMD64' or func:keyval('arch')='x86'"> |
803 |
-<keyval id="/boot"/> /boot ext2 defaults,noatime 1 2 |
804 |
-/dev/hda2 none swap sw 0 0 |
805 |
-/dev/hda3 / ext3 noatime 0 1 |
806 |
- |
807 |
-/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
808 |
-</pre> |
809 |
- |
810 |
<pre caption="A full /etc/fstab example" test="func:keyval('arch')='HPPA'"> |
811 |
<keyval id="/boot"/> /boot ext2 defaults,noatime 1 2 |
812 |
/dev/sda3 none swap sw 0 0 |
813 |
@@ -150,7 +129,7 @@ |
814 |
/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
815 |
</pre> |
816 |
|
817 |
-<pre caption="A full /etc/fstab example" test="func:keyval('arch')='Alpha' or func:keyval('arch')='MIPS'"> |
818 |
+<pre caption="A full /etc/fstab example" test="func:keyval('arch')='Alpha' or func:keyval('arch')='MIPS' or func:keyval('arch')='x86' or func:keyval('arch')='AMD64'"> |
819 |
<keyval id="/boot"/> /boot ext2 defaults,noatime 1 2 |
820 |
/dev/sda2 none swap sw 0 0 |
821 |
/dev/sda3 / ext3 noatime 0 1 |
822 |
@@ -165,24 +144,14 @@ |
823 |
/dev/sda5 /var ext3 noatime 0 2 |
824 |
/dev/sda6 /home ext3 noatime 0 2 |
825 |
|
826 |
+<comment># You must add the rules for openprom</comment> |
827 |
openprom /proc/openprom openpromfs defaults 0 0 |
828 |
|
829 |
/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
830 |
</pre> |
831 |
|
832 |
-<note test="func:keyval('arch')='PPC'"> |
833 |
-There are important variations between PPC machine types. Please make sure you |
834 |
-adapt the following example to your system. |
835 |
-</note> |
836 |
- |
837 |
-<pre caption="A full /etc/fstab example" test="func:keyval('arch')='PPC'"> |
838 |
-/dev/hda4 / ext3 noatime 0 1 |
839 |
-/dev/hda3 none swap sw 0 0 |
840 |
- |
841 |
-/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
842 |
-</pre> |
843 |
- |
844 |
-<pre caption="A full /etc/fstab example" test="func:keyval('arch')='PPC64'"> |
845 |
+<pre caption="A full /etc/fstab example" test="func:keyval('arch')='PPC' or |
846 |
+func:keyval('arch')='PPC64'"> |
847 |
/dev/sda4 / ext3 noatime 0 1 |
848 |
/dev/sda3 none swap sw 0 0 |
849 |
|
850 |
|
851 |
|
852 |
|
853 |
1.49 xml/htdocs/doc/en/handbook/hb-install-hppa-medium.xml |
854 |
|
855 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-medium.xml?rev=1.49&view=markup |
856 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-medium.xml?rev=1.49&content-type=text/plain |
857 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-medium.xml?r1=1.48&r2=1.49 |
858 |
|
859 |
Index: hb-install-hppa-medium.xml |
860 |
=================================================================== |
861 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-medium.xml,v |
862 |
retrieving revision 1.48 |
863 |
retrieving revision 1.49 |
864 |
diff -u -r1.48 -r1.49 |
865 |
--- hb-install-hppa-medium.xml 1 Apr 2008 08:53:46 -0000 1.48 |
866 |
+++ hb-install-hppa-medium.xml 2 May 2008 08:04:23 -0000 1.49 |
867 |
@@ -4,12 +4,12 @@ |
868 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
869 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
870 |
|
871 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-medium.xml,v 1.48 2008/04/01 08:53:46 nightmorph Exp $ --> |
872 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-medium.xml,v 1.49 2008/05/02 08:04:23 nightmorph Exp $ --> |
873 |
|
874 |
<sections> |
875 |
|
876 |
-<version>9.0</version> |
877 |
-<date>2008-04-01</date> |
878 |
+<version>9.1</version> |
879 |
+<date>2008-05-02</date> |
880 |
|
881 |
<section> |
882 |
<title>Hardware Requirements</title> |
883 |
@@ -445,137 +445,10 @@ |
884 |
|
885 |
</body> |
886 |
</subsection> |
887 |
-<subsection id="hardware"> |
888 |
-<title>Extra Hardware Configuration</title> |
889 |
-<body> |
890 |
- |
891 |
-<p> |
892 |
-Most hppa machines have an onboard ethernet card. Old ones use the lasi driver |
893 |
-which is compiled in the kernel. Newer ones need the tulip driver which is |
894 |
-compiled as a module. To use the latter, you need to load its driver. |
895 |
-</p> |
896 |
- |
897 |
-<p> |
898 |
-In the next example, we try to load the <c>tulip</c> module (support for |
899 |
-certain kinds of network interfaces): |
900 |
-</p> |
901 |
- |
902 |
-<pre caption="Loading kernel modules"> |
903 |
-# <i>modprobe tulip</i> |
904 |
-</pre> |
905 |
- |
906 |
-</body> |
907 |
-</subsection> |
908 |
- |
909 |
-<subsection id="useraccounts"> |
910 |
-<title>Optional: User Accounts</title> |
911 |
-<body> |
912 |
- |
913 |
-<p> |
914 |
-If you plan on giving other people access to your installation |
915 |
-environment or you want to chat using <c>irssi</c> without root privileges (for |
916 |
-security reasons), you need to create the necessary user accounts and change |
917 |
-the root password. |
918 |
-</p> |
919 |
|
920 |
-<p> |
921 |
-To change the root password, use the <c>passwd</c> utility: |
922 |
-</p> |
923 |
- |
924 |
-<pre caption="Changing the root password"> |
925 |
-# <i>passwd</i> |
926 |
-New password: <comment>(Enter your new password)</comment> |
927 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
928 |
-</pre> |
929 |
- |
930 |
-<p> |
931 |
-To create a user account, we first enter their credentials, followed by |
932 |
-its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
933 |
-In the next example, we create a user called "john". |
934 |
-</p> |
935 |
- |
936 |
-<pre caption="Creating a user account"> |
937 |
-# <i>useradd -m -G users john</i> |
938 |
-# <i>passwd john</i> |
939 |
-New password: <comment>(Enter john's password)</comment> |
940 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
941 |
-</pre> |
942 |
- |
943 |
-<p> |
944 |
-You can change your user id from root to the newly created user by using |
945 |
-<c>su</c>: |
946 |
-</p> |
947 |
- |
948 |
-<pre caption="Changing user id"> |
949 |
-# <i>su - john</i> |
950 |
-</pre> |
951 |
- |
952 |
-</body> |
953 |
-</subsection> |
954 |
<subsection> |
955 |
-<title>Optional: Viewing Documentation while Installing</title> |
956 |
-<body> |
957 |
- |
958 |
-<p> |
959 |
-If you want to view the Gentoo Handbook (either from-CD or online) during the |
960 |
-installation, make sure you have created a user account (see <uri |
961 |
-link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
962 |
-go to a new terminal and log in. |
963 |
-</p> |
964 |
- |
965 |
-<p> |
966 |
-If you want to view the documentation on the CD you can immediately run |
967 |
-<c>links</c> to read it: |
968 |
-</p> |
969 |
- |
970 |
-<pre caption="Viewing the on-CD documentation"> |
971 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
972 |
-</pre> |
973 |
- |
974 |
-<p> |
975 |
-However, it is preferred that you use the online Gentoo Handbook as it will be |
976 |
-more recent than the one provided on the CD. You can view it using <c>links</c> |
977 |
-as well, but only after having completed the <e>Configuring your Network</e> |
978 |
-chapter (otherwise you won't be able to go on the Internet to view the |
979 |
-document): |
980 |
-</p> |
981 |
- |
982 |
-<pre caption="Viewing the Online Documentation"> |
983 |
-# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
984 |
-</pre> |
985 |
- |
986 |
-<p> |
987 |
-You can go back to your original terminal by pressing <c>Alt-F1</c>. |
988 |
-</p> |
989 |
- |
990 |
-</body> |
991 |
+<include href="hb-install-bootconfig.xml"/> |
992 |
</subsection> |
993 |
-<subsection> |
994 |
-<title>Optional: Starting the SSH Daemon</title> |
995 |
-<body> |
996 |
|
997 |
-<p> |
998 |
-If you want to allow other users to access your computer during the |
999 |
-Gentoo installation (perhaps because those users are going to help you |
1000 |
-install Gentoo, or even do it for you), you need to create a user |
1001 |
-account for them and perhaps even provide them with your root password |
1002 |
-(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
1003 |
-</p> |
1004 |
- |
1005 |
-<p> |
1006 |
-To fire up the SSH daemon, execute the following command: |
1007 |
-</p> |
1008 |
- |
1009 |
-<pre caption="Starting the SSH daemon"> |
1010 |
-# <i>/etc/init.d/sshd start</i> |
1011 |
-</pre> |
1012 |
- |
1013 |
-<p> |
1014 |
-To be able to use sshd, you first need to set up your networking. Continue with |
1015 |
-the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
1016 |
-</p> |
1017 |
- |
1018 |
-</body> |
1019 |
-</subsection> |
1020 |
</section> |
1021 |
</sections> |
1022 |
|
1023 |
|
1024 |
|
1025 |
1.6 xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml |
1026 |
|
1027 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml?rev=1.6&view=markup |
1028 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml?rev=1.6&content-type=text/plain |
1029 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml?r1=1.5&r2=1.6 |
1030 |
|
1031 |
Index: hb-install-ia64-medium.xml |
1032 |
=================================================================== |
1033 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml,v |
1034 |
retrieving revision 1.5 |
1035 |
retrieving revision 1.6 |
1036 |
diff -u -r1.5 -r1.6 |
1037 |
--- hb-install-ia64-medium.xml 1 Apr 2008 08:53:46 -0000 1.5 |
1038 |
+++ hb-install-ia64-medium.xml 2 May 2008 08:04:23 -0000 1.6 |
1039 |
@@ -4,12 +4,12 @@ |
1040 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1041 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1042 |
|
1043 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml,v 1.5 2008/04/01 08:53:46 nightmorph Exp $ --> |
1044 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml,v 1.6 2008/05/02 08:04:23 nightmorph Exp $ --> |
1045 |
|
1046 |
<sections> |
1047 |
|
1048 |
-<version>6.0</version> |
1049 |
-<date>2008-04-01</date> |
1050 |
+<version>6.1</version> |
1051 |
+<date>2008-05-02</date> |
1052 |
|
1053 |
<section> |
1054 |
<title>Hardware Requirements</title> |
1055 |
@@ -285,173 +285,41 @@ |
1056 |
you can (de)activate at will. |
1057 |
</p> |
1058 |
|
1059 |
-<pre caption="Options available to pass to your kernel of choice"> |
1060 |
-- agpgart loads agpgart (use if you have graphic problems,lockups) |
1061 |
-- ide=nodma force disabling of DMA for malfunctioning IDE devices |
1062 |
-- doscsi scan for scsi devices (breaks some ethernet cards) |
1063 |
-- dopcmcia starts pcmcia service for PCMCIA cdroms |
1064 |
-- nofirewire disables firewire modules in initrd (for firewire cdroms,etc) |
1065 |
-- nokeymap disables keymap selection for non-us keyboard layouts |
1066 |
-- docache cache the entire runtime portion of CD in RAM, allows you |
1067 |
- to umount /mnt/cdrom to mount another CD. |
1068 |
-- nodetect causes hwsetup/kudzu and hotplug not to run |
1069 |
-- nousb disables usb module load from initrd, disables hotplug |
1070 |
-- nodhcp dhcp does not automatically start if nic detected |
1071 |
-- nohotplug disables loading hotplug service |
1072 |
-- noapic disable apic (try if having hardware problems nics,scsi,etc) |
1073 |
-- noevms disable loading of EVMS2 modules |
1074 |
-- nolvm disable loading of LVM2 modules |
1075 |
-- noload=module1,[module2,[...]] |
1076 |
- disable loading of specific kernel modules |
1077 |
-- dosshd starts sshd, useful for unattended installs |
1078 |
-- passwd=foo sets whatever is after the = as the root password; use with the |
1079 |
- dosshd option for remote installs |
1080 |
-</pre> |
1081 |
- |
1082 |
-<p> |
1083 |
-You will then be greeted with a boot screen. If you are installing |
1084 |
-Gentoo on a system with a non-US keyboard, make sure you select the |
1085 |
-layout at the prompt. If no selection is made in 10 seconds the |
1086 |
-default (US keyboard) will be accepted and the boot process will |
1087 |
-continue. Once the boot process completes, you will be automatically |
1088 |
-logged in to the "Live" Gentoo Linux as "root", the super user. You |
1089 |
-should have a root ("#") prompt on the current console. If you are |
1090 |
-using a video console and have a keyboard connected you can also |
1091 |
-switch to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get |
1092 |
-back to the one you started on by pressing Alt-F1. |
1093 |
-</p> |
1094 |
- |
1095 |
-<p> |
1096 |
-Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
1097 |
-</p> |
1098 |
- |
1099 |
</body> |
1100 |
-</subsection> |
1101 |
-<subsection id="hardware"> |
1102 |
-<title>Extra Hardware Configuration</title> |
1103 |
-<body> |
1104 |
- |
1105 |
-<p> |
1106 |
-When the Installation CD boots, it tries to detect all your hardware devices |
1107 |
-and loads the appropriate kernel modules to support your hardware. In the vast |
1108 |
-majority of cases, it does a very good job. However, in some cases it may not |
1109 |
-auto-load the kernel modules you need. If the PCI auto-detection missed some of |
1110 |
-your system's hardware, you will have to load the appropriate kernel modules |
1111 |
-manually. |
1112 |
-</p> |
1113 |
- |
1114 |
-<p> |
1115 |
-In the next example we try to load the <c>8139too</c> module (support for |
1116 |
-certain kinds of network interfaces): |
1117 |
-</p> |
1118 |
- |
1119 |
-<pre caption="Loading kernel modules"> |
1120 |
-# <i>modprobe 8139too</i> |
1121 |
-</pre> |
1122 |
|
1123 |
-</body> |
1124 |
-</subsection> |
1125 |
-<subsection> |
1126 |
-<title>Optional: Tweaking Hard Disk Performance</title> |
1127 |
<body> |
1128 |
- |
1129 |
-<p> |
1130 |
-If you are an advanced user, you might want to tweak the IDE hard disk |
1131 |
-performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
1132 |
-test the performance of your disk (execute it several times to get a |
1133 |
-more precise impression): |
1134 |
-</p> |
1135 |
- |
1136 |
-<pre caption="Testing disk performance"> |
1137 |
-# <i>hdparm -tT /dev/hda</i> |
1138 |
-</pre> |
1139 |
- |
1140 |
-<p> |
1141 |
-To tweak, you can use any of the following examples (or experiment |
1142 |
-yourself) which use <path>/dev/hda</path> as disk (substitute with your |
1143 |
-disk): |
1144 |
-</p> |
1145 |
- |
1146 |
-<pre caption="Tweaking hard disk performance"> |
1147 |
-<comment>(Activate DMA:)</comment> |
1148 |
-# <i>hdparm -d 1 /dev/hda</i> |
1149 |
-<comment>(Activate Safe Performance Options:)</comment> |
1150 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
1151 |
-</pre> |
1152 |
- |
1153 |
+<include href="hb-install-kernelparams.xml"/> |
1154 |
</body> |
1155 |
-</subsection> |
1156 |
-<subsection id="useraccounts"> |
1157 |
-<title>Optional: User Accounts</title> |
1158 |
-<body> |
1159 |
- |
1160 |
-<p> |
1161 |
-If you plan on giving other people access to your installation |
1162 |
-environment or you want to chat using <c>irssi</c> without root privileges (for |
1163 |
-security reasons), you need to create the necessary user accounts and change |
1164 |
-the root password. |
1165 |
-</p> |
1166 |
|
1167 |
-<p> |
1168 |
-To change the root password, use the <c>passwd</c> utility: |
1169 |
-</p> |
1170 |
+<body> |
1171 |
|
1172 |
-<pre caption="Changing the root password"> |
1173 |
-# <i>passwd</i> |
1174 |
-New password: <comment>(Enter your new password)</comment> |
1175 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
1176 |
-</pre> |
1177 |
+<note> |
1178 |
+The CD will check for "no*" options before "do*" options, so that you can |
1179 |
+override any option in the exact order you specify. |
1180 |
+</note> |
1181 |
|
1182 |
<p> |
1183 |
-To create a user account, we first enter their credentials, followed by |
1184 |
-its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
1185 |
-In the next example, we create a user called "john". |
1186 |
+You will then be greeted with a boot screen. If you are installing Gentoo on a |
1187 |
+system with a non-US keyboard, make sure you select the layout at the prompt. If |
1188 |
+no selection is made in 10 seconds the default (US keyboard) will be accepted |
1189 |
+and the boot process will continue. Once the boot process completes, you will be |
1190 |
+automatically logged in to the "Live" Gentoo Linux as "root", the super user. |
1191 |
+You should have a root ("#") prompt on the current console. If you are using a |
1192 |
+video console and have a keyboard connected you can also switch to other |
1193 |
+consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you started |
1194 |
+on by pressing Alt-F1. |
1195 |
</p> |
1196 |
|
1197 |
-<pre caption="Creating a user account"> |
1198 |
-# <i>useradd -m -G users john</i> |
1199 |
-# <i>passwd john</i> |
1200 |
-New password: <comment>(Enter john's password)</comment> |
1201 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
1202 |
-</pre> |
1203 |
- |
1204 |
<p> |
1205 |
-You can change your user id from root to the newly created user by using |
1206 |
-<c>su</c>: |
1207 |
+Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
1208 |
</p> |
1209 |
|
1210 |
-<pre caption="Changing user id"> |
1211 |
-# <i>su - john</i> |
1212 |
-</pre> |
1213 |
- |
1214 |
</body> |
1215 |
</subsection> |
1216 |
-<subsection> |
1217 |
-<title>Optional: Starting the SSH Daemon</title> |
1218 |
-<body> |
1219 |
- |
1220 |
-<p> |
1221 |
-If you want to allow other users to access your computer during the |
1222 |
-Gentoo installation (perhaps because those users are going to help you |
1223 |
-install Gentoo, or even do it for you), you need to create a user |
1224 |
-account for them and perhaps even provide them with your root password |
1225 |
-(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
1226 |
-</p> |
1227 |
|
1228 |
-<p> |
1229 |
-To fire up the SSH daemon, execute the following command: |
1230 |
-</p> |
1231 |
- |
1232 |
-<pre caption="Starting the SSH daemon"> |
1233 |
-# <i>/etc/init.d/sshd start</i> |
1234 |
-</pre> |
1235 |
- |
1236 |
-<p> |
1237 |
-To be able to use sshd, you first need to set up your networking. Continue with |
1238 |
-the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
1239 |
-</p> |
1240 |
- |
1241 |
-</body> |
1242 |
+<subsection> |
1243 |
+<include href="hb-install-bootconfig.xml"/> |
1244 |
</subsection> |
1245 |
+ |
1246 |
</section> |
1247 |
</sections> |
1248 |
|
1249 |
|
1250 |
|
1251 |
1.2 xml/htdocs/doc/en/handbook/hb-install-kernelparams.xml |
1252 |
|
1253 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-kernelparams.xml?rev=1.2&view=markup |
1254 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-kernelparams.xml?rev=1.2&content-type=text/plain |
1255 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-kernelparams.xml?r1=1.1&r2=1.2 |
1256 |
|
1257 |
Index: hb-install-kernelparams.xml |
1258 |
=================================================================== |
1259 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-kernelparams.xml,v |
1260 |
retrieving revision 1.1 |
1261 |
retrieving revision 1.2 |
1262 |
diff -u -r1.1 -r1.2 |
1263 |
--- hb-install-kernelparams.xml 2 Apr 2008 16:43:02 -0000 1.1 |
1264 |
+++ hb-install-kernelparams.xml 2 May 2008 08:04:23 -0000 1.2 |
1265 |
@@ -1,11 +1,11 @@ |
1266 |
<?xml version='1.0' encoding="UTF-8"?> |
1267 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-kernelparams.xml,v 1.1 2008/04/02 16:43:02 neysx Exp $ --> |
1268 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-kernelparams.xml,v 1.2 2008/05/02 08:04:23 nightmorph Exp $ --> |
1269 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
1270 |
|
1271 |
<included> |
1272 |
|
1273 |
-<version>1</version> |
1274 |
-<date>2008-04-01</date> |
1275 |
+<version>2</version> |
1276 |
+<date>2008-05-02</date> |
1277 |
|
1278 |
<body> |
1279 |
<p> |
1280 |
@@ -51,11 +51,11 @@ |
1281 |
This loads support for most SCSI controllers. This is also a requirement for |
1282 |
booting most USB devices, as they use the SCSI subsystem of the kernel. |
1283 |
</dd> |
1284 |
-<dt>hda=stroke</dt> |
1285 |
+<dt>sda=stroke</dt> |
1286 |
<dd> |
1287 |
This allows you to partition the whole hard disk even when your BIOS is unable |
1288 |
to handle large disks. This option is only used on machines with an older BIOS. |
1289 |
- Replace hda with the device that is requiring this option. |
1290 |
+ Replace sda with the device that requires this option. |
1291 |
</dd> |
1292 |
<dt>ide=nodma</dt> |
1293 |
<dd> |
1294 |
|
1295 |
|
1296 |
|
1297 |
1.20 xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml |
1298 |
|
1299 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml?rev=1.20&view=markup |
1300 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml?rev=1.20&content-type=text/plain |
1301 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml?r1=1.19&r2=1.20 |
1302 |
|
1303 |
Index: hb-install-mips-bootloader.xml |
1304 |
=================================================================== |
1305 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml,v |
1306 |
retrieving revision 1.19 |
1307 |
retrieving revision 1.20 |
1308 |
diff -u -r1.19 -r1.20 |
1309 |
--- hb-install-mips-bootloader.xml 1 Apr 2008 08:53:46 -0000 1.19 |
1310 |
+++ hb-install-mips-bootloader.xml 2 May 2008 08:04:23 -0000 1.20 |
1311 |
@@ -4,12 +4,12 @@ |
1312 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1313 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1314 |
|
1315 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml,v 1.19 2008/04/01 08:53:46 nightmorph Exp $ --> |
1316 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml,v 1.20 2008/05/02 08:04:23 nightmorph Exp $ --> |
1317 |
|
1318 |
<sections> |
1319 |
|
1320 |
-<version>9.0</version> |
1321 |
-<date>2008-04-01</date> |
1322 |
+<version>9.1</version> |
1323 |
+<date>2008-05-02</date> |
1324 |
|
1325 |
<section id="sgi"> |
1326 |
<title>Silicon Graphics Machines -- Setting Up arcload</title> |
1327 |
@@ -259,9 +259,9 @@ |
1328 |
|
1329 |
<pre caption="A basic default.colo"> |
1330 |
<comment>#:CoLo:#</comment> |
1331 |
-mount hda1 |
1332 |
+mount sda1 |
1333 |
load /kernel.gz.working |
1334 |
-execute root=/dev/hda3 ro console=ttyS0,115200 |
1335 |
+execute root=/dev/sda3 ro console=ttyS0,115200 |
1336 |
</pre> |
1337 |
|
1338 |
<note> |
1339 |
@@ -283,8 +283,8 @@ |
1340 |
<pre caption="Menu-based configuration"> |
1341 |
<comment>#:CoLo:#</comment> |
1342 |
|
1343 |
-lcd "Mounting hda1" |
1344 |
-mount hda1 |
1345 |
+lcd "Mounting sda1" |
1346 |
+mount sda1 |
1347 |
select "Which Kernel?" 50 Working New |
1348 |
|
1349 |
goto {menu-option} |
1350 |
@@ -297,7 +297,7 @@ |
1351 |
@lcd "Loading Linux" {image-name} |
1352 |
load /{image-name} |
1353 |
lcd "Booting..." |
1354 |
-execute root=/dev/hda5 ro console=ttyS0,115200 |
1355 |
+execute root=/dev/sda5 ro console=ttyS0,115200 |
1356 |
boot |
1357 |
</pre> |
1358 |
|
1359 |
|
1360 |
|
1361 |
|
1362 |
1.26 xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml |
1363 |
|
1364 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?rev=1.26&view=markup |
1365 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?rev=1.26&content-type=text/plain |
1366 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?r1=1.25&r2=1.26 |
1367 |
|
1368 |
Index: hb-install-mips-disk.xml |
1369 |
=================================================================== |
1370 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v |
1371 |
retrieving revision 1.25 |
1372 |
retrieving revision 1.26 |
1373 |
diff -u -r1.25 -r1.26 |
1374 |
--- hb-install-mips-disk.xml 1 Apr 2008 08:53:46 -0000 1.25 |
1375 |
+++ hb-install-mips-disk.xml 2 May 2008 08:04:23 -0000 1.26 |
1376 |
@@ -4,12 +4,12 @@ |
1377 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1378 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1379 |
|
1380 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v 1.25 2008/04/01 08:53:46 nightmorph Exp $ --> |
1381 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v 1.26 2008/05/02 08:04:23 nightmorph Exp $ --> |
1382 |
|
1383 |
<sections> |
1384 |
|
1385 |
-<version>3.0</version> |
1386 |
-<date>2008-04-01</date> |
1387 |
+<version>3.1</version> |
1388 |
+<date>2008-05-02</date> |
1389 |
|
1390 |
<section> |
1391 |
<title>Introduction to Block Devices</title> |
1392 |
@@ -268,7 +268,7 @@ |
1393 |
|
1394 |
<ul> |
1395 |
<li> |
1396 |
- Cobalt firmware will expect <path>/dev/hda1</path> to be a Linux partition |
1397 |
+ Cobalt firmware will expect <path>/dev/sda1</path> to be a Linux partition |
1398 |
formatted <e>EXT2 Revision 0</e>. <e>EXT2 Revision 1 partitions will NOT |
1399 |
WORK!</e> (The Cobalt BOOTROM only understands EXT2r0) |
1400 |
</li> |
1401 |
@@ -287,13 +287,13 @@ |
1402 |
</p> |
1403 |
|
1404 |
<p> |
1405 |
-I will assume you have created <path>/dev/hda1</path> to mount later as a |
1406 |
+I will assume you have created <path>/dev/sda1</path> to mount later as a |
1407 |
<path>/boot</path> partition. If you wish to make this <path>/</path>, you'll |
1408 |
need to keep the PROM's expectations in mind. |
1409 |
</p> |
1410 |
|
1411 |
<p> |
1412 |
-So, continuing on... To create the partitions you type <c>fdisk /dev/hda</c> at |
1413 |
+So, continuing on... To create the partitions you type <c>fdisk /dev/sda</c> at |
1414 |
the prompt. The main commands you need to know are these: |
1415 |
</p> |
1416 |
|
1417 |
@@ -326,7 +326,7 @@ |
1418 |
</ul> |
1419 |
|
1420 |
<pre caption="Partitioning the disk"> |
1421 |
-# <i>fdisk /dev/hda</i> |
1422 |
+# <i>fdisk /dev/sda</i> |
1423 |
|
1424 |
The number of cylinders for this disk is set to 19870. |
1425 |
There is nothing wrong with that, but this is larger than 1024, |
1426 |
@@ -354,7 +354,7 @@ |
1427 |
|
1428 |
Command (m for help): <i>p</i> |
1429 |
|
1430 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1431 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1432 |
16 heads, 63 sectors/track, 19870 cylinders |
1433 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1434 |
|
1435 |
@@ -377,12 +377,12 @@ |
1436 |
<comment>(and now if we type 'p' again, we should see the new partition)</comment> |
1437 |
Command (m for help): <i>p</i> |
1438 |
|
1439 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1440 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1441 |
16 heads, 63 sectors/track, 19870 cylinders |
1442 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1443 |
|
1444 |
Device Boot Start End Blocks Id System |
1445 |
-/dev/hda1 1 40 20128+ 83 Linux |
1446 |
+/dev/sda1 1 40 20128+ 83 Linux |
1447 |
|
1448 |
<comment>(The rest, I prefer to put in an extended partition, so I'll create that)</comment> |
1449 |
|
1450 |
@@ -434,19 +434,19 @@ |
1451 |
|
1452 |
Command (m for help): <i>p</i> |
1453 |
|
1454 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1455 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1456 |
16 heads, 63 sectors/track, 19870 cylinders |
1457 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1458 |
|
1459 |
Device Boot Start End Blocks ID System |
1460 |
-/dev/hda1 1 21 10552+ 83 Linux |
1461 |
-/dev/hda2 22 19870 10003896 5 Extended |
1462 |
-/dev/hda5 22 1037 512032+ 83 Linux |
1463 |
-/dev/hda6 1038 5101 2048224+ 83 Linux |
1464 |
-/dev/hda7 5102 9165 2048224+ 83 Linux |
1465 |
-/dev/hda8 9166 13229 2048224+ 83 Linux |
1466 |
-/dev/hda9 13230 17293 2048224+ 83 Linux |
1467 |
-/dev/hda10 17294 19870 1298776+ 83 Linux |
1468 |
+/dev/sda1 1 21 10552+ 83 Linux |
1469 |
+/dev/sda2 22 19870 10003896 5 Extended |
1470 |
+/dev/sda5 22 1037 512032+ 83 Linux |
1471 |
+/dev/sda6 1038 5101 2048224+ 83 Linux |
1472 |
+/dev/sda7 5102 9165 2048224+ 83 Linux |
1473 |
+/dev/sda8 9166 13229 2048224+ 83 Linux |
1474 |
+/dev/sda9 13230 17293 2048224+ 83 Linux |
1475 |
+/dev/sda10 17294 19870 1298776+ 83 Linux |
1476 |
|
1477 |
<comment>(Notice how #10, our swap partition is still type 83?)</comment> |
1478 |
|
1479 |
@@ -459,19 +459,19 @@ |
1480 |
|
1481 |
Command (m for help): <i>p</i> |
1482 |
|
1483 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1484 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1485 |
16 heads, 63 sectors/track, 19870 cylinders |
1486 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1487 |
|
1488 |
Device Boot Start End Blocks ID System |
1489 |
-/dev/hda1 1 21 10552+ 83 Linux |
1490 |
-/dev/hda2 22 19870 10003896 5 Extended |
1491 |
-/dev/hda5 22 1037 512032+ 83 Linux |
1492 |
-/dev/hda6 1038 5101 2048224+ 83 Linux |
1493 |
-/dev/hda7 5102 9165 2048224+ 83 Linux |
1494 |
-/dev/hda8 9166 13229 2048224+ 83 Linux |
1495 |
-/dev/hda9 13230 17293 2048224+ 83 Linux |
1496 |
-/dev/hda10 17294 19870 1298776+ 82 Linux Swap |
1497 |
+/dev/sda1 1 21 10552+ 83 Linux |
1498 |
+/dev/sda2 22 19870 10003896 5 Extended |
1499 |
+/dev/sda5 22 1037 512032+ 83 Linux |
1500 |
+/dev/sda6 1038 5101 2048224+ 83 Linux |
1501 |
+/dev/sda7 5102 9165 2048224+ 83 Linux |
1502 |
+/dev/sda8 9166 13229 2048224+ 83 Linux |
1503 |
+/dev/sda9 13230 17293 2048224+ 83 Linux |
1504 |
+/dev/sda10 17294 19870 1298776+ 82 Linux Swap |
1505 |
|
1506 |
<comment>(Now, we write out the new partition table.)</comment> |
1507 |
|
1508 |
@@ -567,10 +567,10 @@ |
1509 |
</p> |
1510 |
|
1511 |
<warn> |
1512 |
-If you're installing on a Cobalt server, remember <path>/dev/hda1</path> MUST |
1513 |
+If you're installing on a Cobalt server, remember <path>/dev/sda1</path> MUST |
1514 |
be of type <e>EXT2 revision 0</e>; Anything else (e.g. EXT2 revision 1, EXT3, |
1515 |
ReiserFS, XFS, JFS and others) <e>WILL NOT WORK!</e> You can format the |
1516 |
-partition using the command: <c>mke2fs -r 0 /dev/hda1</c>. |
1517 |
+partition using the command: <c>mke2fs -r 0 /dev/sda1</c>. |
1518 |
</warn> |
1519 |
|
1520 |
</body> |
1521 |
|
1522 |
|
1523 |
|
1524 |
1.45 xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml |
1525 |
|
1526 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml?rev=1.45&view=markup |
1527 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml?rev=1.45&content-type=text/plain |
1528 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml?r1=1.44&r2=1.45 |
1529 |
|
1530 |
Index: hb-install-ppc-bootloader.xml |
1531 |
=================================================================== |
1532 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml,v |
1533 |
retrieving revision 1.44 |
1534 |
retrieving revision 1.45 |
1535 |
diff -u -r1.44 -r1.45 |
1536 |
--- hb-install-ppc-bootloader.xml 1 Apr 2008 08:53:46 -0000 1.44 |
1537 |
+++ hb-install-ppc-bootloader.xml 2 May 2008 08:04:23 -0000 1.45 |
1538 |
@@ -4,12 +4,12 @@ |
1539 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1540 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1541 |
|
1542 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml,v 1.44 2008/04/01 08:53:46 nightmorph Exp $ --> |
1543 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml,v 1.45 2008/05/02 08:04:23 nightmorph Exp $ --> |
1544 |
|
1545 |
<sections> |
1546 |
|
1547 |
-<version>9.0</version> |
1548 |
-<date>2008-04-01</date> |
1549 |
+<version>9.1</version> |
1550 |
+<date>2008-05-02</date> |
1551 |
|
1552 |
<section> |
1553 |
<title>Choosing a Bootloader</title> |
1554 |
@@ -89,7 +89,7 @@ |
1555 |
initrd=/boot/initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/> |
1556 |
<comment># You can add additional kernel arguments to append such as |
1557 |
# rootdelay=10 for a USB/Firewire Boot</comment> |
1558 |
- append="real_root=/dev/hda3 init=/linuxrc" |
1559 |
+ append="real_root=/dev/sda3 init=/linuxrc" |
1560 |
read-only |
1561 |
<comment>##########################################################</comment> |
1562 |
</pre> |
1563 |
@@ -128,7 +128,7 @@ |
1564 |
Now exit the chroot and run <c>yabootconfig --chroot /mnt/gentoo</c>. First, |
1565 |
the program will confirm the location of the bootstrap partition. If you are |
1566 |
using the suggested disk partitioning scheme, your bootstrap partition should |
1567 |
-be /dev/hda2. Type <c>Y</c> if the output is correct. If not, double check your |
1568 |
+be /dev/sda2. Type <c>Y</c> if the output is correct. If not, double check your |
1569 |
<path>/etc/fstab</path>. <c>yabootconfig</c> will then scan your system setup, |
1570 |
create <path>/etc/yaboot.conf</path> and run <c>mkofboot</c> for you. |
1571 |
<c>mkofboot</c> is used to format the Apple_Bootstrap partition, and install |
1572 |
@@ -169,9 +169,7 @@ |
1573 |
|
1574 |
<p> |
1575 |
An example <path>yaboot.conf</path> file is given below, but you will need to |
1576 |
-alter it to fit your needs. G5 users and users booting from firewire and USB |
1577 |
-should be aware that their disks are seen as SCSI disks by the Linux kernel, so |
1578 |
-you will need to substitute <path>/dev/hda</path> with <path>/dev/sda</path>). |
1579 |
+alter it to fit your needs. |
1580 |
</p> |
1581 |
|
1582 |
<pre caption = "/etc/yaboot.conf"> |
1583 |
@@ -181,16 +179,16 @@ |
1584 |
## see also: /usr/share/doc/yaboot/examples for example configurations. |
1585 |
## |
1586 |
## For a dual-boot menu, add one or more of: |
1587 |
-## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ |
1588 |
+## bsd=/dev/sdaX, macos=/dev/sdaY, macosx=/dev/sdaZ |
1589 |
|
1590 |
## The bootstrap partition:</comment> |
1591 |
|
1592 |
-boot=/dev/hda2 |
1593 |
+boot=/dev/sda2 |
1594 |
|
1595 |
<comment>## ofboot is the Open Firmware way to specify the bootstrap partition. |
1596 |
## If this isn't defined, yaboot fails on the G5 and some G4s (unless |
1597 |
## you pass the necessary arguments to the mkofboot/ybin program). |
1598 |
-## hd:X means /dev/sdaX (or /dev/hdaX). |
1599 |
+## hd:X means /dev/sdaX. |
1600 |
## |
1601 |
## G5 users should uncomment this line!! |
1602 |
|
1603 |
@@ -224,7 +222,7 @@ |
1604 |
###########################################################</comment> |
1605 |
image=/boot/<keyval id="kernel-name"/> |
1606 |
label=Linux |
1607 |
- root=/dev/hda3 |
1608 |
+ root=/dev/sda3 |
1609 |
partition=3 |
1610 |
<comment># append="rootdelay=10" # Required for booting USB/Firewire</comment> |
1611 |
read-only |
1612 |
@@ -234,8 +232,8 @@ |
1613 |
## macos=hd:13/ |
1614 |
## macosx=hd:12 |
1615 |
## instead of the example values.</comment> |
1616 |
-macos=/dev/hda13 |
1617 |
-macosx=/dev/hda12 |
1618 |
+macos=/dev/sda13 |
1619 |
+macosx=/dev/sda12 |
1620 |
enablecdboot |
1621 |
enableofboot |
1622 |
</pre> |
1623 |
@@ -371,7 +369,7 @@ |
1624 |
init-message = "Gentoo 2008.0\n" |
1625 |
<comment># This is the boot partition</comment> |
1626 |
partition = 2 |
1627 |
-root = /dev/hda4 |
1628 |
+root = /dev/sda4 |
1629 |
timeout = 30 |
1630 |
default = gentoo |
1631 |
<comment># This is your kernel</comment> |
1632 |
@@ -403,7 +401,7 @@ |
1633 |
# <i>nvsetenv input-device kbd</i> |
1634 |
# <i>nvsetenv boot-device scsi/sd@1:0</i> <comment># For SCSI</comment> |
1635 |
# <i>nvsetenv boot-device ata/ata-disk@0:0</i> <comment># For ATA</comment> |
1636 |
-# <i>nvsetenv boot-file /boot/<keyval id="kernel-name"/> root=/dev/hda4</i> <comment>First item is the path to the kernel, the second is the root partition. You may append any kernel options to the end of this line.</comment> |
1637 |
+# <i>nvsetenv boot-file /boot/<keyval id="kernel-name"/> root=/dev/sda4</i> <comment>First item is the path to the kernel, the second is the root partition. You may append any kernel options to the end of this line.</comment> |
1638 |
# <i>nvsetenv boot-command boot</i> <comment># Set this to bye for MacOS and boot for Linux</comment> |
1639 |
</pre> |
1640 |
|
1641 |
@@ -491,11 +489,11 @@ |
1642 |
|
1643 |
[SECTION] |
1644 |
Local HD -> Linux (Normal) |
1645 |
-ide:0 <keyval id="kernel-name"/> video=radeonfb:1024x768@70 root=/dev/hda3 |
1646 |
+ide:0 <keyval id="kernel-name"/> video=radeonfb:1024x768@70 root=/dev/sda3 |
1647 |
|
1648 |
[SECTION] |
1649 |
Local HD -> Genkernel (Normal) |
1650 |
-ide:0 kernel-genkernel-ppc-<keyval id="kernel-gentoo"/> root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc initrd=initramfs-genkernel-ppc<keyval id="kernel-gentoo"/> |
1651 |
+ide:0 kernel-genkernel-ppc-<keyval id="kernel-gentoo"/> root=/dev/ram0 real_root=/dev/sda3 init=/linuxrc initrd=initramfs-genkernel-ppc<keyval id="kernel-gentoo"/> |
1652 |
</pre> |
1653 |
|
1654 |
<p> |
1655 |
|
1656 |
|
1657 |
|
1658 |
1.47 xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml |
1659 |
|
1660 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml?rev=1.47&view=markup |
1661 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml?rev=1.47&content-type=text/plain |
1662 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml?r1=1.46&r2=1.47 |
1663 |
|
1664 |
Index: hb-install-ppc-disk.xml |
1665 |
=================================================================== |
1666 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v |
1667 |
retrieving revision 1.46 |
1668 |
retrieving revision 1.47 |
1669 |
diff -u -r1.46 -r1.47 |
1670 |
--- hb-install-ppc-disk.xml 1 Apr 2008 08:53:46 -0000 1.46 |
1671 |
+++ hb-install-ppc-disk.xml 2 May 2008 08:04:23 -0000 1.47 |
1672 |
@@ -4,12 +4,12 @@ |
1673 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1674 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1675 |
|
1676 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.46 2008/04/01 08:53:46 nightmorph Exp $ --> |
1677 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.47 2008/05/02 08:04:23 nightmorph Exp $ --> |
1678 |
|
1679 |
<sections> |
1680 |
|
1681 |
-<version>9.0</version> |
1682 |
-<date>2008-04-01</date> |
1683 |
+<version>9.1</version> |
1684 |
+<date>2008-05-02</date> |
1685 |
|
1686 |
<section> |
1687 |
<title>Introduction to Block Devices</title> |
1688 |
@@ -91,25 +91,25 @@ |
1689 |
<th>Description</th> |
1690 |
</tr> |
1691 |
<tr> |
1692 |
- <ti><path>/dev/hda1</path></ti> |
1693 |
+ <ti><path>/dev/sda1</path></ti> |
1694 |
<ti>32k</ti> |
1695 |
<ti>None</ti> |
1696 |
<ti>Apple Partition Map</ti> |
1697 |
</tr> |
1698 |
<tr> |
1699 |
- <ti><path>/dev/hda2</path></ti> |
1700 |
+ <ti><path>/dev/sda2</path></ti> |
1701 |
<ti>800k</ti> |
1702 |
<ti>HFS</ti> |
1703 |
<ti>Apple Bootstrap</ti> |
1704 |
</tr> |
1705 |
<tr> |
1706 |
- <ti><path>/dev/hda3</path></ti> |
1707 |
+ <ti><path>/dev/sda3</path></ti> |
1708 |
<ti>512Mb</ti> |
1709 |
<ti>Swap</ti> |
1710 |
<ti>Linux Swap</ti> |
1711 |
</tr> |
1712 |
<tr> |
1713 |
- <ti><path>/dev/hda4</path></ti> |
1714 |
+ <ti><path>/dev/sda4</path></ti> |
1715 |
<ti>Rest of Disk</ti> |
1716 |
<ti>ext3, reiserfs, xfs</ti> |
1717 |
<ti>Linux Root</ti> |
1718 |
@@ -150,25 +150,25 @@ |
1719 |
<th>Description</th> |
1720 |
</tr> |
1721 |
<tr> |
1722 |
- <ti><path>/dev/hda1</path></ti> |
1723 |
+ <ti><path>/dev/sda1</path></ti> |
1724 |
<ti>32k</ti> |
1725 |
<ti>None</ti> |
1726 |
<ti>Apple Partition Map</ti> |
1727 |
</tr> |
1728 |
<tr> |
1729 |
- <ti><path>/dev/hda2</path></ti> |
1730 |
+ <ti><path>/dev/sda2</path></ti> |
1731 |
<ti>32Mb</ti> |
1732 |
<ti>ext2</ti> |
1733 |
<ti>Quik Boot Partition (quik only)</ti> |
1734 |
</tr> |
1735 |
<tr> |
1736 |
- <ti><path>/dev/hda3</path></ti> |
1737 |
+ <ti><path>/dev/sda3</path></ti> |
1738 |
<ti>512Mb</ti> |
1739 |
<ti>Swap</ti> |
1740 |
<ti>Linux Swap</ti> |
1741 |
</tr> |
1742 |
<tr> |
1743 |
- <ti><path>/dev/hda4</path></ti> |
1744 |
+ <ti><path>/dev/sda4</path></ti> |
1745 |
<ti>Rest of Disk</ti> |
1746 |
<ti>ext3, reiserfs, xfs</ti> |
1747 |
<ti>Linux Root</ti> |
1748 |
@@ -199,19 +199,19 @@ |
1749 |
<th>Description</th> |
1750 |
</tr> |
1751 |
<tr> |
1752 |
- <ti><path>/dev/hda1</path></ti> |
1753 |
+ <ti><path>/dev/sda1</path></ti> |
1754 |
<ti>32Mb</ti> |
1755 |
<ti>affs1 or ext2</ti> |
1756 |
<ti>Boot Partition</ti> |
1757 |
</tr> |
1758 |
<tr> |
1759 |
- <ti><path>/dev/hda2</path></ti> |
1760 |
+ <ti><path>/dev/sda2</path></ti> |
1761 |
<ti>512Mb</ti> |
1762 |
<ti>Swap</ti> |
1763 |
<ti>Linux Swap</ti> |
1764 |
</tr> |
1765 |
<tr> |
1766 |
- <ti><path>/dev/hda3</path></ti> |
1767 |
+ <ti><path>/dev/sda3</path></ti> |
1768 |
<ti>Rest of Disk</ti> |
1769 |
<ti>ext3, reiserfs, xfs</ti> |
1770 |
<ti>Linux Root</ti> |
1771 |
@@ -237,19 +237,19 @@ |
1772 |
<th>Description</th> |
1773 |
</tr> |
1774 |
<tr> |
1775 |
- <ti><path>/dev/hda1</path></ti> |
1776 |
+ <ti><path>/dev/sda1</path></ti> |
1777 |
<ti>800k</ti> |
1778 |
<ti>None</ti> |
1779 |
<ti>PReP Boot Partition (Type 0x41)</ti> |
1780 |
</tr> |
1781 |
<tr> |
1782 |
- <ti><path>/dev/hda2</path></ti> |
1783 |
+ <ti><path>/dev/sda2</path></ti> |
1784 |
<ti>512Mb</ti> |
1785 |
<ti>Swap</ti> |
1786 |
<ti>Linux Swap (Type 0x82)</ti> |
1787 |
</tr> |
1788 |
<tr> |
1789 |
- <ti><path>/dev/hda3</path></ti> |
1790 |
+ <ti><path>/dev/sda3</path></ti> |
1791 |
<ti>Rest of Disk</ti> |
1792 |
<ti>ext3, reiserfs, xfs</ti> |
1793 |
<ti>Linux Root (Type 0x83)</ti> |
1794 |
@@ -335,7 +335,7 @@ |
1795 |
</p> |
1796 |
|
1797 |
<pre caption="Starting mac-fdisk"> |
1798 |
-# <i>mac-fdisk /dev/hda</i> |
1799 |
+# <i>mac-fdisk /dev/sda</i> |
1800 |
</pre> |
1801 |
|
1802 |
<p> |
1803 |
@@ -412,7 +412,7 @@ |
1804 |
</p> |
1805 |
|
1806 |
<pre caption="Starting parted"> |
1807 |
-# <i>parted /dev/hda</i> |
1808 |
+# <i>parted /dev/sda</i> |
1809 |
</pre> |
1810 |
|
1811 |
<p> |
1812 |
@@ -489,7 +489,7 @@ |
1813 |
</p> |
1814 |
|
1815 |
<pre caption="Creating a swap signature"> |
1816 |
-# <i>mkswap /dev/hda3</i> |
1817 |
+# <i>mkswap /dev/sda3</i> |
1818 |
</pre> |
1819 |
|
1820 |
<p> |
1821 |
@@ -497,7 +497,7 @@ |
1822 |
</p> |
1823 |
|
1824 |
<pre caption="Activating the swap partition"> |
1825 |
-# <i>swapon /dev/hda3</i> |
1826 |
+# <i>swapon /dev/sda3</i> |
1827 |
</pre> |
1828 |
|
1829 |
<p> |
1830 |
@@ -540,11 +540,11 @@ |
1831 |
|
1832 |
<p> |
1833 |
For instance, to make an ext3 filesystem on the root partition |
1834 |
-(<path>/dev/hda4</path> in our example), you would use: |
1835 |
+(<path>/dev/sda4</path> in our example), you would use: |
1836 |
</p> |
1837 |
|
1838 |
<pre caption="Applying a filesystem on a partition"> |
1839 |
-# <i>mke2fs -j /dev/hda4</i> |
1840 |
+# <i>mke2fs -j /dev/sda4</i> |
1841 |
</pre> |
1842 |
|
1843 |
<p> |
1844 |
@@ -580,7 +580,7 @@ |
1845 |
</p> |
1846 |
|
1847 |
<pre caption="Mounting partitions"> |
1848 |
-# <i>mount /dev/hda4 /mnt/gentoo</i> |
1849 |
+# <i>mount /dev/sda4 /mnt/gentoo</i> |
1850 |
</pre> |
1851 |
|
1852 |
<note> |
1853 |
|
1854 |
|
1855 |
|
1856 |
1.61 xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml |
1857 |
|
1858 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml?rev=1.61&view=markup |
1859 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml?rev=1.61&content-type=text/plain |
1860 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml?r1=1.60&r2=1.61 |
1861 |
|
1862 |
Index: hb-install-ppc-medium.xml |
1863 |
=================================================================== |
1864 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v |
1865 |
retrieving revision 1.60 |
1866 |
retrieving revision 1.61 |
1867 |
diff -u -r1.60 -r1.61 |
1868 |
--- hb-install-ppc-medium.xml 1 Apr 2008 08:53:46 -0000 1.60 |
1869 |
+++ hb-install-ppc-medium.xml 2 May 2008 08:04:23 -0000 1.61 |
1870 |
@@ -4,12 +4,12 @@ |
1871 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1872 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1873 |
|
1874 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.60 2008/04/01 08:53:46 nightmorph Exp $ --> |
1875 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.61 2008/05/02 08:04:23 nightmorph Exp $ --> |
1876 |
|
1877 |
<sections> |
1878 |
|
1879 |
-<version>9.0</version> |
1880 |
-<date>2008-04-01</date> |
1881 |
+<version>9.1</version> |
1882 |
+<date>2008-05-02</date> |
1883 |
|
1884 |
<section> |
1885 |
<title>Hardware Requirements</title> |
1886 |
@@ -423,180 +423,10 @@ |
1887 |
|
1888 |
</body> |
1889 |
</subsection> |
1890 |
-<subsection id="hardware"> |
1891 |
-<title>Extra Hardware Configuration</title> |
1892 |
-<body> |
1893 |
- |
1894 |
-<p> |
1895 |
-When the Installation CD boots, it tries to detect all your hardware devices and |
1896 |
-loads the appropriate kernel modules to support your hardware. In the |
1897 |
-vast majority of cases, it does a very good job. However, in some cases, it may |
1898 |
-not auto-load the kernel modules you need. If the PCI auto-detection missed some |
1899 |
-of your system's hardware, you will have to load the appropriate kernel modules |
1900 |
-manually. |
1901 |
-</p> |
1902 |
- |
1903 |
-<p> |
1904 |
-In the next example we try to load the <c>airport</c> module. This module |
1905 |
-supports only the old Airport cards (802.11b). Airport Extreme (802.11g) is not |
1906 |
-supported on the InstallCD due to restrictions on firmware distribution. |
1907 |
-</p> |
1908 |
- |
1909 |
-<pre caption="Loading the airport module"> |
1910 |
-# <i>modprobe airport</i> |
1911 |
-</pre> |
1912 |
- |
1913 |
-<p> |
1914 |
-On older iMacs, sometimes the network card is not detected properly. These use |
1915 |
-the BMAC driver: |
1916 |
-</p> |
1917 |
- |
1918 |
-<pre caption="Loading the bmac module"> |
1919 |
-# <i>modprobe bmac</i> |
1920 |
-</pre> |
1921 |
|
1922 |
-</body> |
1923 |
-</subsection> |
1924 |
<subsection> |
1925 |
-<title>Optional: Tweaking Hard Disk Performance</title> |
1926 |
-<body> |
1927 |
- |
1928 |
-<p> |
1929 |
-If you are an advanced user, you might want to tweak the IDE hard disk |
1930 |
-performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
1931 |
-test the performance of your disk (execute it several times to get a |
1932 |
-more precise impression): |
1933 |
-</p> |
1934 |
- |
1935 |
-<pre caption="Testing disk performance"> |
1936 |
-# <i>hdparm -tT /dev/hda</i> |
1937 |
-</pre> |
1938 |
- |
1939 |
-<p> |
1940 |
-To tweak, you can use any of the following examples (or experiment |
1941 |
-yourself) which use <path>/dev/hda</path> as disk (substitute with your |
1942 |
-disk): |
1943 |
-</p> |
1944 |
- |
1945 |
-<pre caption="Tweaking hard disk performance"> |
1946 |
-<comment>Activate DMA:</comment> |
1947 |
-# <i>hdparm -d 1 /dev/hda</i> |
1948 |
-<comment>Activate DMA + Safe Performance-enhancing Options:</comment> |
1949 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
1950 |
-</pre> |
1951 |
- |
1952 |
-</body> |
1953 |
+<include href="hb-install-bootconfig.xml"/> |
1954 |
</subsection> |
1955 |
-<subsection id="useraccounts"> |
1956 |
-<title>Optional: User Accounts</title> |
1957 |
-<body> |
1958 |
- |
1959 |
-<p> |
1960 |
-If you plan on giving other people access to your installation |
1961 |
-environment or you want to chat using <c>irssi</c> without root privileges (for |
1962 |
-security reasons), you need to create the necessary user accounts and change |
1963 |
-the root password. |
1964 |
-</p> |
1965 |
|
1966 |
-<p> |
1967 |
-To change the root password, use the <c>passwd</c> utility: |
1968 |
-</p> |
1969 |
- |
1970 |
-<pre caption="Changing the root password"> |
1971 |
-# <i>passwd</i> |
1972 |
-New password: <comment>(Enter your new password)</comment> |
1973 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
1974 |
-</pre> |
1975 |
- |
1976 |
-<p> |
1977 |
-To create a user account, we first enter their credentials, followed by |
1978 |
-its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
1979 |
-In the next example, we create a user called "john". |
1980 |
-</p> |
1981 |
- |
1982 |
-<pre caption="Creating a user account"> |
1983 |
-# <i>useradd -m -G users john</i> |
1984 |
-# <i>passwd john</i> |
1985 |
-New password: <comment>(Enter john's password)</comment> |
1986 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
1987 |
-</pre> |
1988 |
- |
1989 |
-<p> |
1990 |
-You can change your user id from root to the newly created user by using |
1991 |
-<c>su</c>: |
1992 |
-</p> |
1993 |
- |
1994 |
-<pre caption="Changing user id"> |
1995 |
-# <i>su - john</i> |
1996 |
-</pre> |
1997 |
- |
1998 |
-</body> |
1999 |
-</subsection> |
2000 |
-<subsection> |
2001 |
-<title>Optional: Viewing Documentation while Installing</title> |
2002 |
-<body> |
2003 |
- |
2004 |
-<p> |
2005 |
-If you want to view the Gentoo Handbook (either from-CD or online) during the |
2006 |
-installation, make sure you have created a user account (see <uri |
2007 |
-link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
2008 |
-go to a new terminal and log in. |
2009 |
-</p> |
2010 |
- |
2011 |
-<p> |
2012 |
-If you want to view the documentation on the CD you can immediately run |
2013 |
-<c>links</c> or even <c>links -g</c> for a graphical framebuffer browser to |
2014 |
-read it: |
2015 |
-</p> |
2016 |
- |
2017 |
-<pre caption="Viewing the on-CD documentation"> |
2018 |
-# <i>links /mnt/cdrom/docs/html/index.html</i> |
2019 |
-</pre> |
2020 |
- |
2021 |
-<p> |
2022 |
-However, it is preferred that you use the online Gentoo Handbook as it will be |
2023 |
-more recent than the one provided on the CD. You can view it using <c>links</c> |
2024 |
-as well, but only after having completed the <e>Configuring your Network</e> |
2025 |
-chapter (otherwise you won't be able to go on the Internet to view the |
2026 |
-document): |
2027 |
-</p> |
2028 |
- |
2029 |
-<pre caption="Viewing the Online Documentation"> |
2030 |
-# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
2031 |
-</pre> |
2032 |
- |
2033 |
-<p> |
2034 |
-You can go back to your original terminal by pressing <c>Alt-F1</c>. |
2035 |
-</p> |
2036 |
- |
2037 |
-</body> |
2038 |
-</subsection> |
2039 |
-<subsection> |
2040 |
-<title>Optional: Starting the SSH Daemon</title> |
2041 |
-<body> |
2042 |
- |
2043 |
-<p> |
2044 |
-If you want to allow other users to access your computer during the |
2045 |
-Gentoo installation (perhaps because those users are going to help you |
2046 |
-install Gentoo, or even do it for you), you need to create a user |
2047 |
-account for them and perhaps even provide them with your root password |
2048 |
-(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
2049 |
-</p> |
2050 |
- |
2051 |
-<p> |
2052 |
-To fire up the SSH daemon, execute the following command: |
2053 |
-</p> |
2054 |
- |
2055 |
-<pre caption="Starting the SSH daemon"> |
2056 |
-# <i>/etc/init.d/sshd start</i> |
2057 |
-</pre> |
2058 |
- |
2059 |
-<p> |
2060 |
-To be able to use sshd, you first need to set up your networking. Continue with |
2061 |
-the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
2062 |
-</p> |
2063 |
- |
2064 |
-</body> |
2065 |
-</subsection> |
2066 |
</section> |
2067 |
</sections> |
2068 |
|
2069 |
|
2070 |
|
2071 |
1.29 xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml |
2072 |
|
2073 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml?rev=1.29&view=markup |
2074 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml?rev=1.29&content-type=text/plain |
2075 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml?r1=1.28&r2=1.29 |
2076 |
|
2077 |
Index: hb-install-ppc64-bootloader.xml |
2078 |
=================================================================== |
2079 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v |
2080 |
retrieving revision 1.28 |
2081 |
retrieving revision 1.29 |
2082 |
diff -u -r1.28 -r1.29 |
2083 |
--- hb-install-ppc64-bootloader.xml 1 Apr 2008 08:53:46 -0000 1.28 |
2084 |
+++ hb-install-ppc64-bootloader.xml 2 May 2008 08:04:23 -0000 1.29 |
2085 |
@@ -4,12 +4,12 @@ |
2086 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2087 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2088 |
|
2089 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v 1.28 2008/04/01 08:53:46 nightmorph Exp $ --> |
2090 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v 1.29 2008/05/02 08:04:23 nightmorph Exp $ --> |
2091 |
|
2092 |
<sections> |
2093 |
|
2094 |
-<version>9.0</version> |
2095 |
-<date>2008-04-01</date> |
2096 |
+<version>9.1</version> |
2097 |
+<date>2008-05-02</date> |
2098 |
|
2099 |
<section> |
2100 |
<title>Making your Choice</title> |
2101 |
@@ -151,20 +151,20 @@ |
2102 |
## see also: /usr/share/doc/yaboot/examples for example configurations. |
2103 |
## |
2104 |
## For a dual-boot menu, add one or more of: |
2105 |
-## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ |
2106 |
+## bsd=/dev/sdaX, macos=/dev/sdaY, macosx=/dev/sdaZ |
2107 |
|
2108 |
## our bootstrap partition:</comment> |
2109 |
|
2110 |
-boot=/dev/hda2 |
2111 |
+boot=/dev/sda2 |
2112 |
|
2113 |
<comment>## ofboot is the Open Firmware way to specify the bootstrap partition. |
2114 |
## If this isn't defined, yaboot fails on the G5 and some G4s (unless |
2115 |
## you pass the necessary arguments to the mkofboot/ybin program). |
2116 |
-## hd:X means /dev/sdaX (or /dev/hdaX).</comment> |
2117 |
+## hd:X means /dev/sdaX.</comment> |
2118 |
|
2119 |
ofboot=hd:2 |
2120 |
|
2121 |
-<comment>## hd: is Open Firmware speak for hda</comment> |
2122 |
+<comment>## hd: is Open Firmware speak for sda</comment> |
2123 |
device=hd: |
2124 |
|
2125 |
delay=5 |
2126 |
@@ -179,7 +179,7 @@ |
2127 |
#################</comment> |
2128 |
image=/boot/<keyval id="kernel-name"/> |
2129 |
label=Linux |
2130 |
- root=/dev/hda3 |
2131 |
+ root=/dev/sda3 |
2132 |
partition=3 |
2133 |
read-only |
2134 |
|
2135 |
|
2136 |
|
2137 |
|
2138 |
1.38 xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml |
2139 |
|
2140 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml?rev=1.38&view=markup |
2141 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml?rev=1.38&content-type=text/plain |
2142 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml?r1=1.37&r2=1.38 |
2143 |
|
2144 |
Index: hb-install-ppc64-medium.xml |
2145 |
=================================================================== |
2146 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml,v |
2147 |
retrieving revision 1.37 |
2148 |
retrieving revision 1.38 |
2149 |
diff -u -r1.37 -r1.38 |
2150 |
--- hb-install-ppc64-medium.xml 1 Apr 2008 08:53:46 -0000 1.37 |
2151 |
+++ hb-install-ppc64-medium.xml 2 May 2008 08:04:23 -0000 1.38 |
2152 |
@@ -4,12 +4,12 @@ |
2153 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2154 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2155 |
|
2156 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml,v 1.37 2008/04/01 08:53:46 nightmorph Exp $ --> |
2157 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml,v 1.38 2008/05/02 08:04:23 nightmorph Exp $ --> |
2158 |
|
2159 |
<sections> |
2160 |
|
2161 |
-<version>9.0</version> |
2162 |
-<date>2008-04-01</date> |
2163 |
+<version>9.1</version> |
2164 |
+<date>2008-05-02</date> |
2165 |
|
2166 |
<section> |
2167 |
<title>Hardware Requirements</title> |
2168 |
@@ -481,165 +481,10 @@ |
2169 |
|
2170 |
</body> |
2171 |
</subsection> |
2172 |
-<subsection id="hardware"> |
2173 |
-<title>Extra Hardware Configuration</title> |
2174 |
-<body> |
2175 |
- |
2176 |
-<p> |
2177 |
-When the Installation CD boots, it tries to detect all your hardware devices and |
2178 |
-loads the appropriate kernel modules to support your hardware. In the vast |
2179 |
-majority of cases, it does a very good job. However, in some cases it may not |
2180 |
-auto-load the kernel modules you need. If the PCI auto-detection missed some of |
2181 |
-your system's hardware, you will have to load the appropriate kernel modules |
2182 |
-manually. |
2183 |
-</p> |
2184 |
- |
2185 |
-<p> |
2186 |
-In the next example we try to load the <c>8139too</c> module (support for |
2187 |
-certain kinds of network interfaces): |
2188 |
-</p> |
2189 |
- |
2190 |
-<pre caption="Loading kernel modules"> |
2191 |
-# <i>modprobe 8139too</i> |
2192 |
-</pre> |
2193 |
- |
2194 |
-</body> |
2195 |
-</subsection> |
2196 |
-<subsection> |
2197 |
-<title>Optional: Tweaking Hard Disk Performance</title> |
2198 |
-<body> |
2199 |
- |
2200 |
-<p> |
2201 |
-If you are an advanced user, you might want to tweak the IDE hard disk |
2202 |
-performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
2203 |
-test the performance of your disk (execute it several times to get a |
2204 |
-more precise impression): |
2205 |
-</p> |
2206 |
- |
2207 |
-<pre caption="Testing disk performance"> |
2208 |
-# <i>hdparm -tT /dev/hda</i> |
2209 |
-</pre> |
2210 |
- |
2211 |
-<p> |
2212 |
-To tweak, you can use any of the following examples (or experiment |
2213 |
-yourself) which use <path>/dev/hda</path> as disk (substitute with your |
2214 |
-disk): |
2215 |
-</p> |
2216 |
- |
2217 |
-<pre caption="Tweaking hard disk performance"> |
2218 |
-<comment>Activate DMA:</comment> |
2219 |
-# <i>hdparm -d 1 /dev/hda</i> |
2220 |
-<comment>Activate DMA + Safe Performance-enhancing Options:</comment> |
2221 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
2222 |
-</pre> |
2223 |
- |
2224 |
-</body> |
2225 |
-</subsection> |
2226 |
-<subsection id="useraccounts"> |
2227 |
-<title>Optional: User Accounts</title> |
2228 |
-<body> |
2229 |
- |
2230 |
-<p> |
2231 |
-If you plan on giving other people access to your installation |
2232 |
-environment or you want to chat using <c>irssi</c> without root privileges (for |
2233 |
-security reasons), you need to create the necessary user accounts and change |
2234 |
-the root password. |
2235 |
-</p> |
2236 |
- |
2237 |
-<p> |
2238 |
-To change the root password, use the <c>passwd</c> utility: |
2239 |
-</p> |
2240 |
- |
2241 |
-<pre caption="Changing the root password"> |
2242 |
-# <i>passwd</i> |
2243 |
-New password: <comment>(Enter your new password)</comment> |
2244 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
2245 |
-</pre> |
2246 |
- |
2247 |
-<p> |
2248 |
-To create a user account, we first enter their credentials, followed by |
2249 |
-its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
2250 |
-In the next example, we create a user called "john". |
2251 |
-</p> |
2252 |
- |
2253 |
-<pre caption="Creating a user account"> |
2254 |
-# <i>useradd -m -G users john</i> |
2255 |
-# <i>passwd john</i> |
2256 |
-New password: <comment>(Enter john's password)</comment> |
2257 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
2258 |
-</pre> |
2259 |
|
2260 |
-<p> |
2261 |
-You can change your user id from root to the newly created user by using |
2262 |
-<c>su</c>: |
2263 |
-</p> |
2264 |
- |
2265 |
-<pre caption="Changing user id"> |
2266 |
-# <i>su - john</i> |
2267 |
-</pre> |
2268 |
- |
2269 |
-</body> |
2270 |
-</subsection> |
2271 |
<subsection> |
2272 |
-<title>Optional: Viewing Documentation while Installing</title> |
2273 |
-<body> |
2274 |
- |
2275 |
-<p> |
2276 |
-If you want to view the Gentoo Handbook during the installation, make sure you |
2277 |
-have created a user account (see <uri link="#useraccounts">Optional: User |
2278 |
-Accounts</uri>). Then press <c>Alt-F2</c> to go to a new terminal and log in. |
2279 |
-</p> |
2280 |
- |
2281 |
-<p> |
2282 |
-If you want to view the documentation on the CD you can immediately run |
2283 |
-<c>links</c> to read it: |
2284 |
-</p> |
2285 |
- |
2286 |
-<pre caption="Viewing the on-CD documentation"> |
2287 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
2288 |
-</pre> |
2289 |
- |
2290 |
-<p> |
2291 |
-However, it is preferred that you use the online Gentoo Handbook as it will be |
2292 |
-more recent than the one provided on the CD. |
2293 |
-</p> |
2294 |
- |
2295 |
-<pre caption="Viewing the Online Documentation"> |
2296 |
-# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
2297 |
-</pre> |
2298 |
- |
2299 |
-<p> |
2300 |
-You can go back to your original terminal by pressing <c>Alt-F1</c>. |
2301 |
-</p> |
2302 |
- |
2303 |
-</body> |
2304 |
+<include href="hb-install-bootconfig.xml"/> |
2305 |
</subsection> |
2306 |
-<subsection> |
2307 |
-<title>Optional: Starting the SSH Daemon</title> |
2308 |
-<body> |
2309 |
- |
2310 |
-<p> |
2311 |
-If you want to allow other users to access your computer during the |
2312 |
-Gentoo installation (perhaps because those users are going to help you |
2313 |
-install Gentoo, or even do it for you), you need to create a user |
2314 |
-account for them and perhaps even provide them with your root password |
2315 |
-(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
2316 |
-</p> |
2317 |
|
2318 |
-<p> |
2319 |
-To fire up the SSH daemon, execute the following command: |
2320 |
-</p> |
2321 |
- |
2322 |
-<pre caption="Starting the SSH daemon"> |
2323 |
-# <i>/etc/init.d/sshd start</i> |
2324 |
-</pre> |
2325 |
- |
2326 |
-<p> |
2327 |
-To be able to use sshd, you first need to set up your networking. Continue with |
2328 |
-the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
2329 |
-</p> |
2330 |
- |
2331 |
-</body> |
2332 |
-</subsection> |
2333 |
</section> |
2334 |
</sections> |
2335 |
|
2336 |
|
2337 |
|
2338 |
1.32 xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml |
2339 |
|
2340 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml?rev=1.32&view=markup |
2341 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml?rev=1.32&content-type=text/plain |
2342 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml?r1=1.31&r2=1.32 |
2343 |
|
2344 |
Index: hb-install-sparc-disk.xml |
2345 |
=================================================================== |
2346 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml,v |
2347 |
retrieving revision 1.31 |
2348 |
retrieving revision 1.32 |
2349 |
diff -u -r1.31 -r1.32 |
2350 |
--- hb-install-sparc-disk.xml 1 Apr 2008 08:53:46 -0000 1.31 |
2351 |
+++ hb-install-sparc-disk.xml 2 May 2008 08:04:23 -0000 1.32 |
2352 |
@@ -4,12 +4,12 @@ |
2353 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2354 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2355 |
|
2356 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml,v 1.31 2008/04/01 08:53:46 nightmorph Exp $ --> |
2357 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml,v 1.32 2008/05/02 08:04:23 nightmorph Exp $ --> |
2358 |
|
2359 |
<sections> |
2360 |
|
2361 |
-<version>5.0</version> |
2362 |
-<date>2008-04-01</date> |
2363 |
+<version>5.1</version> |
2364 |
+<date>2008-05-02</date> |
2365 |
|
2366 |
<section> |
2367 |
<title>Introduction to Block Devices</title> |
2368 |
@@ -31,8 +31,7 @@ |
2369 |
|
2370 |
<p> |
2371 |
The first partition on the first SCSI disk is <path>/dev/sda1</path>, the second |
2372 |
-<path>/dev/sda2</path> and so on. Similarly, the first two partitions on the |
2373 |
-first IDE disk are <path>/dev/hda1</path> and <path>/dev/hda2</path>. |
2374 |
+<path>/dev/sda2</path> and so on. |
2375 |
</p> |
2376 |
|
2377 |
<p> |
2378 |
@@ -57,9 +56,8 @@ |
2379 |
<body> |
2380 |
|
2381 |
<p> |
2382 |
-If you are not interested in drawing up a partitioning scheme, |
2383 |
-the table below suggests a suitable starting point for most systems. For |
2384 |
-IDE-based systems, substitute <c>hda</c> for <c>sda</c> in the following. |
2385 |
+If you are not interested in drawing up a partitioning scheme, the table below |
2386 |
+suggests a suitable starting point for most systems. |
2387 |
</p> |
2388 |
|
2389 |
<p> |
2390 |
|
2391 |
|
2392 |
|
2393 |
1.47 xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml |
2394 |
|
2395 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml?rev=1.47&view=markup |
2396 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml?rev=1.47&content-type=text/plain |
2397 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml?r1=1.46&r2=1.47 |
2398 |
|
2399 |
Index: hb-install-sparc-medium.xml |
2400 |
=================================================================== |
2401 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v |
2402 |
retrieving revision 1.46 |
2403 |
retrieving revision 1.47 |
2404 |
diff -u -r1.46 -r1.47 |
2405 |
--- hb-install-sparc-medium.xml 1 Apr 2008 08:53:46 -0000 1.46 |
2406 |
+++ hb-install-sparc-medium.xml 2 May 2008 08:04:23 -0000 1.47 |
2407 |
@@ -4,12 +4,12 @@ |
2408 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2409 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2410 |
|
2411 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.46 2008/04/01 08:53:46 nightmorph Exp $ --> |
2412 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.47 2008/05/02 08:04:23 nightmorph Exp $ --> |
2413 |
|
2414 |
<sections> |
2415 |
|
2416 |
-<version>9.0</version> |
2417 |
-<date>2008-04-01</date> |
2418 |
+<version>9.1</version> |
2419 |
+<date>2008-05-02</date> |
2420 |
|
2421 |
<section> |
2422 |
<title>Hardware Requirements</title> |
2423 |
@@ -325,135 +325,10 @@ |
2424 |
|
2425 |
</body> |
2426 |
</subsection> |
2427 |
-<subsection id="hardware"> |
2428 |
-<title>Extra Hardware Configuration</title> |
2429 |
-<body> |
2430 |
- |
2431 |
-<p> |
2432 |
-If not all hardware is supported out-of-the-box, you will need to load the |
2433 |
-appropriate kernel modules. |
2434 |
-</p> |
2435 |
- |
2436 |
-<p> |
2437 |
-In the next example we try to load the <c>8139too</c> module (support for |
2438 |
-certain kinds of network interfaces): |
2439 |
-</p> |
2440 |
- |
2441 |
-<pre caption="Loading kernel modules"> |
2442 |
-# <i>modprobe 8139too</i> |
2443 |
-</pre> |
2444 |
- |
2445 |
-</body> |
2446 |
-</subsection> |
2447 |
-<subsection id="useraccounts"> |
2448 |
-<title>Optional: User Accounts</title> |
2449 |
-<body> |
2450 |
- |
2451 |
-<p> |
2452 |
-If you plan on giving other people access to your installation |
2453 |
-environment or you want to chat using <c>irssi</c> without root privileges (for |
2454 |
-security reasons), you need to create the necessary user accounts and change |
2455 |
-the root password. |
2456 |
-</p> |
2457 |
- |
2458 |
-<p> |
2459 |
-To change the root password, use the <c>passwd</c> utility: |
2460 |
-</p> |
2461 |
- |
2462 |
-<pre caption="Changing the root password"> |
2463 |
-# <i>passwd</i> |
2464 |
-New password: <comment>(Enter your new password)</comment> |
2465 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
2466 |
-</pre> |
2467 |
- |
2468 |
-<p> |
2469 |
-To create a user account, we first enter their credentials, followed by |
2470 |
-its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
2471 |
-In the next example, we create a user called "john". |
2472 |
-</p> |
2473 |
- |
2474 |
-<pre caption="Creating a user account"> |
2475 |
-# <i>useradd -m -G users john</i> |
2476 |
-# <i>passwd john</i> |
2477 |
-New password: <comment>(Enter john's password)</comment> |
2478 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
2479 |
-</pre> |
2480 |
|
2481 |
-<p> |
2482 |
-You can change your user id from root to the newly created user by using |
2483 |
-<c>su</c>: |
2484 |
-</p> |
2485 |
- |
2486 |
-<pre caption="Changing user id"> |
2487 |
-# <i>su - john</i> |
2488 |
-</pre> |
2489 |
- |
2490 |
-</body> |
2491 |
-</subsection> |
2492 |
<subsection> |
2493 |
-<title>Optional: Viewing Documentation while Installing</title> |
2494 |
-<body> |
2495 |
- |
2496 |
-<p> |
2497 |
-If you want to view the Gentoo Handbook (either from-CD or online) during the |
2498 |
-installation, make sure you have created a user account (see <uri |
2499 |
-link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
2500 |
-go to a new terminal and log in. |
2501 |
-</p> |
2502 |
- |
2503 |
-<p> |
2504 |
-If you want to view the documentation on the CD you can immediately run |
2505 |
-<c>links</c> to read it: |
2506 |
-</p> |
2507 |
- |
2508 |
-<pre caption="Viewing the on-CD documentation"> |
2509 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
2510 |
-</pre> |
2511 |
- |
2512 |
-<p> |
2513 |
-However, it is preferred that you use the online Gentoo Handbook as it will be |
2514 |
-more recent than the one provided on the CD. You can view it using <c>links</c> |
2515 |
-as well, but only after having completed the <e>Configuring your Network</e> |
2516 |
-chapter (otherwise you won't be able to go on the Internet to view the |
2517 |
-document): |
2518 |
-</p> |
2519 |
- |
2520 |
-<pre caption="Viewing the Online Documentation"> |
2521 |
-# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
2522 |
-</pre> |
2523 |
- |
2524 |
-<p> |
2525 |
-You can go back to your original terminal by pressing <c>Alt-F1</c>. |
2526 |
-</p> |
2527 |
- |
2528 |
-</body> |
2529 |
+<include href="hb-install-bootconfig.xml"/> |
2530 |
</subsection> |
2531 |
-<subsection> |
2532 |
-<title>Optional: Starting the SSH Daemon</title> |
2533 |
-<body> |
2534 |
- |
2535 |
-<p> |
2536 |
-If you want to allow other users to access your computer during the |
2537 |
-Gentoo installation (perhaps because those users are going to help you |
2538 |
-install Gentoo, or even do it for you), you need to create a user |
2539 |
-account for them and perhaps even provide them with your root password |
2540 |
-(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
2541 |
-</p> |
2542 |
- |
2543 |
-<p> |
2544 |
-To fire up the SSH daemon, execute the following command: |
2545 |
-</p> |
2546 |
- |
2547 |
-<pre caption="Starting the SSH daemon"> |
2548 |
-# <i>/etc/init.d/sshd start</i> |
2549 |
-</pre> |
2550 |
- |
2551 |
-<p> |
2552 |
-To be able to use sshd, you first need to set up your networking. Continue with |
2553 |
-the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
2554 |
-</p> |
2555 |
|
2556 |
-</body> |
2557 |
-</subsection> |
2558 |
</section> |
2559 |
</sections> |
2560 |
|
2561 |
|
2562 |
|
2563 |
1.11 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml |
2564 |
|
2565 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.11&view=markup |
2566 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.11&content-type=text/plain |
2567 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml?r1=1.10&r2=1.11 |
2568 |
|
2569 |
Index: hb-install-x86+amd64-bootloader.xml |
2570 |
=================================================================== |
2571 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v |
2572 |
retrieving revision 1.10 |
2573 |
retrieving revision 1.11 |
2574 |
diff -u -r1.10 -r1.11 |
2575 |
--- hb-install-x86+amd64-bootloader.xml 1 Apr 2008 08:53:46 -0000 1.10 |
2576 |
+++ hb-install-x86+amd64-bootloader.xml 2 May 2008 08:04:23 -0000 1.11 |
2577 |
@@ -4,12 +4,12 @@ |
2578 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2579 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2580 |
|
2581 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v 1.10 2008/04/01 08:53:46 nightmorph Exp $ --> |
2582 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v 1.11 2008/05/02 08:04:23 nightmorph Exp $ --> |
2583 |
|
2584 |
<sections> |
2585 |
|
2586 |
-<version>6.0</version> |
2587 |
-<date>2008-04-01</date> |
2588 |
+<version>6.1</version> |
2589 |
+<date>2008-05-02</date> |
2590 |
|
2591 |
<section> |
2592 |
<title>Making your Choice</title> |
2593 |
@@ -188,9 +188,9 @@ |
2594 |
<p> |
2595 |
The most critical part of understanding GRUB is getting comfortable with how |
2596 |
GRUB refers to hard drives and partitions. Your Linux partition |
2597 |
-<path>/dev/hda1</path> (for IDE drives) or <path>/dev/sda1</path> (for |
2598 |
-SATA/SCSI drives) will most likely be called <path>(hd0,0)</path> under GRUB. |
2599 |
-Notice the parentheses around the <path>hd0,0</path> - they are required. |
2600 |
+<path>/dev/sda1</path> will most likely be called <path>(hd0,0)</path> under |
2601 |
+GRUB. Notice the parentheses around the <path>hd0,0</path> - they are |
2602 |
+required. |
2603 |
</p> |
2604 |
|
2605 |
<p> |
2606 |
@@ -204,13 +204,12 @@ |
2607 |
</p> |
2608 |
|
2609 |
<p> |
2610 |
-Assuming you have a hard drive on <path>/dev/hda</path>, a cdrom player on |
2611 |
-<path>/dev/hdb</path>, a burner on <path>/dev/hdc</path>, a second hard drive |
2612 |
-on <path>/dev/hdd</path> and no SCSI hard drive, <path>/dev/hdd7</path> gets |
2613 |
+Assuming you have a hard drive on <path>/dev/sda</path> and two more on |
2614 |
+<path>/dev/sdb</path> and <path>/dev/sdc</path>, <path>/dev/sdb7</path> gets |
2615 |
translated to <path>(hd1,6)</path>. It might sound tricky and tricky it is |
2616 |
-indeed, but as we will see, GRUB offers a tab completion mechanism |
2617 |
-that comes handy for those of you having a lot of hard drives and |
2618 |
-partitions and who are a little lost in the GRUB numbering scheme. |
2619 |
+indeed, but as we will see, GRUB offers a tab completion mechanism that comes |
2620 |
+handy for those of you having a lot of hard drives and partitions and who are a |
2621 |
+little lost in the GRUB numbering scheme. |
2622 |
</p> |
2623 |
|
2624 |
<p> |
2625 |
@@ -284,15 +283,15 @@ |
2626 |
title Gentoo Linux <keyval id="kernel-version"/> |
2627 |
<comment># Partition where the kernel image (or operating system) is located</comment> |
2628 |
root (hd0,0) |
2629 |
-kernel /boot/<keyval id="kernel-name"/> root=/dev/hda3 |
2630 |
+kernel /boot/<keyval id="kernel-name"/> root=/dev/sda3 |
2631 |
|
2632 |
title Gentoo Linux <keyval id="kernel-version"/> (rescue) |
2633 |
<comment># Partition where the kernel image (or operating system) is located</comment> |
2634 |
root (hd0,0) |
2635 |
-kernel /boot/<keyval id="kernel-name"/> root=/dev/hda3 init=/bin/bb |
2636 |
+kernel /boot/<keyval id="kernel-name"/> root=/dev/sda3 init=/bin/bb |
2637 |
|
2638 |
<comment># The next four lines are only if you dualboot with a Windows system.</comment> |
2639 |
-<comment># In this case, Windows is hosted on /dev/hda6.</comment> |
2640 |
+<comment># In this case, Windows is hosted on /dev/sda6.</comment> |
2641 |
title Windows XP |
2642 |
rootnoverify (hd0,5) |
2643 |
makeactive |
2644 |
@@ -306,7 +305,7 @@ |
2645 |
|
2646 |
title Gentoo Linux <keyval id="kernel-version"/> |
2647 |
root (hd0,0) |
2648 |
-kernel /boot/<keyval id="genkernel-name"/> root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev |
2649 |
+kernel /boot/<keyval id="genkernel-name"/> root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev |
2650 |
initrd /boot/<keyval id="genkernel-initrd"/> |
2651 |
|
2652 |
<comment># Only in case you want to dual-boot</comment> |
2653 |
@@ -343,7 +342,7 @@ |
2654 |
<p> |
2655 |
If you need to pass any additional options to the kernel, simply add |
2656 |
them to the end of the kernel command. We're already passing one option |
2657 |
-(<c>root=/dev/hda3</c> or <c>real_root=/dev/hda3</c>), but you can pass others |
2658 |
+(<c>root=/dev/sda3</c> or <c>real_root=/dev/sda3</c>), but you can pass others |
2659 |
as well, such as the <c>video</c> and/or <c>vga</c> statements for framebuffer |
2660 |
as we discussed previously. |
2661 |
</p> |
2662 |
@@ -351,7 +350,7 @@ |
2663 |
<p> |
2664 |
If you're using a 2.6.7 or higher kernel and you jumpered your harddrive |
2665 |
because the BIOS can't handle large harddrives you'll need to append |
2666 |
-<c>hdx=stroke</c>. |
2667 |
+<c>sda=stroke</c>. Replace sda with the device that requires this option. |
2668 |
</p> |
2669 |
|
2670 |
<p> |
2671 |
@@ -403,7 +402,7 @@ |
2672 |
</p> |
2673 |
|
2674 |
<pre caption="Running grub-install"> |
2675 |
-# <i>grub-install --no-floppy /dev/hda</i> |
2676 |
+# <i>grub-install --no-floppy /dev/sda</i> |
2677 |
</pre> |
2678 |
|
2679 |
<p> |
2680 |
@@ -470,7 +469,7 @@ |
2681 |
If you want to install GRUB in a certain partition instead of the MBR, |
2682 |
you have to alter the <c>setup</c> command so it points to the right |
2683 |
partition. For instance, if you want GRUB installed in |
2684 |
-<path>/dev/hda3</path>, then the command becomes <c>setup (hd0,2)</c>. |
2685 |
+<path>/dev/sda3</path>, then the command becomes <c>setup (hd0,2)</c>. |
2686 |
Few users however want to do this. |
2687 |
</note> |
2688 |
|
2689 |
@@ -558,7 +557,7 @@ |
2690 |
</note> |
2691 |
|
2692 |
<pre caption="Example /etc/lilo.conf"> |
2693 |
-boot=/dev/hda <comment># Install LILO in the MBR</comment> |
2694 |
+boot=/dev/sda <comment># Install LILO in the MBR</comment> |
2695 |
prompt <comment># Give the user the chance to select another section</comment> |
2696 |
timeout=50 <comment># Wait 5 (five) seconds before booting the default section</comment> |
2697 |
default=gentoo <comment># When the timeout has passed, boot the "gentoo" section</comment> |
2698 |
@@ -567,12 +566,12 @@ |
2699 |
image=/boot/<keyval id="kernel-name"/> |
2700 |
label=gentoo <comment># Name we give to this section</comment> |
2701 |
read-only <comment># Start with a read-only root. Do not alter!</comment> |
2702 |
- root=/dev/hda3 <comment># Location of the root filesystem</comment> |
2703 |
+ root=/dev/sda3 <comment># Location of the root filesystem</comment> |
2704 |
|
2705 |
image=/boot/<keyval id="kernel-name"/> |
2706 |
label=gentoo.rescue <comment># Name we give to this section</comment> |
2707 |
read-only <comment># Start with a read-only root. Do not alter!</comment> |
2708 |
- root=/dev/hda3 <comment># Location of the root filesystem</comment> |
2709 |
+ root=/dev/sda3 <comment># Location of the root filesystem</comment> |
2710 |
append="init=/bin/bb" <comment># Launch the Gentoo static rescue shell</comment> |
2711 |
|
2712 |
<comment># For genkernel users</comment> |
2713 |
@@ -580,12 +579,12 @@ |
2714 |
label=gentoo |
2715 |
read-only |
2716 |
root=/dev/ram0 |
2717 |
- append="init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev" |
2718 |
+ append="init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev" |
2719 |
initrd=/boot/<keyval id="genkernel-initrd"/> |
2720 |
|
2721 |
<comment># The next two lines are only if you dualboot with a Windows system.</comment> |
2722 |
-<comment># In this case, Windows is hosted on /dev/hda6.</comment> |
2723 |
-other=/dev/hda6 |
2724 |
+<comment># In this case, Windows is hosted on /dev/sda6.</comment> |
2725 |
+other=/dev/sda6 |
2726 |
label=windows |
2727 |
</pre> |
2728 |
|
2729 |
@@ -610,14 +609,14 @@ |
2730 |
image=/boot/<keyval id="kernel-name"/> |
2731 |
label=gentoo |
2732 |
read-only |
2733 |
- root=/dev/hda3 |
2734 |
+ root=/dev/sda3 |
2735 |
<i>append="video=vesafb:mtrr,ywrap,1024x768-32@85"</i> |
2736 |
</pre> |
2737 |
|
2738 |
<p> |
2739 |
If you're using a 2.6.7 or higher kernel and you jumpered your harddrive |
2740 |
because the BIOS can't handle large harddrives you'll need to append |
2741 |
-<c>hdx=stroke</c>. |
2742 |
+<c>sda=stroke</c>. Replace sda with the device that requires this option. |
2743 |
</p> |
2744 |
|
2745 |
<p> |
2746 |
|
2747 |
|
2748 |
|
2749 |
1.11 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml |
2750 |
|
2751 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.11&view=markup |
2752 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.11&content-type=text/plain |
2753 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?r1=1.10&r2=1.11 |
2754 |
|
2755 |
Index: hb-install-x86+amd64-disk.xml |
2756 |
=================================================================== |
2757 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v |
2758 |
retrieving revision 1.10 |
2759 |
retrieving revision 1.11 |
2760 |
diff -u -r1.10 -r1.11 |
2761 |
--- hb-install-x86+amd64-disk.xml 1 Apr 2008 08:53:46 -0000 1.10 |
2762 |
+++ hb-install-x86+amd64-disk.xml 2 May 2008 08:04:23 -0000 1.11 |
2763 |
@@ -4,7 +4,7 @@ |
2764 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2765 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2766 |
|
2767 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v 1.10 2008/04/01 08:53:46 nightmorph Exp $ --> |
2768 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v 1.11 2008/05/02 08:04:23 nightmorph Exp $ --> |
2769 |
|
2770 |
<sections> |
2771 |
|
2772 |
@@ -13,8 +13,8 @@ |
2773 |
This chapter describes how to partition a disk for future usage. |
2774 |
</abstract> |
2775 |
|
2776 |
-<version>6.0</version> |
2777 |
-<date>2008-04-01</date> |
2778 |
+<version>6.1</version> |
2779 |
+<date>2008-05-02</date> |
2780 |
|
2781 |
<section> |
2782 |
<title>Introduction to Block Devices</title> |
2783 |
@@ -42,8 +42,8 @@ |
2784 |
<p> |
2785 |
A <e>primary</e> partition is a partition which has its information stored in |
2786 |
the MBR (master boot record). As an MBR is very small (512 bytes) only four |
2787 |
-primary partitions can be defined (for instance, <path>/dev/hda1</path> to |
2788 |
-<path>/dev/hda4</path>). |
2789 |
+primary partitions can be defined (for instance, <path>/dev/sda1</path> to |
2790 |
+<path>/dev/sda4</path>). |
2791 |
</p> |
2792 |
|
2793 |
<p> |
2794 |
@@ -95,19 +95,19 @@ |
2795 |
<th>Description</th> |
2796 |
</tr> |
2797 |
<tr> |
2798 |
- <ti><path>/dev/hda1</path></ti> |
2799 |
+ <ti><path>/dev/sda1</path></ti> |
2800 |
<ti>ext2</ti> |
2801 |
<ti>32M</ti> |
2802 |
<ti>Boot partition</ti> |
2803 |
</tr> |
2804 |
<tr> |
2805 |
- <ti><path>/dev/hda2</path></ti> |
2806 |
+ <ti><path>/dev/sda2</path></ti> |
2807 |
<ti>(swap)</ti> |
2808 |
<ti>512M</ti> |
2809 |
<ti>Swap partition</ti> |
2810 |
</tr> |
2811 |
<tr> |
2812 |
- <ti><path>/dev/hda3</path></ti> |
2813 |
+ <ti><path>/dev/sda3</path></ti> |
2814 |
<ti>ext3</ti> |
2815 |
<ti>Rest of the disk</ti> |
2816 |
<ti>Root partition</ti> |
2817 |
@@ -180,13 +180,13 @@ |
2818 |
<pre caption="Filesystem usage example"> |
2819 |
$ <i>df -h</i> |
2820 |
Filesystem Type Size Used Avail Use% Mounted on |
2821 |
-/dev/hda5 ext3 509M 132M 351M 28% / |
2822 |
-/dev/hda2 ext3 5.0G 3.0G 1.8G 63% /home |
2823 |
-/dev/hda7 ext3 7.9G 6.2G 1.3G 83% /usr |
2824 |
-/dev/hda8 ext3 1011M 483M 477M 51% /opt |
2825 |
-/dev/hda9 ext3 2.0G 607M 1.3G 32% /var |
2826 |
-/dev/hda1 ext2 51M 17M 31M 36% /boot |
2827 |
-/dev/hda6 swap 516M 12M 504M 2% <not mounted> |
2828 |
+/dev/sda5 ext3 509M 132M 351M 28% / |
2829 |
+/dev/sda2 ext3 5.0G 3.0G 1.8G 63% /home |
2830 |
+/dev/sda7 ext3 7.9G 6.2G 1.3G 83% /usr |
2831 |
+/dev/sda8 ext3 1011M 483M 477M 51% /opt |
2832 |
+/dev/sda9 ext3 2.0G 607M 1.3G 32% /var |
2833 |
+/dev/sda1 ext2 51M 17M 31M 36% /boot |
2834 |
+/dev/sda6 swap 516M 12M 504M 2% <not mounted> |
2835 |
<comment>(Unpartitioned space for future usage: 2 GB)</comment> |
2836 |
</pre> |
2837 |
|
2838 |
@@ -220,15 +220,15 @@ |
2839 |
<th>Description</th> |
2840 |
</tr> |
2841 |
<tr> |
2842 |
- <ti><path>/dev/hda1</path></ti> |
2843 |
+ <ti><path>/dev/sda1</path></ti> |
2844 |
<ti>Boot partition</ti> |
2845 |
</tr> |
2846 |
<tr> |
2847 |
- <ti><path>/dev/hda2</path></ti> |
2848 |
+ <ti><path>/dev/sda2</path></ti> |
2849 |
<ti>Swap partition</ti> |
2850 |
</tr> |
2851 |
<tr> |
2852 |
- <ti><path>/dev/hda3</path></ti> |
2853 |
+ <ti><path>/dev/sda3</path></ti> |
2854 |
<ti>Root partition</ti> |
2855 |
</tr> |
2856 |
</table> |
2857 |
@@ -246,11 +246,11 @@ |
2858 |
<p> |
2859 |
<c>fdisk</c> is a popular and powerful tool to split your disk into partitions. |
2860 |
Fire up <c>fdisk</c> on your disk (in our example, we use |
2861 |
-<path>/dev/hda</path>): |
2862 |
+<path>/dev/sda</path>): |
2863 |
</p> |
2864 |
|
2865 |
<pre caption="Starting fdisk"> |
2866 |
-# <i>fdisk /dev/hda</i> |
2867 |
+# <i>fdisk /dev/sda</i> |
2868 |
</pre> |
2869 |
|
2870 |
<p> |
2871 |
@@ -268,19 +268,19 @@ |
2872 |
<pre caption="An example partition configuration"> |
2873 |
Command (m for help): <i>p</i> |
2874 |
|
2875 |
-Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders |
2876 |
+Disk /dev/sda: 240 heads, 63 sectors, 2184 cylinders |
2877 |
Units = cylinders of 15120 * 512 bytes |
2878 |
|
2879 |
Device Boot Start End Blocks Id System |
2880 |
-/dev/hda1 1 14 105808+ 83 Linux |
2881 |
-/dev/hda2 15 49 264600 82 Linux swap |
2882 |
-/dev/hda3 50 70 158760 83 Linux |
2883 |
-/dev/hda4 71 2184 15981840 5 Extended |
2884 |
-/dev/hda5 71 209 1050808+ 83 Linux |
2885 |
-/dev/hda6 210 348 1050808+ 83 Linux |
2886 |
-/dev/hda7 349 626 2101648+ 83 Linux |
2887 |
-/dev/hda8 627 904 2101648+ 83 Linux |
2888 |
-/dev/hda9 905 2184 9676768+ 83 Linux |
2889 |
+/dev/sda1 1 14 105808+ 83 Linux |
2890 |
+/dev/sda2 15 49 264600 82 Linux swap |
2891 |
+/dev/sda3 50 70 158760 83 Linux |
2892 |
+/dev/sda4 71 2184 15981840 5 Extended |
2893 |
+/dev/sda5 71 209 1050808+ 83 Linux |
2894 |
+/dev/sda6 210 348 1050808+ 83 Linux |
2895 |
+/dev/sda7 349 626 2101648+ 83 Linux |
2896 |
+/dev/sda8 627 904 2101648+ 83 Linux |
2897 |
+/dev/sda9 905 2184 9676768+ 83 Linux |
2898 |
|
2899 |
Command (m for help): |
2900 |
</pre> |
2901 |
@@ -299,7 +299,7 @@ |
2902 |
|
2903 |
<p> |
2904 |
We will first remove all existing partitions from the disk. Type <c>d</c> to |
2905 |
-delete a partition. For instance, to delete an existing <path>/dev/hda1</path>: |
2906 |
+delete a partition. For instance, to delete an existing <path>/dev/sda1</path>: |
2907 |
</p> |
2908 |
|
2909 |
<pre caption="Deleting a partition"> |
2910 |
@@ -322,7 +322,7 @@ |
2911 |
</p> |
2912 |
|
2913 |
<pre caption="An empty partition table"> |
2914 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
2915 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
2916 |
240 heads, 63 sectors/track, 3876 cylinders |
2917 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
2918 |
|
2919 |
@@ -371,12 +371,12 @@ |
2920 |
<pre caption="Created boot partition"> |
2921 |
Command (m for help): <i>p</i> |
2922 |
|
2923 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
2924 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
2925 |
240 heads, 63 sectors/track, 3876 cylinders |
2926 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
2927 |
|
2928 |
Device Boot Start End Blocks Id System |
2929 |
-/dev/hda1 1 14 105808+ 83 Linux |
2930 |
+/dev/sda1 1 14 105808+ 83 Linux |
2931 |
</pre> |
2932 |
|
2933 |
<p> |
2934 |
@@ -394,7 +394,7 @@ |
2935 |
<p> |
2936 |
Let's now create the swap partition. To do this, type <c>n</c> to create a new |
2937 |
partition, then <c>p</c> to tell fdisk that you want a primary partition. Then |
2938 |
-type <c>2</c> to create the second primary partition, <path>/dev/hda2</path> in |
2939 |
+type <c>2</c> to create the second primary partition, <path>/dev/sda2</path> in |
2940 |
our case. When prompted for the first cylinder, hit enter. When prompted for |
2941 |
the last cylinder, type <c>+512M</c> to create a partition 512MB in size. After |
2942 |
you've done this, type <c>t</c> to set the partition type, <c>2</c> to select |
2943 |
@@ -406,13 +406,13 @@ |
2944 |
<pre caption="Partition listing after creating a swap partition"> |
2945 |
Command (m for help): <i>p</i> |
2946 |
|
2947 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
2948 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
2949 |
240 heads, 63 sectors/track, 3876 cylinders |
2950 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
2951 |
|
2952 |
Device Boot Start End Blocks Id System |
2953 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
2954 |
-/dev/hda2 15 81 506520 82 Linux swap |
2955 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
2956 |
+/dev/sda2 15 81 506520 82 Linux swap |
2957 |
</pre> |
2958 |
|
2959 |
</body> |
2960 |
@@ -424,7 +424,7 @@ |
2961 |
<p> |
2962 |
Finally, let's create the root partition. To do this, type <c>n</c> to create a |
2963 |
new partition, then <c>p</c> to tell fdisk that you want a primary partition. |
2964 |
-Then type <c>3</c> to create the third primary partition, <path>/dev/hda3</path> |
2965 |
+Then type <c>3</c> to create the third primary partition, <path>/dev/sda3</path> |
2966 |
in our case. When prompted for the first cylinder, hit enter. When prompted for |
2967 |
the last cylinder, hit enter to create a partition that takes up the rest of the |
2968 |
remaining space on your disk. After completing these steps, typing <c>p</c> |
2969 |
@@ -434,14 +434,14 @@ |
2970 |
<pre caption="Partition listing after creating the root partition"> |
2971 |
Command (m for help): <i>p</i> |
2972 |
|
2973 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
2974 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
2975 |
240 heads, 63 sectors/track, 3876 cylinders |
2976 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
2977 |
|
2978 |
Device Boot Start End Blocks Id System |
2979 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
2980 |
-/dev/hda2 15 81 506520 82 Linux swap |
2981 |
-/dev/hda3 82 3876 28690200 83 Linux |
2982 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
2983 |
+/dev/sda2 15 81 506520 82 Linux swap |
2984 |
+/dev/sda3 82 3876 28690200 83 Linux |
2985 |
</pre> |
2986 |
|
2987 |
</body> |
2988 |
@@ -524,14 +524,14 @@ |
2989 |
</table> |
2990 |
|
2991 |
<p> |
2992 |
-For instance, to have the boot partition (<path>/dev/hda1</path> in our |
2993 |
-example) in ext2 and the root partition (<path>/dev/hda3</path> in our example) |
2994 |
+For instance, to have the boot partition (<path>/dev/sda1</path> in our |
2995 |
+example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) |
2996 |
in ext3 (as in our example), you would use: |
2997 |
</p> |
2998 |
|
2999 |
<pre caption="Applying a filesystem on a partition"> |
3000 |
-# <i>mke2fs /dev/hda1</i> |
3001 |
-# <i>mke2fs -j /dev/hda3</i> |
3002 |
+# <i>mke2fs /dev/sda1</i> |
3003 |
+# <i>mke2fs -j /dev/sda3</i> |
3004 |
</pre> |
3005 |
|
3006 |
<p> |
3007 |
@@ -550,7 +550,7 @@ |
3008 |
</p> |
3009 |
|
3010 |
<pre caption="Creating a Swap signature"> |
3011 |
-# <i>mkswap /dev/hda2</i> |
3012 |
+# <i>mkswap /dev/sda2</i> |
3013 |
</pre> |
3014 |
|
3015 |
<p> |
3016 |
@@ -558,7 +558,7 @@ |
3017 |
</p> |
3018 |
|
3019 |
<pre caption="Activating the swap partition"> |
3020 |
-# <i>swapon /dev/hda2</i> |
3021 |
+# <i>swapon /dev/sda2</i> |
3022 |
</pre> |
3023 |
|
3024 |
<p> |
3025 |
@@ -580,9 +580,9 @@ |
3026 |
</p> |
3027 |
|
3028 |
<pre caption="Mounting partitions"> |
3029 |
-# <i>mount /dev/hda3 /mnt/gentoo</i> |
3030 |
+# <i>mount /dev/sda3 /mnt/gentoo</i> |
3031 |
# <i>mkdir /mnt/gentoo/boot</i> |
3032 |
-# <i>mount /dev/hda1 /mnt/gentoo/boot</i> |
3033 |
+# <i>mount /dev/sda1 /mnt/gentoo/boot</i> |
3034 |
</pre> |
3035 |
|
3036 |
<note> |
3037 |
|
3038 |
|
3039 |
|
3040 |
1.15 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml |
3041 |
|
3042 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml?rev=1.15&view=markup |
3043 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml?rev=1.15&content-type=text/plain |
3044 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml?r1=1.14&r2=1.15 |
3045 |
|
3046 |
Index: hb-install-x86+amd64-medium.xml |
3047 |
=================================================================== |
3048 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml,v |
3049 |
retrieving revision 1.14 |
3050 |
retrieving revision 1.15 |
3051 |
diff -u -r1.14 -r1.15 |
3052 |
--- hb-install-x86+amd64-medium.xml 20 Apr 2008 00:25:13 -0000 1.14 |
3053 |
+++ hb-install-x86+amd64-medium.xml 2 May 2008 08:04:23 -0000 1.15 |
3054 |
@@ -4,7 +4,7 @@ |
3055 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
3056 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
3057 |
|
3058 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml,v 1.14 2008/04/20 00:25:13 nightmorph Exp $ --> |
3059 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml,v 1.15 2008/05/02 08:04:23 nightmorph Exp $ --> |
3060 |
|
3061 |
<sections> |
3062 |
|
3063 |
@@ -14,8 +14,8 @@ |
3064 |
Installer LiveCD is possible as well. |
3065 |
</abstract> |
3066 |
|
3067 |
-<version>6.3</version> |
3068 |
-<date>2008-04-19</date> |
3069 |
+<version>6.4</version> |
3070 |
+<date>2008-05-02</date> |
3071 |
|
3072 |
<section> |
3073 |
<title>Hardware Requirements</title> |
3074 |
@@ -372,8 +372,7 @@ |
3075 |
|
3076 |
<p> |
3077 |
You can also provide kernel options. They represent optional settings you can |
3078 |
-(de)activate at will. The following options are available when you press F2 at |
3079 |
-the bootscreen. |
3080 |
+(de)activate at will. |
3081 |
</p> |
3082 |
|
3083 |
</body> |
3084 |
@@ -418,170 +417,10 @@ |
3085 |
|
3086 |
</body> |
3087 |
</subsection> |
3088 |
-<subsection id="hardware"> |
3089 |
-<title>Extra Hardware Configuration</title> |
3090 |
-<body> |
3091 |
- |
3092 |
-<p> |
3093 |
-When the Installation CD boots, it tries to detect all your hardware devices |
3094 |
-and loads the appropriate kernel modules to support your hardware. In the vast |
3095 |
-majority of cases, it does a very good job. However, in some cases it may not |
3096 |
-auto-load the kernel modules you need. If the PCI auto-detection missed some of |
3097 |
-your system's hardware, you will have to load the appropriate kernel modules |
3098 |
-manually. |
3099 |
-</p> |
3100 |
|
3101 |
-<p> |
3102 |
-In the next example we try to load the <c>8139too</c> module (support for |
3103 |
-certain kinds of network interfaces): |
3104 |
-</p> |
3105 |
- |
3106 |
-<pre caption="Loading kernel modules"> |
3107 |
-# <i>modprobe 8139too</i> |
3108 |
-</pre> |
3109 |
- |
3110 |
-</body> |
3111 |
-</subsection> |
3112 |
<subsection> |
3113 |
-<title>Optional: Tweaking Hard Disk Performance</title> |
3114 |
-<body> |
3115 |
- |
3116 |
-<p> |
3117 |
-If you are an advanced user, you might want to tweak the IDE hard disk |
3118 |
-performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
3119 |
-test the performance of your disk (execute it several times to get a |
3120 |
-more precise impression): |
3121 |
-</p> |
3122 |
- |
3123 |
-<pre caption="Testing disk performance"> |
3124 |
-# <i>hdparm -tT /dev/hda</i> |
3125 |
-</pre> |
3126 |
- |
3127 |
-<p> |
3128 |
-To tweak, you can use any of the following examples (or experiment |
3129 |
-yourself) which use <path>/dev/hda</path> as disk (substitute with your |
3130 |
-disk): |
3131 |
-</p> |
3132 |
- |
3133 |
-<pre caption="Tweaking hard disk performance"> |
3134 |
-<comment>(Activate DMA:)</comment> |
3135 |
-# <i>hdparm -d 1 /dev/hda</i> |
3136 |
- |
3137 |
-<comment>(Activate Safe Performance Options:)</comment> |
3138 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
3139 |
-</pre> |
3140 |
- |
3141 |
-</body> |
3142 |
+<include href="hb-install-bootconfig.xml"/> |
3143 |
</subsection> |
3144 |
-<subsection id="useraccounts"> |
3145 |
-<title>Optional: User Accounts</title> |
3146 |
-<body> |
3147 |
- |
3148 |
-<p> |
3149 |
-If you plan on giving other people access to your installation |
3150 |
-environment or you want to chat using <c>irssi</c> without root privileges (for |
3151 |
-security reasons), you need to create the necessary user accounts and change |
3152 |
-the root password. |
3153 |
-</p> |
3154 |
- |
3155 |
-<p> |
3156 |
-To change the root password, use the <c>passwd</c> utility: |
3157 |
-</p> |
3158 |
- |
3159 |
-<pre caption="Changing the root password"> |
3160 |
-# <i>passwd</i> |
3161 |
-New password: <comment>(Enter your new password)</comment> |
3162 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
3163 |
-</pre> |
3164 |
- |
3165 |
-<p> |
3166 |
-To create a user account, we first enter their credentials, followed by |
3167 |
-its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
3168 |
-In the next example, we create a user called "john". |
3169 |
-</p> |
3170 |
- |
3171 |
-<pre caption="Creating a user account"> |
3172 |
-# <i>useradd -m -G users john</i> |
3173 |
-# <i>passwd john</i> |
3174 |
-New password: <comment>(Enter john's password)</comment> |
3175 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
3176 |
-</pre> |
3177 |
- |
3178 |
-<p> |
3179 |
-You can change your user id from root to the newly created user by using |
3180 |
-<c>su</c>: |
3181 |
-</p> |
3182 |
|
3183 |
-<pre caption="Changing user id"> |
3184 |
-# <i>su - john</i> |
3185 |
-</pre> |
3186 |
- |
3187 |
-</body> |
3188 |
-</subsection> |
3189 |
-<subsection> |
3190 |
-<title>Optional: Viewing Documentation while Installing</title> |
3191 |
-<body> |
3192 |
- |
3193 |
-<p> |
3194 |
-If you want to view the Gentoo Handbook (either from-CD or online) during the |
3195 |
-installation, make sure you have created a user account (see <uri |
3196 |
-link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
3197 |
-go to a new terminal and log in. |
3198 |
-</p> |
3199 |
- |
3200 |
-<p> |
3201 |
-If you want to view the documentation on the CD you can immediately run |
3202 |
-<c>links</c> to read it: |
3203 |
-</p> |
3204 |
- |
3205 |
-<pre caption="Viewing the on-CD documentation"> |
3206 |
-# <i>links /mnt/cdrom/docs/html/index.html</i> |
3207 |
-</pre> |
3208 |
- |
3209 |
-<p> |
3210 |
-However, it is preferred that you use the online Gentoo Handbook as it will be |
3211 |
-more recent than the one provided on the CD. You can view it using <c>links</c> |
3212 |
-as well, but only after having completed the <e>Configuring your Network</e> |
3213 |
-chapter (otherwise you won't be able to go on the Internet to view the |
3214 |
-document): |
3215 |
-</p> |
3216 |
- |
3217 |
-<pre caption="Viewing the Online Documentation"> |
3218 |
-# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
3219 |
-</pre> |
3220 |
- |
3221 |
-<p> |
3222 |
-You can go back to your original terminal by pressing <c>Alt-F1</c>. |
3223 |
-</p> |
3224 |
- |
3225 |
-</body> |
3226 |
-</subsection> |
3227 |
-<subsection> |
3228 |
-<title>Optional: Starting the SSH Daemon</title> |
3229 |
-<body> |
3230 |
- |
3231 |
-<p> |
3232 |
-If you want to allow other users to access your computer during the |
3233 |
-Gentoo installation (perhaps because those users are going to help you |
3234 |
-install Gentoo, or even do it for you), you need to create a user |
3235 |
-account for them and perhaps even provide them with your root password |
3236 |
-(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
3237 |
-</p> |
3238 |
- |
3239 |
-<p> |
3240 |
-To fire up the SSH daemon, execute the following command: |
3241 |
-</p> |
3242 |
- |
3243 |
-<pre caption="Starting the SSH daemon"> |
3244 |
-# <i>/etc/init.d/sshd start</i> |
3245 |
-</pre> |
3246 |
- |
3247 |
-<p> |
3248 |
-To be able to use sshd, you first need to set up your networking. Continue with |
3249 |
-the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
3250 |
-</p> |
3251 |
- |
3252 |
-</body> |
3253 |
-</subsection> |
3254 |
</section> |
3255 |
</sections> |
3256 |
|
3257 |
|
3258 |
|
3259 |
1.1 xml/htdocs/doc/en/handbook/hb-install-bootconfig.xml |
3260 |
|
3261 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-bootconfig.xml?rev=1.1&view=markup |
3262 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-bootconfig.xml?rev=1.1&content-type=text/plain |
3263 |
|
3264 |
Index: hb-install-bootconfig.xml |
3265 |
=================================================================== |
3266 |
<?xml version='1.0' encoding="UTF-8"?> |
3267 |
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-bootconfig.xml,v 1.1 2008/05/02 08:04:23 nightmorph Exp $ --> |
3268 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
3269 |
|
3270 |
<included> |
3271 |
|
3272 |
<version>1</version> |
3273 |
<date>2008-05-02</date> |
3274 |
|
3275 |
<section id="hardware"> |
3276 |
<title>Extra Hardware Configuration</title> |
3277 |
<body> |
3278 |
|
3279 |
<p> |
3280 |
When the Installation CD boots, it tries to detect all your hardware devices and |
3281 |
loads the appropriate kernel modules to support your hardware. In the |
3282 |
vast majority of cases, it does a very good job. However, in some cases it may |
3283 |
not auto-load the kernel |
3284 |
modules you need. If the PCI auto-detection missed some of your system's |
3285 |
hardware, you will have to load the appropriate kernel modules manually. |
3286 |
</p> |
3287 |
|
3288 |
<p> |
3289 |
In the next example we try to load the <c>8139too</c> module (support for |
3290 |
certain kinds of network interfaces): |
3291 |
</p> |
3292 |
|
3293 |
<pre caption="Loading kernel modules"> |
3294 |
# <i>modprobe 8139too</i> |
3295 |
</pre> |
3296 |
|
3297 |
</body> |
3298 |
</section> |
3299 |
<section> |
3300 |
<title>Optional: Tweaking Hard Disk Performance</title> |
3301 |
<body> |
3302 |
|
3303 |
<p> |
3304 |
If you are an advanced user, you might want to tweak the IDE hard disk |
3305 |
performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
3306 |
test the performance of your disk (execute it several times to get a |
3307 |
more precise impression): |
3308 |
</p> |
3309 |
|
3310 |
<pre caption="Testing disk performance"> |
3311 |
# <i>hdparm -tT /dev/sda</i> |
3312 |
</pre> |
3313 |
|
3314 |
<p> |
3315 |
To tweak, you can use any of the following examples (or experiment |
3316 |
yourself) which use <path>/dev/sda</path> as disk (substitute with your |
3317 |
disk): |
3318 |
</p> |
3319 |
|
3320 |
<pre caption="Tweaking hard disk performance"> |
3321 |
<comment>Activate DMA:</comment> |
3322 |
# <i>hdparm -d 1 /dev/sda</i> |
3323 |
<comment>Activate DMA + Safe Performance-enhancing Options:</comment> |
3324 |
# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/sda</i> |
3325 |
</pre> |
3326 |
|
3327 |
</body> |
3328 |
</section> |
3329 |
<section id="useraccounts"> |
3330 |
<title>Optional: User Accounts</title> |
3331 |
<body> |
3332 |
|
3333 |
<p> |
3334 |
If you plan on giving other people access to your installation |
3335 |
environment or you want to chat using <c>irssi</c> without root privileges (for |
3336 |
security reasons), you need to create the necessary user accounts and change |
3337 |
the root password. |
3338 |
</p> |
3339 |
|
3340 |
<p> |
3341 |
To change the root password, use the <c>passwd</c> utility: |
3342 |
</p> |
3343 |
|
3344 |
<pre caption="Changing the root password"> |
3345 |
# <i>passwd</i> |
3346 |
New password: <comment>(Enter your new password)</comment> |
3347 |
Re-enter password: <comment>(Re-enter your password)</comment> |
3348 |
</pre> |
3349 |
|
3350 |
<p> |
3351 |
To create a user account, we first enter their credentials, followed by |
3352 |
its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
3353 |
In the next example, we create a user called "john". |
3354 |
</p> |
3355 |
|
3356 |
<pre caption="Creating a user account"> |
3357 |
# <i>useradd -m -G users john</i> |
3358 |
# <i>passwd john</i> |
3359 |
New password: <comment>(Enter john's password)</comment> |
3360 |
Re-enter password: <comment>(Re-enter john's password)</comment> |
3361 |
</pre> |
3362 |
|
3363 |
<p> |
3364 |
You can change your user id from root to the newly created user by using |
3365 |
<c>su</c>: |
3366 |
</p> |
3367 |
|
3368 |
<pre caption="Changing user id"> |
3369 |
# <i>su - john</i> |
3370 |
</pre> |
3371 |
|
3372 |
</body> |
3373 |
</section> |
3374 |
<section> |
3375 |
<title>Optional: Viewing Documentation while Installing</title> |
3376 |
<body> |
3377 |
|
3378 |
<p> |
3379 |
If you want to view the Gentoo Handbook (either from-CD or online) during the |
3380 |
installation, make sure you have created a user account (see <uri |
3381 |
link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
3382 |
go to a new terminal and log in. |
3383 |
</p> |
3384 |
|
3385 |
<p> |
3386 |
If you want to view the documentation on the CD you can immediately run |
3387 |
<c>lynx</c> to read it: |
3388 |
</p> |
3389 |
|
3390 |
<pre caption="Viewing the on-CD documentation"> |
3391 |
# <i>lynx /mnt/cdrom/docs/html/index.html</i> |
3392 |
</pre> |
3393 |
|
3394 |
<p> |
3395 |
However, it is preferred that you use the online Gentoo Handbook as it will be |
3396 |
more recent than the one provided on the CD. You can view it using <c>lynx</c> |
3397 |
as well, but only after having completed the <e>Configuring your Network</e> |
3398 |
chapter (otherwise you won't be able to go on the Internet to view the |
3399 |
document): |
3400 |
</p> |
3401 |
|
3402 |
<pre caption="Viewing the Online Documentation"> |
3403 |
# <i>lynx http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
3404 |
</pre> |
3405 |
|
3406 |
<p> |
3407 |
You can go back to your original terminal by pressing <c>Alt-F1</c>. |
3408 |
</p> |
3409 |
|
3410 |
</body> |
3411 |
</section> |
3412 |
<section> |
3413 |
<title>Optional: Starting the SSH Daemon</title> |
3414 |
<body> |
3415 |
|
3416 |
<p> |
3417 |
If you want to allow other users to access your computer during the |
3418 |
Gentoo installation (perhaps because those users are going to help you |
3419 |
install Gentoo, or even do it for you), you need to create a user |
3420 |
account for them and perhaps even provide them with your root password |
3421 |
(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
3422 |
</p> |
3423 |
|
3424 |
<p> |
3425 |
To fire up the SSH daemon, execute the following command: |
3426 |
</p> |
3427 |
|
3428 |
<pre caption="Starting the SSH daemon"> |
3429 |
# <i>/etc/init.d/sshd start</i> |
3430 |
</pre> |
3431 |
|
3432 |
<p> |
3433 |
To be able to use sshd, you first need to set up your networking. Continue with |
3434 |
the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
3435 |
</p> |
3436 |
|
3437 |
</body> |
3438 |
</section> |
3439 |
</included> |
3440 |
|
3441 |
|
3442 |
|
3443 |
-- |
3444 |
gentoo-doc-cvs@l.g.o mailing list |