| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml,v 1.66 2004/08/01 15:03:27 swift Exp $ --> |
4 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/handbook-amd64.xml,v 1.141 2007/05/07 18:11:40 nightmorph Exp $ --> |
| 5 | |
5 | |
| 6 | <book link="handbook-amd64.xml"> |
6 | <book link="/doc/en/handbook/handbook-amd64.xml"> |
| 7 | <title>Gentoo Linux/AMD64 Handbook</title> |
7 | <title>Gentoo Linux AMD64 Handbook</title> |
| 8 | |
8 | |
| 9 | <author title="Chief Architect"> |
9 | <values> |
|
|
10 | <key id="arch">AMD64</key> |
|
|
11 | <key id="arch-sub">x86_64</key> |
|
|
12 | <key id="/boot">/dev/hda1</key> |
|
|
13 | <key id="kernel-version">2.6.19-r5</key> |
|
|
14 | <key id="kernel-name">kernel-2.6.19-gentoo-r5</key> |
|
|
15 | <key id="genkernel-name">kernel-genkernel-amd64-2.6.19-gentoo-r5</key> |
|
|
16 | <key id="genkernel-initrd">initramfs-genkernel-amd64-2.6.19-gentoo-r5</key> |
|
|
17 | <key id="min-cd-name">install-amd64-minimal-2007.0.iso</key> |
|
|
18 | <key id="min-cd-size">50</key> |
|
|
19 | <key id="live-cd-name">livecd-amd64-installer-2007.0.iso</key> |
|
|
20 | <key id="live-cd-size">696</key> |
|
|
21 | <key id="release-dir">releases/amd64/2007.0/</key> |
|
|
22 | <key id="stage3">stage3-amd64-2007.0.tar.bz2</key> |
|
|
23 | <key id="CFLAGS">-march=k8 -O2 -pipe</key> |
|
|
24 | <key id="online-book">handbook-amd64.xml</key> |
|
|
25 | </values> |
|
|
26 | |
|
|
27 | <author title="Author"> |
|
|
28 | <mail link="swift@gentoo.org">Sven Vermeulen</mail> |
|
|
29 | </author> |
|
|
30 | <author title="Author"> |
|
|
31 | <mail link="g2boojum@gentoo.org">Grant Goodyear</mail> |
|
|
32 | </author> |
|
|
33 | <author title="Author"> |
|
|
34 | <mail link="uberlord@gentoo.org">Roy Marples</mail> |
|
|
35 | </author> |
|
|
36 | <author title="Author"> |
| 10 | <mail link="drobbins@gentoo.org">Daniel Robbins</mail> |
37 | <mail link="drobbins@gentoo.org">Daniel Robbins</mail> |
| 11 | </author> |
|
|
| 12 | <author title="Author"> |
|
|
| 13 | <mail link="swift@gentoo.org">Sven Vermeulen</mail> |
|
|
| 14 | </author> |
38 | </author> |
| 15 | <author title="Author"> |
39 | <author title="Author"> |
| 16 | <mail link="chouser@gentoo.org">Chris Houser</mail> |
40 | <mail link="chouser@gentoo.org">Chris Houser</mail> |
| 17 | </author> |
41 | </author> |
| 18 | <author title="Author"> |
42 | <author title="Author"> |
| … | |
… | |
| 21 | <author title="Gentoo x86 Developer"> |
45 | <author title="Gentoo x86 Developer"> |
| 22 | <mail link="seemant@gentoo.org">Seemant Kulleen</mail> |
46 | <mail link="seemant@gentoo.org">Seemant Kulleen</mail> |
| 23 | </author> |
47 | </author> |
| 24 | <author title="Gentoo Alpha Developer"> |
48 | <author title="Gentoo Alpha Developer"> |
| 25 | <mail link="taviso@gentoo.org">Tavis Ormandy</mail> |
49 | <mail link="taviso@gentoo.org">Tavis Ormandy</mail> |
| 26 | </author> |
50 | </author><!-- Does not want to be listed on the rendered page |
| 27 | <author title="Gentoo Alpha Developer"> |
51 | <author title="Gentoo Developer"> |
| 28 | <mail link="agriffis@gentoo.org">Aron Griffis</mail> |
52 | Aron Griffis |
| 29 | </author> |
53 | </author> |
|
|
54 | --> |
| 30 | <author title="Gentoo AMD64 Developer"> |
55 | <author title="Gentoo AMD64 Developer"> |
| 31 | <mail link="jhuebel@gentoo.org">Jason Huebel</mail> |
56 | <mail link="jhuebel@gentoo.org">Jason Huebel</mail> |
| 32 | </author> |
57 | </author> |
| 33 | <author title="Gentoo HPPA developer"> |
58 | <author title="Gentoo HPPA developer"> |
| 34 | <mail link="gmsoft@gentoo.org">Guy Martin</mail> |
59 | <mail link="gmsoft@gentoo.org">Guy Martin</mail> |
| … | |
… | |
| 86 | <mail link="kumba@gentoo.org">Joshua Kinard</mail> |
111 | <mail link="kumba@gentoo.org">Joshua Kinard</mail> |
| 87 | </author> |
112 | </author> |
| 88 | <author title="Editor"> |
113 | <author title="Editor"> |
| 89 | <mail link="dertobi123@gentoo.org">Tobias Scherbaum</mail> |
114 | <mail link="dertobi123@gentoo.org">Tobias Scherbaum</mail> |
| 90 | </author> |
115 | </author> |
| 91 | <author title="Reviewer"> |
116 | <author title="Editor"> |
| 92 | <mail link="g2boojum@gentoo.org">Grant Goodyear</mail> |
117 | <mail link="neysx@gentoo.org">Xavier Neys</mail> |
|
|
118 | </author> |
|
|
119 | <author title="Editor"> |
|
|
120 | <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> |
| 93 | </author> |
121 | </author> |
| 94 | <author title="Reviewer"> |
122 | <author title="Reviewer"> |
| 95 | <mail link="gerrynjr@gentoo.org">Gerald J. Normandin Jr.</mail> |
123 | <mail link="gerrynjr@gentoo.org">Gerald J. Normandin Jr.</mail> |
| 96 | </author> |
124 | </author> |
| 97 | <author title="Reviewer"> |
125 | <author title="Reviewer"> |
| 98 | <mail link="spyderous@gentoo.org">Donnie Berkholz</mail> |
126 | <mail link="dberkholz@gentoo.org">Donnie Berkholz</mail> |
| 99 | </author> |
127 | </author> |
| 100 | <author title="Reviewer"> |
128 | <author title="Reviewer"> |
| 101 | <mail link="antifa@gentoo.org">Ken Nowack</mail> |
129 | <mail link="antifa@gentoo.org">Ken Nowack</mail> |
| 102 | </author> |
130 | </author> |
| 103 | <author title="Contributor"> |
131 | <author title="Contributor"> |
| 104 | <mail link="pylon@gentoo.org">Lars Weiler</mail> |
132 | <mail link="pylon@gentoo.org">Lars Weiler</mail> |
| 105 | </author> |
133 | </author> |
| 106 | |
134 | |
| 107 | <abstract> |
135 | <abstract> |
| 108 | This is the Gentoo Handbook, an effort to centralise Gentoo/Linux |
136 | This is the Gentoo Handbook, an effort to centralize Gentoo/Linux information. |
| 109 | information. |
137 | This handbook contains the installation instructions for an Internet-based |
|
|
138 | installation on AMD64 systems and parts about working with Gentoo and Portage. |
| 110 | </abstract> |
139 | </abstract> |
| 111 | |
140 | |
| 112 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
141 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 113 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
142 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 114 | <license/> |
143 | <license/> |
| 115 | |
144 | |
| 116 | <version>2.63</version> |
145 | <version>8.0</version> |
| 117 | <date>August 01, 2004</date> |
146 | <date>2007-05-07</date> |
| 118 | |
147 | |
| 119 | <part> |
148 | <part> |
| 120 | <title>Installing Gentoo</title> |
149 | <title>Installing Gentoo</title> |
| 121 | <abstract> |
150 | <abstract> |
| 122 | In this part you learn how to install Gentoo on your system. |
151 | In this part you learn how to install Gentoo on your system. |
| 123 | </abstract> |
152 | </abstract> |
| 124 | |
153 | |
| 125 | <chapter> |
154 | <chapter> |
| 126 | <title>About the Gentoo Linux Installation</title> |
155 | <title>About the Gentoo Linux Installation</title> |
| 127 | <abstract> |
|
|
| 128 | Users not familiar with Gentoo do not always know that choice is what |
|
|
| 129 | Gentoo is all about. |
|
|
| 130 | </abstract> |
|
|
| 131 | <include href="hb-install-about.xml"/> |
156 | <include href="hb-install-about.xml"/> |
| 132 | </chapter> |
157 | </chapter> |
| 133 | |
158 | |
| 134 | <chapter> |
159 | <chapter> |
| 135 | <title>Choosing the Right Installation Medium</title> |
160 | <title>Choosing the Right Installation Medium</title> |
| 136 | <abstract> |
|
|
| 137 | You can install Gentoo in many ways. This chapter explains how to install Gentoo |
|
|
| 138 | using a Gentoo LiveCD. |
|
|
| 139 | </abstract> |
|
|
| 140 | <include href="hb-install-amd64-medium.xml"/> |
161 | <include href="hb-install-x86+amd64-medium.xml"/> |
| 141 | </chapter> |
162 | </chapter> |
| 142 | |
163 | |
| 143 | <chapter> |
164 | <chapter> |
| 144 | <title>Configuring your Network</title> |
165 | <title>Configuring your Network</title> |
| 145 | <abstract> |
|
|
| 146 | If you want to install Gentoo using the Internet, you need to setup |
|
|
| 147 | networking. |
|
|
| 148 | </abstract> |
|
|
| 149 | <include href="hb-install-network.xml"/> |
166 | <include href="hb-install-network.xml"/> |
| 150 | </chapter> |
167 | </chapter> |
| 151 | |
168 | |
| 152 | <chapter> |
169 | <chapter> |
| 153 | <title>Preparing the Disks</title> |
170 | <title>Preparing the Disks</title> |
| 154 | <abstract> |
|
|
| 155 | To be able to install Gentoo, you must create the necessary partitions. |
|
|
| 156 | This chapter describes how to partition a disk for future usage. |
|
|
| 157 | </abstract> |
|
|
| 158 | <include href="hb-install-amd64-disk.xml"/> |
171 | <include href="hb-install-x86+amd64-disk.xml"/> |
| 159 | </chapter> |
172 | </chapter> |
| 160 | |
173 | |
| 161 | <chapter> |
174 | <chapter> |
| 162 | <title>Installing the Gentoo Installation Files</title> |
175 | <title>Installing the Gentoo Installation Files</title> |
| 163 | <abstract> |
|
|
| 164 | Gentoo installs work through so-called stage-files. In this chapter we |
|
|
| 165 | describe how you extract a stage-file and configure Portage. |
|
|
| 166 | </abstract> |
|
|
| 167 | <include href="hb-install-stage.xml"/> |
176 | <include href="hb-install-stage.xml"/> |
| 168 | </chapter> |
177 | </chapter> |
| 169 | |
178 | |
| 170 | <chapter> |
179 | <chapter> |
| 171 | <title>Installing the Gentoo Base System</title> |
180 | <title>Installing the Gentoo Base System</title> |
| 172 | <abstract> |
|
|
| 173 | Independent of what stage you chose, the eventual result is that you |
|
|
| 174 | have a Gentoo base system at your disposal. This chapter describes how |
|
|
| 175 | to progress to that stadium. |
|
|
| 176 | </abstract> |
|
|
| 177 | <include href="hb-install-system.xml"/> |
181 | <include href="hb-install-system.xml"/> |
| 178 | </chapter> |
182 | </chapter> |
| 179 | |
183 | |
| 180 | <chapter> |
184 | <chapter> |
| 181 | <title>Configuring the Kernel</title> |
185 | <title>Configuring the Kernel</title> |
| 182 | <abstract> |
|
|
| 183 | The Linux kernel is the core of every distribution. This chapter |
|
|
| 184 | explains how to configure your kernel. |
|
|
| 185 | </abstract> |
|
|
| 186 | <include href="hb-install-amd64-kernel.xml"/> |
186 | <include href="hb-install-x86+amd64-kernel.xml"/> |
| 187 | </chapter> |
187 | </chapter> |
| 188 | |
188 | |
| 189 | <chapter> |
189 | <chapter> |
| 190 | <title>Configuring your System</title> |
190 | <title>Configuring your System</title> |
| 191 | <abstract> |
|
|
| 192 | You need to edit some important configuration files. In this chapter |
|
|
| 193 | you receive an overview of these files and an explanation on how to |
|
|
| 194 | proceed. |
|
|
| 195 | </abstract> |
|
|
| 196 | <include href="hb-install-config.xml"/> |
191 | <include href="hb-install-config.xml"/> |
|
|
192 | </chapter> |
|
|
193 | |
|
|
194 | <chapter> |
|
|
195 | <title>Installing Necessary System Tools</title> |
|
|
196 | <include href="hb-install-tools.xml"/> |
| 197 | </chapter> |
197 | </chapter> |
| 198 | |
198 | |
| 199 | <chapter> |
199 | <chapter> |
| 200 | <title>Configuring the Bootloader</title> |
200 | <title>Configuring the Bootloader</title> |
| 201 | <abstract> |
201 | <abstract> |
| 202 | In this chapter we'll describe the GRUB bootloader |
202 | In this chapter we'll describe the GRUB bootloader |
| 203 | and step you through the process of configuring GRUB to your |
203 | and step you through the process of configuring GRUB to your |
| 204 | needs. |
204 | needs. |
| 205 | </abstract> |
205 | </abstract> |
| 206 | <include href="hb-install-amd64-bootloader.xml"/> |
206 | <include href="hb-install-x86+amd64-bootloader.xml"/> |
| 207 | </chapter> |
|
|
| 208 | |
|
|
| 209 | <chapter> |
|
|
| 210 | <title>Installing Necessary System Tools</title> |
|
|
| 211 | <abstract> |
|
|
| 212 | As mentioned before, Gentoo is about choices. In this chapter we help you |
|
|
| 213 | choose and install some important tools. |
|
|
| 214 | </abstract> |
|
|
| 215 | <include href="hb-install-tools.xml"/> |
|
|
| 216 | </chapter> |
207 | </chapter> |
| 217 | |
208 | |
| 218 | <chapter> |
209 | <chapter> |
| 219 | <title>Finalizing your Gentoo Installation</title> |
210 | <title>Finalizing your Gentoo Installation</title> |
| 220 | <abstract> |
|
|
| 221 | You're almost done. We'll just create one (or more) users for your |
|
|
| 222 | system and leave the installation to reboot into a brand new Gentoo |
|
|
| 223 | system. |
|
|
| 224 | </abstract> |
|
|
| 225 | <include href="hb-install-finalise.xml"/> |
211 | <include href="hb-install-finalise.xml"/> |
| 226 | </chapter> |
212 | </chapter> |
| 227 | |
213 | |
| 228 | <chapter> |
214 | <chapter> |
| 229 | <title>Where to go from here?</title> |
215 | <title>Where to go from here?</title> |
| 230 | <abstract> |
|
|
| 231 | Now you have your Gentoo system, but what's next? |
|
|
| 232 | </abstract> |
|
|
| 233 | <include href="hb-install-next.xml"/> |
216 | <include href="hb-install-next.xml"/> |
| 234 | </chapter> |
217 | </chapter> |
| 235 | </part> |
218 | </part> |
| 236 | |
219 | |
| 237 | <part> |
220 | <part> |
| 238 | <title>Working with Gentoo</title> |
221 | <title>Working with Gentoo</title> |
| 239 | <abstract> |
222 | <abstract> |
| 240 | Learn how to work with Gentoo: installing software, altering variables, changing |
223 | Learn how to work with Gentoo: installing software, altering variables, changing |
| 241 | portage behaviour etc. |
224 | Portage behaviour etc. |
| 242 | </abstract> |
225 | </abstract> |
|
|
226 | |
|
|
227 | <chapter> |
|
|
228 | <title>A Portage Introduction</title> |
|
|
229 | <include href="hb-working-portage.xml"/> |
|
|
230 | </chapter> |
| 243 | |
231 | |
| 244 | <chapter> |
232 | <chapter> |
| 245 | <title>USE flags</title> |
233 | <title>USE flags</title> |
| 246 | <abstract> |
|
|
| 247 | USE-flags are a very important aspect of Gentoo. In this chapter, you learn to |
|
|
| 248 | work with USE-flags and understand how USE-flags interact with your system. |
|
|
| 249 | </abstract> |
|
|
| 250 | <include href="hb-working-use.xml"/> |
234 | <include href="hb-working-use.xml"/> |
| 251 | </chapter> |
235 | </chapter> |
| 252 | |
236 | |
| 253 | <chapter> |
237 | <chapter> |
| 254 | <title>Portage and Software</title> |
|
|
| 255 | <abstract> |
|
|
| 256 | The main reason for portage is to maintain the software on your system. In this |
|
|
| 257 | chapter you learn how to get information from a package, update your package |
|
|
| 258 | database, install/remove/update software and more... |
|
|
| 259 | </abstract> |
|
|
| 260 | <include href="hb-working-portage.xml"/> |
|
|
| 261 | </chapter> |
|
|
| 262 | |
|
|
| 263 | <chapter> |
|
|
| 264 | <title>Portage Features</title> |
238 | <title>Portage Features</title> |
| 265 | <abstract> |
|
|
| 266 | Gentoo's Portage allows for several features that improve portage-related |
|
|
| 267 | aspects, such as build time. This chapter explains the existing features. |
|
|
| 268 | </abstract> |
|
|
| 269 | <include href="hb-working-features.xml"/> |
239 | <include href="hb-working-features.xml"/> |
| 270 | </chapter> |
240 | </chapter> |
| 271 | |
241 | |
| 272 | <chapter> |
242 | <chapter> |
| 273 | <title>Controlling Portage Behaviour</title> |
|
|
| 274 | <abstract> |
|
|
| 275 | You can tweak Portage to your own needs/environment. Learn how to protect files, |
|
|
| 276 | select mirrors, change directory locations and more. |
|
|
| 277 | </abstract> |
|
|
| 278 | <include href="hb-working-behaviour.xml"/> |
|
|
| 279 | </chapter> |
|
|
| 280 | |
|
|
| 281 | <chapter> |
|
|
| 282 | <title>Initscripts</title> |
243 | <title>Initscripts</title> |
| 283 | <abstract> |
|
|
| 284 | Gentoo uses a special initscript format which, amongst other features, allows |
|
|
| 285 | dependency-driven decisions and virtual initscripts. This chapter explains all |
|
|
| 286 | these aspects and explains how to deal with these scripts. |
|
|
| 287 | </abstract> |
|
|
| 288 | <include href="hb-working-rcscripts.xml"/> |
244 | <include href="hb-working-rcscripts.xml"/> |
| 289 | </chapter> |
245 | </chapter> |
| 290 | |
246 | |
| 291 | <chapter> |
247 | <chapter> |
| 292 | <title>Environment Variables</title> |
248 | <title>Environment Variables</title> |
| 293 | <abstract> |
|
|
| 294 | With Gentoo you can easily manage the environment variables for your system. |
|
|
| 295 | This chapter explains how you do that, and also describes frequently used |
|
|
| 296 | variables. |
|
|
| 297 | </abstract> |
|
|
| 298 | <include href="hb-working-variables.xml"/> |
249 | <include href="hb-working-variables.xml"/> |
| 299 | </chapter> |
250 | </chapter> |
| 300 | </part> |
251 | </part> |
| 301 | |
252 | |
|
|
253 | <part> |
|
|
254 | <title>Working with Portage</title> |
|
|
255 | <abstract> |
|
|
256 | "Working with Portage" provides an in-depth coverage of Portage, Gentoo's |
|
|
257 | Software Management Tool. |
|
|
258 | </abstract> |
|
|
259 | |
|
|
260 | <chapter> |
|
|
261 | <title>Files and Directories</title> |
|
|
262 | <include href="hb-portage-files.xml"/> |
|
|
263 | </chapter> |
|
|
264 | |
|
|
265 | <chapter> |
|
|
266 | <title>Configuring through Variables</title> |
|
|
267 | <include href="hb-portage-configuration.xml"/> |
|
|
268 | </chapter> |
|
|
269 | |
|
|
270 | <chapter> |
|
|
271 | <title>Mixing Software Branches</title> |
|
|
272 | <include href="hb-portage-branches.xml"/> |
|
|
273 | </chapter> |
|
|
274 | |
|
|
275 | <chapter> |
|
|
276 | <title>Additional Portage Tools</title> |
|
|
277 | <include href="hb-portage-tools.xml"/> |
|
|
278 | </chapter> |
|
|
279 | |
|
|
280 | <chapter> |
|
|
281 | <title>Diverting from the Official Tree</title> |
|
|
282 | <include href="hb-portage-diverttree.xml"/> |
|
|
283 | </chapter> |
|
|
284 | </part> |
|
|
285 | |
|
|
286 | <part> |
|
|
287 | <title>Gentoo Network Configuration</title> |
|
|
288 | <abstract>A comprehensive guide to Networking in Gentoo.</abstract> |
|
|
289 | |
|
|
290 | <chapter> |
|
|
291 | <title>Getting Started</title> |
|
|
292 | <include href="hb-net-start.xml"/> |
|
|
293 | </chapter> |
|
|
294 | |
|
|
295 | <chapter> |
|
|
296 | <title>Advanced Configuration</title> |
|
|
297 | <include href="hb-net-advanced.xml"/> |
|
|
298 | </chapter> |
|
|
299 | |
|
|
300 | <chapter> |
|
|
301 | <title>Modular Networking</title> |
|
|
302 | <include href="hb-net-modules.xml"/> |
|
|
303 | </chapter> |
|
|
304 | |
|
|
305 | <chapter> |
|
|
306 | <title>Wireless Networking</title> |
|
|
307 | <include href="hb-net-wireless.xml"/> |
|
|
308 | </chapter> |
|
|
309 | |
|
|
310 | <chapter> |
|
|
311 | <title>Adding Functionality</title> |
|
|
312 | <include href="hb-net-functions.xml"/> |
|
|
313 | </chapter> |
|
|
314 | |
|
|
315 | <chapter> |
|
|
316 | <title>Network Management</title> |
|
|
317 | <include href="hb-net-management.xml"/> |
|
|
318 | </chapter> |
|
|
319 | </part> |
|
|
320 | |
| 302 | </book> |
321 | </book> |