/[gentoo]/xml/htdocs/doc/en/faq.xml
Gentoo

Diff of /xml/htdocs/doc/en/faq.xml

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

Revision 1.68 Revision 1.98
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/faq.xml,v 1.68 2004/07/05 11:10:24 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/faq.xml,v 1.98 2005/09/09 08:29:49 fox2mike Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/faq.xml"> 5<guide link="/doc/en/faq.xml">
6<title>Gentoo Linux Frequently Asked Questions</title> 6<title>Gentoo Linux Frequently Asked Questions</title>
7<author title="Chief Architect"> 7<author title="Author">
8 <mail link="drobbins@gentoo.org">Daniel Robbins</mail> 8 <mail link="drobbins@gentoo.org">Daniel Robbins</mail>
9</author> 9</author>
10<author title="Reviewer"> 10<author title="Reviewer">
11 Colin Morey 11 Colin Morey
12</author> 12</author>
26 <mail link="peesh@gentoo.org">Jorge Paulo</mail> 26 <mail link="peesh@gentoo.org">Jorge Paulo</mail>
27</author> 27</author>
28<author title="Editor"> 28<author title="Editor">
29 <mail link="swift@gentoo.org">Sven Vermeulen</mail> 29 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
30</author> 30</author>
31<author title="Editor">
32 <mail link="bennyc@gentoo.org">Benny Chuang</mail>
33</author>
34<author title="Editor">
35 <mail link="smithj@gentoo.org">Jonathan Smith</mail>
36</author>
31 37
32<abstract> 38<abstract>
33This FAQ is a collection of questions and answers collected from the gentoo-dev 39This FAQ is a collection of questions and answers collected from the gentoo-dev
34mailing list and from IRC -- if you have any questions (or answers!) to add, 40mailing list and from IRC.
35please contact either an author or a member of the documentation team.
36</abstract> 41</abstract>
37 42
43<!-- The content of this document is licensed under the CC-BY-SA license -->
44<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
38<license/> 45<license/>
39 46
40<version>2.8</version> 47<version>3.0.9</version>
41<date>July 04, 2004</date> 48<date>2005-09-09</date>
42 49
43<chapter> 50<chapter>
44<title>Featured Questions</title> 51<title>Questions:</title>
45<section> 52<section>
46<title>Getting Started</title> 53<title>Getting Started</title>
47<body> 54<body>
48 55
56<p>
57Please note that many of these questions are answered within the official
58Gentoo documents and guides. This is simply a list of common questions. Please
59read the documentation and/or man pages to gain a greater understanding of how
60Gentoo and GNU/Linux works, and for answers to questions which may not be
61answered here.
62</p>
63
49<ul> 64<ul>
50 <li> 65 <li>
51 <uri link="#pronunciation">How is Gentoo pronounced, and what does it 66 <uri link="#pronunciation">How is Gentoo pronounced, and what does it
52 mean?</uri> 67 mean?</uri>
53 </li> 68 </li>
62<title>Installation</title> 77<title>Installation</title>
63<body> 78<body>
64 79
65<ul> 80<ul>
66 <li> 81 <li>
67 <uri link="#optimizations">I'm finding things to be really unstable and 82 <uri link="#optimizations">Things are really unstable and I'm using "-O9
68 I'm using "-O9 -ffast-math -fomit-frame-pointer" optimizations. What 83 -ffast-math -fomit-frame-pointer" optimizations. What gives?</uri>
69 gives?</uri>
70 </li> 84 </li>
71 <li> 85 <li>
72 <uri link="#password">How can I change the root (or any other user's) 86 <uri link="#password">How can I change the root (or any other user's)
73 password?</uri> 87 password?</uri>
74 </li> 88 </li>
94 have to do?</uri> 108 have to do?</uri>
95 </li> 109 </li>
96 <li> 110 <li>
97 <uri link="#isoburning">How do I burn an ISO file?</uri> 111 <uri link="#isoburning">How do I burn an ISO file?</uri>
98 </li> 112 </li>
113 <li>
114 <uri link="#cpus">What CD/stage should I use for my CPU?</uri>
115 </li>
116 <li>
117 <uri link="#dhcp">I can't get online after rebooting. What is wrong?</uri>
118 </li>
119 <li>
120 <uri link="#dualboot">I want to boot Windows from GRUB or LILO but it shows
121 only black screen. What should I do?</uri>
122 </li>
99</ul> 123</ul>
100 124
101</body> 125</body>
102</section> 126</section>
103<section> 127<section>
111 <li> 135 <li>
112 <uri link="#configure">I want to perform the ./configure step myself. 136 <uri link="#configure">I want to perform the ./configure step myself.
113 Can I?</uri> 137 Can I?</uri>
114 </li> 138 </li>
115 <li> 139 <li>
116 <uri link="#norsync">What if rsync doesn't work for me?</uri>
117 </li>
118 <li>
119 <uri link="#firewall">How do I use emerge from behind a 140 <uri link="#firewall">How do I use emerge from behind a
120 firewall?</uri> 141 firewall?</uri>
121 </li> 142 </li>
122 <li> 143 <li>
123 <uri link="#unison">Can I rsync from another operating 144 <uri link="#norsync">What if rsync doesn't work for me?</uri>
124 system?</uri>
125 </li> 145 </li>
126 <li> 146 <li>
127 <uri link="#manualdownload">I have only slow modem connection at home. Can 147 <uri link="#manualdownload">I have only slow modem connection at home. Can
128 I download sources somewhere else and add them to my system?</uri> 148 I download sources somewhere else and add them to my system?</uri>
129 </li> 149 </li>
130 <li> 150 <li>
131 <uri link="#distfiles">.tar.gz sources for installed software are 151 <uri link="#distfiles">Source tarballs are collecting in
132 piling up in /usr/portage/distfiles using valuable space. Is it safe to 152 /usr/portage/distfiles. Is it safe to delete these files?</uri>
133 delete there files?</uri>
134 </li> 153 </li>
135 <li> 154 <li>
136 <uri link="#tmpportage">What's in /var/tmp/portage? Is it safe to 155 <uri link="#tmpportage">What's in /var/tmp/portage? Is it safe to
137 delete the files and directories in /var/tmp/portage?</uri> 156 delete the files and directories in /var/tmp/portage?</uri>
138 </li> 157 </li>
144<title>Usage</title> 163<title>Usage</title>
145<body> 164<body>
146 165
147<ul> 166<ul>
148 <li> 167 <li>
149 <uri link="#rootssh">I have installed openssh on my box, but can
150 only log in as root - my normal user account doesn't work.</uri>
151 </li>
152 <li>
153 <uri link="#rootX">I can start X applications as root only</uri>
154 </li>
155 <li>
156 <uri link="#intkeyboard">How do I set up an International Keyboard 168 <uri link="#intkeyboard">How do I set up an International Keyboard
157 Layout?</uri> 169 Layout?</uri>
158 </li> 170 </li>
159 <li> 171 <li>
160 <uri link="#rootdns">DNS name resolution works for root only.</uri> 172 <uri link="#rootdns">DNS name resolution works for root only.</uri>
167 </li> 179 </li>
168 <li> 180 <li>
169 <uri link="#clear">How do I have my terminal cleared when I log 181 <uri link="#clear">How do I have my terminal cleared when I log
170 out?</uri> 182 out?</uri>
171 </li> 183 </li>
184 <li>
185 <uri link="#suinx">I'm not able to run X applications as root after
186 su'ing</uri>
187 </li>
172</ul> 188</ul>
173 189
174</body> 190</body>
175</section> 191</section>
176<section> 192<section>
178<body> 194<body>
179 195
180<ul> 196<ul>
181 <li> 197 <li>
182 <uri link="#filecorruption">ReiserFS and filesystem corruption issues -- 198 <uri link="#filecorruption">ReiserFS and filesystem corruption issues --
183 how to fix'em, etc.</uri> 199 how to fix them, etc.</uri>
184 </li>
185 <li>
186 <uri link="#metalogd">Metalogd doesn't log in real time!</uri>
187 </li> 200 </li>
188</ul> 201</ul>
189 202
190</body> 203</body>
191</section> 204</section>
199 </li> 212 </li>
200 <li> 213 <li>
201 <uri link="#releases">How often are new releases made?</uri> 214 <uri link="#releases">How often are new releases made?</uri>
202 </li> 215 </li>
203 <li> 216 <li>
204 <uri link="#addfaq">How can I add a question or answer to this
205 FAQ?</uri>
206 </li>
207 <li>
208 <uri link="#beeping">My speaker beeps like crazy while compiling 217 <uri link="#beeping">My speaker beeps like crazy. How do I disable console
209 Mozilla. How do I disable console beeps?</uri> 218 beeps?</uri>
210 </li> 219 </li>
211</ul> 220</ul>
212 221
213</body> 222</body>
214</section> 223</section>
223 </li> 232 </li>
224 <li> 233 <li>
225 <uri link="#buycd">Can I buy a CD of Gentoo Linux?</uri> 234 <uri link="#buycd">Can I buy a CD of Gentoo Linux?</uri>
226 </li> 235 </li>
227 <li> 236 <li>
228 <uri link="#mailinglist">Why, when I hit reply to a post on a Gentoo
229 mailinglist, does my answer only go to the original poster and not the
230 entire list?</uri>
231 </li>
232 <li>
233 <uri link="#help">This FAQ hasn't answered my question. What do I 237 <uri link="#help">This FAQ hasn't answered my question. What do I
234 do now?</uri> 238 do now?</uri>
235 </li> 239 </li>
236</ul> 240</ul>
237 241
246<title>How is Gentoo pronounced, and what does it mean?</title> 250<title>How is Gentoo pronounced, and what does it mean?</title>
247<body> 251<body>
248 252
249<p> 253<p>
250A <e>Gentoo</e> is a species of a small, fast penguin, pronounced "gen-too" (the 254A <e>Gentoo</e> is a species of a small, fast penguin, pronounced "gen-too" (the
251"g" in "gentoo" is a soft "g", as in "gentle"). The latin name of the Gentoo 255"g" in "Gentoo" is a soft "g", as in "gentle"). The scientific name of the Gentoo
252penguin is <e>Pygoscelis papua</e>. The name <e>Gentoo</e> has been given to the 256penguin is <e>Pygoscelis papua</e>. The name <e>Gentoo</e> has been given to the
253penguin by the inhabitants of the Falkland Islands. 257penguin by the inhabitants of the Falkland Islands (Islas Malvinas).
254</p> 258</p>
255 259
256</body> 260</body>
257</section> 261</section>
258<section id="differences"> 262<section id="differences">
262<p> 266<p>
263Gentoo uses a BSD ports-like system called <uri 267Gentoo uses a BSD ports-like system called <uri
264link="/proj/en/portage">Portage</uri>. Portage is a package management system 268link="/proj/en/portage">Portage</uri>. Portage is a package management system
265that allows great flexibility while installing and maintaining software on a 269that allows great flexibility while installing and maintaining software on a
266Gentoo system. It provides compile-time option support (through <uri 270Gentoo system. It provides compile-time option support (through <uri
267link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">USE flags</uri>), 271link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=2">USE flags</uri>),
268conditional dependencies, "fake" installs, safe installation (through 272conditional dependencies, pre-package installation summary, safe installation
269sandboxing) and uninstallation of software, system profiles, <uri 273(through sandboxing) and uninstallation of software, system profiles, <uri
270link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=4#doc_chap1">configuration 274link="/doc/en/handbook/handbook-x86.xml?part=3&amp;chap=2#doc_chap3">configuration
271file protection</uri> amongst several other <uri 275file protection</uri> amongst several other <uri
272link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=3">features</uri>. 276link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">features</uri>.
273</p>
274
275<p> 277</p>
278
279<p>
276With Gentoo you can build your entire system from source completely using your 280With Gentoo you can build your entire system from source, using your choice of
277choice of optimizations. You have complete control over what packages are or 281optimizations. You have complete control over what packages are or aren't
278aren't installed. Gentoo provides you with numerous choices so you can install 282installed. Gentoo provides you with numerous choices, so you can install Gentoo
279Gentoo to your own taste. This is why Gentoo is called a 283to your own preferences, which is why Gentoo is called a <e>meta-distribution</e>.
280<e>meta-distribution</e>.
281</p>
282
283<p> 284</p>
284Gentoo is very actively developed. Not only the <e>ebuilds</e> themselves (the 285
285package format Gentoo uses) but the entire distribution uses a rapid pace 286<p>
287Gentoo is actively developed. The entire distribution uses a rapid pace
286development style. Patches to the packages are quickly integrated in the 288development style: patches to the packages are quickly integrated in the
287mainline tree, documentation is updated on daily basis, portage features are 289mainline tree, documentation is updated on daily basis, Portage features are
288added frequently, releases succeed each other quickly, ... 290added frequently, and official releases occur twice per year.
289</p> 291</p>
290 292
291</body> 293</body>
292</section> 294</section>
293</chapter> 295</chapter>
294 296
295<chapter> 297<chapter>
296<title>Installation</title> 298<title>Installation</title>
297<section id="optimizations"> 299<section id="optimizations">
298<title> 300<title>
299 I'm finding things to be really unstable and I'm using "-O9 -ffast-math 301 Things are really unstable and I'm using -O9 -ffast-math
300 -fomit-frame-pointer" optimizations. What gives? 302 -fomit-frame-pointer optimizations. What gives?
301</title> 303</title>
302<body> 304<body>
303 305
304<p> 306<p>
305Don't bother using anything higher than <c>-O3</c> since it isn't supported by 307Don't bother using anything higher than <c>-O3</c> since it isn't supported by
307compiler to streamline the assembly code to the point where it doesn't quite 309compiler to streamline the assembly code to the point where it doesn't quite
308do the same thing anymore. 310do the same thing anymore.
309</p> 311</p>
310 312
311<p> 313<p>
312Please try to compile with CFLAGS <c>-march= -O2</c> first before reporting a 314Please try to compile with CFLAGS <c>-O2 -march=&lt;your_arch&gt;</c> before
313bug. 315reporting a bug.
314</p> 316</p>
315 317
316</body> 318</body>
317</section> 319</section>
318<section id="password"> 320<section id="password">
319<title>How can i change the root (or any other user's) password?</title> 321<title>How do I change the root (or any other user's) password?</title>
320<body> 322<body>
321 323
322<p> 324<p>
323You can use <c>passwd</c> to change the password for the user you are logged 325You can use <c>passwd</c> to change the password for the user you are logged
324into. For extra options and setting, please see <c>man passwd</c> once you've 326into. As root, you can change any user password by issuing the command
325completed the install. 327<c>passwd username</c> For extra options and setting, please <c>man passwd</c>.
326</p> 328</p>
327 329
328</body> 330</body>
329</section> 331</section>
330<section id="useradd"> 332<section id="useradd">
331<title>How do i add a normal user?</title> 333<title>How do I add a normal user?</title>
332<body> 334<body>
333 335
334<p>
335The command <c>adduser gentoo</c> will add a user called gentoo. The next step
336is to give this user a password and <c>passwd</c> will do exactly that.
337</p> 336<p>
338 337The command <c>adduser username</c> will add a user called "username". However,
339<p> 338this method does not give the user many of the rights you might want to grant
340Instead of <c>adduser</c> you can also use: 339him, so the following command is preferred:
341</p> 340</p>
342 341
343<pre caption="Using useradd"> 342<pre caption="Using useradd">
344# <i>useradd gentoo -m -G users,audio,wheel -s /bin/bash</i> 343# <i>useradd -m -G users,audio,wheel username</i>
345</pre> 344</pre>
346 345
347<p>
348This will add a user gentoo, will make possible for him/her to use sound-related
349devices (<path>/dev/sound/*</path>), will make possible for him/her to switch to
350root (using <c>su</c>) and will make <path>/bin/bash</path> his/her login shell.
351</p> 346<p>
352 347This will add a user named "username". The option <c>audio</c> adds them to the
353<p> 348<c>audio</c> group and allows the user to access sound devices. The option
354You can also install <c>superadduser</c> using <c>emerge superadduser</c> and 349<c>wheel</c> adds the user to the <c>wheel</c> group, which allows the user to
355then issue <c>superadduser gentoo</c> to add a user called gentoo. Just follow 350execute the command <c>su</c>, which in turn allows them to gain the
356the instructions given to you by <c>superadduser</c>. 351privileges of the <c>root</c> user.
357</p> 352</p>
358 353
359</body> 354</body>
360</section> 355</section>
361<section id="su"> 356<section id="su">
362<title>Why can't a user su to root?</title> 357<title>Why can't a user su to root?</title>
363<body> 358<body>
364 359
365<p> 360<p>
366For security reasons, users may only <c>su</c> to root if they belong to the 361For security reasons, users may only <c>su</c> to root if they belong to the
367<e>wheel</e> group. To add a <e>username</e> to the <e>wheel</e> group, issue 362wheel group. To add a username to the wheel group, issue the following command
368the following command as root: 363as root:
369</p> 364</p>
370 365
371<pre caption="Adding a user to the wheel group"> 366<pre caption="Adding a user to the wheel group">
372# <i>gpasswd -a username wheel</i> 367# <i>gpasswd -a username wheel</i>
373</pre> 368</pre>
374 369
375</body> 370</body>
376</section> 371</section>
377<section id="devfs"> 372<section id="devfs">
378<title>How to I disable devfs?</title> 373<title>How do I disable devfs?</title>
379<body> 374<body>
380 375
381<p> 376<p>
382If you plan on using Gentoo with the "old-style" <path>/dev</path> approach, you 377Gentoo requires either devfs kernel support or udev userland support to
383can disable devfs by passing the <c>gentoo=nodevfs</c> to the kernel. If on the 378function correctly. With the advent of the 2.6 kernel being stable on most
384other hand you want to use <uri link="/doc/en/udev-guide.xml">udev</uri> (2.6 379archs, udev is recommended. Please see the <uri
385kernels only), you can disable devfs by passing the <c>devfs=nomount</c> option
386to the kernel. Don't forget to read up on our <uri
387link="/doc/en/udev-guide.xml">udev guide</uri> too. 380link="/doc/en/udev-guide.xml">udev guide</uri> for information on configuring
381udev.
388</p> 382</p>
389 383
390</body> 384</body>
391</section> 385</section>
392<section id="upgrade"> 386<section id="upgrade">
394 Can I upgrade Gentoo from one release to another without reinstalling? 388 Can I upgrade Gentoo from one release to another without reinstalling?
395</title> 389</title>
396<body> 390<body>
397 391
398<p> 392<p>
399In fact there is no difference between the various releases 393In fact, there is no difference between the various releases after they have
400<b>after they have been installed</b>. Gentoo 1.4 and later are 394been installed. Gentoo 1.4 and later are <c>glibc-2.3.x</c> based. As such,
401<c>glibc-2.3.x</c> based. As such running <c>emerge sync; emerge -u world</c> 395running <c>emerge --sync &amp;&amp; emerge -uDN world</c> will bring your
402will bring your entire system up to speed with the "latest Gentoo". 396entire system up to speed with the "latest Gentoo". The differences between
403The true differences between individual releases lie in the installation. 397individual releases lie in the installation medium and pre-compiled packages.
404</p> 398See the <uri link="/doc/en/gentoo-upgrading.xml">Gentoo Upgrading Guide</uri>
405 399for more information about profiles and their role in upgrading.
406<p>
407More information can be found in our <uri link="gentoo-upgrading.xml">Gentoo
408Upgrading Guide</uri>.
409</p> 400</p>
410 401
411</body> 402</body>
412</section> 403</section>
413<section id="bootrescue"> 404<section id="bootrescue">
414<title>My kernel doesn't boot (properly), what should I do now?</title> 405<title>My kernel doesn't boot, what should I do now?</title>
415<body> 406<body>
416 407
417<p> 408<p>
418You don't need to redo every step of the installation, but only the 409You don't need to redo every step of the installation, but investigating the
419kernel-stuff and all associated steps. Suppose you have installed Gentoo 410kernel and all associated steps is necessary. Suppose you have installed Gentoo
420on <path>/dev/hda1</path> (/boot) and <path>/dev/hda3</path> (/) with 411on <path>/dev/hda1</path> (/boot) and <path>/dev/hda3</path> (/) with
421<path>/dev/hda2</path> being the swap space: 412<path>/dev/hda2</path> being the swap space:
422</p> 413</p>
423 414
424<pre caption = "Reconfiguring the kernel"> 415<pre caption = "Reconfiguring the kernel">
425<comment>Boot from the LiveCD and wait until you receive a prompt</comment> 416<comment>Boot from the Install CD and wait until you receive a prompt</comment>
426<comment>We first mount all partitions:</comment> 417<comment>We first mount all partitions:</comment>
427# <i>mount /dev/hda3 /mnt/gentoo</i> 418# <i>mount /dev/hda3 /mnt/gentoo</i>
428# <i>mount /dev/hda1 /mnt/gentoo/boot</i> 419# <i>mount /dev/hda1 /mnt/gentoo/boot</i>
429# <i>swapon /dev/hda2</i> 420# <i>swapon /dev/hda2</i>
430# <i>mount -t proc none /mnt/gentoo/proc</i> 421# <i>mount -t proc none /mnt/gentoo/proc</i>
433# <i>env-update &amp;&amp; source /etc/profile</i> 424# <i>env-update &amp;&amp; source /etc/profile</i>
434# <i>cd /usr/src/linux</i> 425# <i>cd /usr/src/linux</i>
435# <i>make menuconfig</i> 426# <i>make menuconfig</i>
436<comment>Now (de)select anything you have (de)selected wrongly at your</comment> 427<comment>Now (de)select anything you have (de)selected wrongly at your</comment>
437<comment>previous attempt. Then quit and compile your kernel:</comment> 428<comment>previous attempt. Then quit and compile your kernel:</comment>
438# <i>make dep &amp;&amp; make bzImage modules modules_install</i> 429# <i>make &amp;&amp; make modules_install</i>
439<comment>Now copy over your bzImage file, overwriting your previous one:</comment> 430<comment>Now copy over your bzImage file, overwriting your previous one:</comment>
440# <i>cp arch/i386/boot/bzImage /boot</i> 431# <i>cp arch/i386/boot/bzImage /boot</i>
441<comment>If you use LILO, rerun lilo -- GRUB users should skip this:</comment> 432<comment>If you use LILO, rerun lilo -- GRUB users should skip this:</comment>
442# <i>/sbin/lilo</i> 433# <i>/sbin/lilo</i>
443<comment>Now exit the chroot and reboot.</comment> 434<comment>Now exit the chroot and reboot.</comment>
445# <i>umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo</i> 436# <i>umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo</i>
446# <i>reboot</i> 437# <i>reboot</i>
447</pre> 438</pre>
448 439
449<p> 440<p>
450If on the other hand the problem lays with your bootloader configuration, 441If, on the other hand, the problem lays with your bootloader configuration,
451follow the same steps, but instead of configuring/compiling your kernel you 442follow the same steps, but instead of configuring/compiling your kernel, you
452should reconfigure your bootloader (recompilation isn't necessary). 443should reconfigure your bootloader (recompilation isn't necessary).
453</p> 444</p>
454 445
455</body> 446</body>
456</section> 447</section>
457<section id="proxy"> 448<section id="proxy">
458<title>My proxy requires authentication, what do I have to do?</title> 449<title>My proxy requires authentication, what do I have to do?</title>
459<body> 450<body>
460 451
461<p> 452<p>
462When you have to download something using <c>wget</c>, use the
463following syntax to authenticate yourself:
464</p>
465
466<pre caption = "Proxy-authentication using wget">
467# <i>wget --proxy-user=</i><comment>username</comment><i> --proxy-passwd=</i><comment>password</comment><i> &lt;url&gt;</i>
468</pre>
469
470<p>
471To have Portage automatically use this scheme, define it in 453To have Portage automatically use this scheme, define it in
472<path>/etc/make.conf</path>: 454<path>/etc/make.conf</path>:
473</p> 455</p>
474 456
475<pre caption = "/etc/make.conf"> 457<pre caption = "/etc/make.conf">
476FETCHCOMMAND="wget --proxy-user=<comment>username</comment> --proxy-passwd=<comment>password</comment> -t 5 --passive-ftp -P \${DISTDIR} \${URI}" 458HTTP_PROXY="http://username:password@yourproxybox.org:portnumber"
477RESUMECOMMAND="/usr/bin/wget --proxy-user=<comment>username</comment> --proxy-passwd=<comment>password</comment> -c -t 5 --passive-ftp -P \${DISTDIR} \${URI}" 459FTP_PROXY="ftp://username:password@yourproxybox.org:portnumber"
478</pre> 460RSYNC_PROXY="rsync://username:password@yourproxybox.server:portnumber"
479
480<p>
481Sadly, <c>rsync</c> doesn't seem to support username/password
482authentication for proxies. See <uri link="#doc_chap4_sect3">What
483if rsync doesn't work for me?</uri> for more information on how to
484handle this situation.
485</p> 461</pre>
486 462
487</body> 463</body>
488</section> 464</section>
489<section id="isoburning"> 465<section id="isoburning">
490<title>How do I burn an ISO file?</title> 466<title>How do I burn an ISO file?</title>
491<body> 467<body>
492 468
493<p> 469<p>
494You need to burn the file in so-called <e>raw</e> mode. This means that you 470You need to burn the file in raw mode. This means that you should <e>not</e>
495should <e>not</e> just place the file on the CD, but interpret the file as an 471just place the file on the CD, but interpret the file as an entire CD.
496entire CD.
497</p> 472</p>
498 473
499<p> 474<p>
500There are lots of CD burning tools available; covering them all would be a 475There are lots of CD burning tools available; covering them all would be a
501Sisyphean problem. Describing a few popular tools however doesn't hurt :) 476Sisyphean problem. However, describing a few popular tools never hurts:
502</p> 477</p>
503 478
504<ul> 479<ul>
505 <li> 480 <li>
506 With EasyCD Creator you select <c>File</c>, <c>Record CD 481 With EasyCD Creator you select <c>File</c>, <c>Record CD
508 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on 483 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on
509 <c>Start recording</c> the ISO image will be burned correctly onto the CD-R. 484 <c>Start recording</c> the ISO image will be burned correctly onto the CD-R.
510 </li> 485 </li>
511 <li> 486 <li>
512 With Nero Burning ROM, cancel the wizard which automatically pops up and 487 With Nero Burning ROM, cancel the wizard which automatically pops up and
513 select <c>Burn Image</c> from the <c>Recoder</c> menu. Select the image you 488 select <c>Burn Image</c> from the <c>File</c> menu. Select the image you
514 want to burn and click <c>Open</c>. Now hit the <c>Burn</c> button and watch 489 want to burn and click <c>Open</c>. Now hit the <c>Burn</c> button and watch
515 your brand new CD being burnt. 490 your brand new CD being burnt.
516 </li> 491 </li>
517 <li> 492 <li>
518 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 493 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace
519 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 494 <path>/dev/hdc</path> with your CD-RW drive's device path) followed
520 by the path to the ISO file :) 495 by the path to the ISO file :)
521 </li> 496 </li>
522 <li> 497 <li>
523 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 498 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn CD Image</c>.
524 you can locate your ISO file within the 'Image to Burn' area. Finally click 499 Then you can locate your ISO file within the 'Image to Burn' area. Finally
525 <c>Start</c>. 500 click <c>Start</c>.
526 </li> 501 </li>
527 <li> 502 <li>
528 With Mac OS X Panther, launch <c>Disk Utility</c> from 503 With Mac OS X Panther, launch <c>Disk Utility</c> from
529 <path>Applications/Utilities</path>, select <c>Open</c> from the 504 <path>Applications/Utilities</path>, select <c>Open</c> from the
530 <c>Images</c> menu, select the mounted disk image in the main window and 505 <c>Images</c> menu, select the mounted disk image in the main window and
538</ul> 513</ul>
539 514
540 515
541</body> 516</body>
542</section> 517</section>
518<section id="cpus">
519<title>What CD/stage should I use for my CPU?</title>
520<body>
521
522<p>
523First you need to find our what CPU you use. Suppose it's a Pentium-M. Then you
524need to find out what CPU it is, instruction-wise, compatible with. You may
525need to consult the CPU's vendor website for this, although <uri
526link="http://www.google.com">Google</uri> is at least as efficient :-).
527</p>
528
529<p>
530If you are uncertain, take a "lower" CD/stage file, for instance a i686 or even
531generic x86 (or the equivalent in your arch). This will ensure that your system
532will work, but may not be as fast as further optimizations.
533</p>
534
535<p>
536If you are building from a Stage 1, please note that many more options exist
537than those for which Gentoo builds binary stages. Please see the <uri
538link="http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options">gcc
539guide</uri> for setting <c>-march</c>.
540</p>
541
542</body>
543</section>
544<section id="dhcp">
545<title>I can't get online after rebooting. What is wrong?</title>
546<body>
547
548<p>
549First you need to check if your network card is discovered properly by the
550kernel. Run <c>ifconfig&nbsp;-a</c> and look for eth0 or wlan0 (in case of
551certain wireless network cards). You might need to load specific kernel modules
552for the kernel to properly detect the network card. If that is the case, make
553sure that these kernel modules are listed in
554<path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path> if
555you are still using a 2.4 kernel).
556</p>
557
558<p>
559If you have forgotten to include support for your network card in your kernel,
560you will need to reconfigure your kernel.
561</p>
562
563<p>
564If your network card is found by your kernel, but you have set your networking
565configuration to use DHCP, you might have forgotten to
566<c>emerge&nbsp;dhcpcd</c>. You will need to reboot with your installation CD to
567install <c>dhcpcd</c>.
568</p>
569
570<p>
571Information on how to rescue your system using the installation CD is <uri
572link="#bootrescue">available</uri> as well.
573</p>
574
575</body>
576</section>
577<section id="dualboot">
578<title>
579I want to boot Windows from grub or lilo but it shows only black screen. What
580should I do?
581</title>
582<body>
583
584<p>
585This is a known problem. Windows refuses to boot when it isn't installed on the
586first hard drive and shows a black/blank screen. To handle this, you will have
587to "fool" Windows into believing that it is installed on the first hard drive
588with a little tweak in your boot loader configuration. Please note that in the
589below example, Gentoo is installed on <path>hda</path> (first disk) and Windows
590on <path>hdb</path> (second one). Adjust your config as needed.
591</p>
592
593<pre caption="Example dual boot entry for Windows in grub.conf">
594title Windows XP
595 map (hd1) (hd0)
596 map (hd0) (hd1)
597 rootnoverify (hd1,0)
598 chainloader +1
599</pre>
600
601<pre caption="Example dual boot entry for Windows in lilo.conf">
602other=/dev/hdb1
603 label=WindowsXP
604 table=/dev/hdb
605 map-drive = 0x80
606 to = 0x81
607 map-drive = 0x81
608 to = 0x80
609</pre>
610
611<p>
612This will make Windows believe it is installed on the first hard drive and boot
613without problems. More information can be found in the <uri
614link="http://www.gnu.org/software/grub/manual/html_node/DOS_002fWindows.html">GRUB
615documentation</uri> and in <c>man lilo.conf</c>, depending on the boot loader
616you're using.
617</p>
618
619</body>
620</section>
543</chapter> 621</chapter>
544 622
545<chapter> 623<chapter>
546<title>Package Management</title> 624<title>Package Management</title>
547<section id="ebuilds"> 625<section id="ebuilds">
548<title>In what format are the packages stored?</title> 626<title>In what form are the packages stored?</title>
549<body> 627<body>
550 628
629<p>
630Packages aren't "stored" per se. Instead, Gentoo provides a set of scripts
631which can resolve dependencies, fetch source code, and compile a version of the
632package specifically for your needs. We generally only build binaries for
633releases and snapshots. The <uri
634link="/proj/en/devrel/handbook/handbook.xml?part=2&amp;chap=1">Gentoo Ebuild
635HOWTO</uri> covers the contents of an ebuild script in detail.
551<p> 636</p>
552They exist in our portage tree as <e>ebuild</e> autobuild scripts; Gentoo is 637
553primarily a ports-based distribution, meaning that we provide scripts 638<p>
554(<c>.ebuild</c> files) and a special system (Portage) so that you can build 639For full ISO releases, we create a full suite of binary packages in an enhanced
555apps from sources. We generally only build binaries for releases and snapshots. 640<c>.tbz2</c> format, which is <c>.tar.bz2</c> compatible with meta-information
556The <uri link="/doc/en/gentoo-howto.xml">Development HOWTO</uri> covers the 641attached to the end of the file. These can be used to install a working (though
557contents of an ebuild script in detail. For full binary ISO releases, we 642not fully optimized) version of the package quickly and efficiently.
558create a full suite of binary packages in an enhanced <c>.tbz2</c> format 643</p>
559(<c>.tar.bz2</c> compatible with meta-information attached to the end of the 644
560file). 645<p>
646It is possible to create RPMs (Redhat package manager files) using Gentoo's
647Portage, but it is not currently possible to use already existing RPMs to
648install packages.
561</p> 649</p>
562 650
563</body> 651</body>
564</section> 652</section>
565<section id="configure"> 653<section id="configure">
566<title>I want to perform the ./configure step myself. Can I?</title> 654<title>I want to perform the ./configure step myself. Can I?</title>
655<body>
656
657<p>
658Yes, but it is not trivial, nor is it recommended. Since the method to do this
659requires a good understanding of Portage internals and commands, it is instead
660recommended that you patch the ebuild to do whatever it is that you want and
661place it in the Portage overlay (that's why it exists). This is <e>much</e>
662better for maintainability, and usually easier. See the <uri
663link="/proj/en/devrel/handbook/handbook.xml?part=2&amp;chap=1">Ebuild
664HOWTO</uri> for more information.
665</p>
666
567<body> 667</body>
668</section>
669<section id="firewall">
670<title>How do I use emerge from behind a firewall?</title>
671<body>
568 672
569<p>
570Yes, but it is not trivial, and the next method only works when it is a simple
571ebuild (i.e. just <c>./configure</c> and <c>make &amp;&amp; make install</c>).
572Be sure to read the ebuild itself to see how Gentoo handles it.
573</p> 673<p>
574 674See the questions on <uri link="#proxy">proxies</uri>, <uri
575<p> 675link="#norsync">rsync</uri>, and <uri link="#manualdownload">downloading source
576Start with unpacking the ebuild: <c>ebuild 676files manually</uri>.
577/usr/portage/&lt;category&gt;/&lt;package&gt;/&lt;ebuild&gt; unpack</c>.
578</p>
579
580<p>
581Next, go to <path>/var/tmp/portage/&lt;package&gt;-&lt;version&gt;/work</path>.
582Inside it you'll find the unpacked sources. Execute the steps you need to
583perform to configure and compile the package.
584</p>
585
586<p>
587When finished, execute <c>touch
588/var/tmp/portage/&lt;package&gt;-&lt;version&gt;/.compiled</c> to trick Portage
589into thinking it configured and compiled the package. Then finish up with
590<c>ebuild /usr/portage/&lt;category&gt;/&lt;package&gt;/&lt;ebuild&gt;
591merge</c>.
592</p> 677</p>
593 678
594</body> 679</body>
595</section> 680</section>
596<section id="norsync"> 681<section id="norsync">
598<body> 683<body>
599 684
600<p> 685<p>
601If you're behind a firewall that doesn't permit rsync traffic, then you can use 686If you're behind a firewall that doesn't permit rsync traffic, then you can use
602<c>emerge-webrsync</c> which will fetch and install a Portage snapshot for you 687<c>emerge-webrsync</c> which will fetch and install a Portage snapshot for you
603through regular HTTP. <c>emerge-webrsync</c> uses <c>wget</c> to download, so 688through regular HTTP. See the <uri link="#proxy">proxy section</uri> of this
604proxy is fully supported. 689document for information on downloading source files and Portage snapshots via
605</p> 690a proxy.
606
607<pre caption="Using emerge-webrsync">
608# <i>emerge-webrsync</i>
609</pre>
610
611</body>
612</section>
613<section id="firewall">
614<title>How do I use emerge from behind a firewall?</title>
615<body>
616
617<p>
618Edit the PROXY settings in <path>/etc/make.conf</path>. If that doesn't work,
619edit <path>/etc/wget/wgetrc</path> and edit http_proxy and ftp_proxy
620appropriately.
621</p>
622
623</body>
624</section>
625<section id="unison">
626<title>Can I rsync from another operating system?</title>
627<body>
628
629<p>
630There's a program called unison that works under both UNIX and Win32, available
631from <uri>http://www.cis.upenn.edu/~bcpierce/unison/</uri>.
632</p> 691</p>
633 692
634</body> 693</body>
635</section> 694</section>
636<section id="manualdownload"> 695<section id="manualdownload">
643<p> 702<p>
644Definitely. You can run <c>emerge --pretend package</c> to see what programs 703Definitely. You can run <c>emerge --pretend package</c> to see what programs
645are going to be installed. To find out the sources for those packages and where 704are going to be installed. To find out the sources for those packages and where
646to download the sources from, you can run <c>emerge -fp package</c>. Download 705to download the sources from, you can run <c>emerge -fp package</c>. Download
647sources and bring them on any media home. Put the sources into 706sources and bring them on any media home. Put the sources into
648<path>/usr/portage/distfiles</path> and run <c>emerge package</c> to see it 707<path>/usr/portage/distfiles/</path> and then simply run <c>emerge package</c>.
649picking up the sources you just brought in! 708Be warned, however, that this is a tedious process.
650</p> 709</p>
651 710
652</body> 711</body>
653</section> 712</section>
654<section id="distfiles"> 713<section id="distfiles">
655<title> 714<title>
656 .tar.gz sources for installed software are piling up in 715 Source tarballs are collecting in /usr/portage/distfiles/. Is it safe to
657 /usr/portage/distfiles/ using valuable space. Is it safe to delete these 716 delete these files?
658 files?
659</title> 717</title>
660<body> 718<body>
661 719
662<p> 720<p>
663Yes, you can safely delete these files. But if you are on a slow 721Deleting these files will have no negative impact on day-to-day performance.
664connection, such as a modem, you might want to keep the archives if 722However, it might be wise to keep the most recent version of the files; often
665possible; often several ebuilds will be released for the same version of 723several ebuilds will be released for the same version of a specific piece of
666a specific piece of software - if you have deleted the archive and you 724software. If you have deleted the archive and you upgrade the software it will
667upgrade the software it will have to be downloaded from the internet 725be necessary to download them from the internet again. There are programs which
668again. 726<uri link="http://forums.gentoo.org/viewtopic-t-337074.html">users have
727developed</uri> to clean out all but the most recent version of sourcefiles.
728Note that while this seems to work, it is <e>not</e> officially maintained. Use
729at your own risk.
669</p> 730</p>
670 731
671</body> 732</body>
672</section> 733</section>
673<section id="tmpportage"> 734<section id="tmpportage">
677</title> 738</title>
678<body> 739<body>
679 740
680<p> 741<p>
681During compilation, Gentoo saves the sources of the package in 742During compilation, Gentoo saves the sources of the package in
682<path>/var/tmp/portage</path>. It is safe to clean out all contents of this 743<path>/var/tmp/portage</path>. These files and folder are usually deleted upon
683directory. 744a successful merge, but this sometimes fails. It is safe to clean out all
745contents of this directory <e>if</e> emerge is not running. Just to be sure,
746always <c>pgrep emerge</c> before cleaning out this directory.
684</p> 747</p>
685 748
686</body> 749</body>
687</section> 750</section>
688</chapter> 751</chapter>
689 752
690<chapter> 753<chapter>
691<title>Usage</title> 754<title>Usage</title>
692<section id="rootssh">
693<title>
694 I have installed openssh on my box, but can only log in as root - my normal
695 user account doesn't work.
696</title>
697<body>
698
699<p>
700This is most probably because your user account doesn't have a valid shell
701specified. Check for your user entry in <path>/etc/passwd</path> and see if it
702ends in /bin/bash (or any other shell). If it doesn't, you must set a shell for
703the user. This is done using the usermod command, like this:
704</p>
705
706<pre caption="Using usermod">
707# <i>usermod -s /bin/bash myuser</i>
708</pre>
709
710</body>
711</section>
712<section id="rootX">
713<title>I can start X applications as root only.</title>
714<body>
715
716<p>
717Your <path>/tmp</path> directory has the wrong permissions (it needs the
718sticky bit set). Type the following as root:
719</p>
720
721<pre caption="Changing /tmp permissions">
722# <i>chmod 1777 /tmp</i>
723</pre>
724
725</body>
726</section>
727<section id="intkeyboard"> 755<section id="intkeyboard">
728<title>How do I set up an International Keyboard Layout?</title> 756<title>How do I set up an International Keyboard Layout?</title>
729<body> 757<body>
730 758
731<p> 759<p>
732Edit the <c>KEYMAP</c> variable in <path>/etc/rc.conf</path>. 760Edit the <c>KEYMAP</c> variable in <path>/etc/conf.d/keymaps</path>. Then,
733Then either reboot or restart the keymaps script: 761either <c>reboot</c> or restart the keymaps script:
762</p>
763
764<pre caption="Restarting keymaps">
734<c>/etc/init.d/keymaps restart</c>. 765# <i>/etc/init.d/keymaps restart</i>
735</p> 766</pre>
736 767
737</body> 768</body>
738</section> 769</section>
739<section id="rootdns"> 770<section id="rootdns">
740<title>DNS name resolution works for root only.</title> 771<title>DNS name resolution works for root only</title>
741<body> 772<body>
742 773
743<p> 774<p>
744<path>/etc/resolv.conf</path> has the wrong permissions; <c>chmod</c> it as 775<path>/etc/resolv.conf</path> has the wrong permissions; <c>chmod</c> it as
745follows: 776follows:
764<section id="numlock"> 795<section id="numlock">
765<title>How do I get numlock to start on boot?</title> 796<title>How do I get numlock to start on boot?</title>
766<body> 797<body>
767 798
768<p> 799<p>
769If you log on graphically, or want numlock to be activated when
770you issue <c>startx</c>, then you must <c>emerge numlockx</c> and
771add <c>/usr/X11R6/bin/numlockx</c> to
772<path>/etc/X11/xinit/xinitrc</path> (for <c>startx</c>) or
773<path>/etc/X11/Sessions/</path> (for any graphical login manager) such
774as <path>/etc/X11/Sessions/Gnome</path> for GDM.
775</p>
776
777<p>
778GNOME 2.6 users however will notice that this doesn't work. Instead, they will
779need to start the <c>gnome-session-properties</c> tool. At the top of the
780Window, select <c>Startup Programs</c> and click the <c>Add</c> button. Now
781insert the location of the <c>numlockx</c> tool (for instance
782<path>/usr/X11R6/bin/numlockx</path>) and exit.
783</p>
784
785<p>
786If you work in commandline, you only need to <c>rc-update add 800If you work in command line, you only need to <c>rc-update add
787numlock default</c> and numlock will be activated on the next 801numlock default &amp;&amp;/etc/init.d/numlock start</c>.
788reboot. 802</p>
803
804<p>
805Each GUI provides different tools for this sort of thing; please check the help
806section or online manuals for assistance.
789</p> 807</p>
790 808
791</body> 809</body>
792</section> 810</section>
793<section id="clear"> 811<section id="clear">
810 828
811<pre caption = "Making new users their terminal clear on logout"> 829<pre caption = "Making new users their terminal clear on logout">
812# <i>echo clear &gt;&gt; /etc/skel/.bash_logout</i></pre> 830# <i>echo clear &gt;&gt; /etc/skel/.bash_logout</i></pre>
813</body> 831</body>
814 832
833</section>
834<section id="suinx">
835<title>I'm not able to run X applications as root after su'ing</title>
836<body>
837
838<p>
839This issue seems only to occur when you log on graphically. <c>startx</c> users
840don't have this behaviour. The problem is a <uri
841link="http://bugs.gentoo.org/show_bug.cgi?id=14560">bug</uri> in Gentoo's PAM,
842the solution however is quite simple: add the following line to
843<path>/etc/profile</path>.
844</p>
845
846<pre caption="Export the XAUTHORITY">
847export XAUTHORITY="${HOME}/.Xauthority"
848</pre>
849
850</body>
815</section> 851</section>
816</chapter> 852</chapter>
817 853
818<chapter> 854<chapter>
819<title>Maintenance</title> 855<title>Maintenance</title>
820<section id="filecorruption"> 856<section id="filecorruption">
821<title>ReiserFS and filesystem corruption issues -- how to fix'em, etc</title> 857<title>ReiserFS and filesystem corruption issues -- how to fix them, etc</title>
822<body>
823
824<p>
825If your ReiserFS partition is corrupt, try booting the Gentoo
826Linux boot CD and run <c>reiserfsck --rebuild-tree</c> on
827the corrupted filesystem. This should make the filesystem consistent
828again, although you may have lost some files or directories due
829to the corruption.
830</p>
831
832</body> 858<body>
833</section>
834<section id="metalogd">
835<title>Metalogd doesn't log in real time!</title>
836<body>
837 859
838<p>
839Metalog flushes output to the disk in blocks, so messages aren't immediately
840recorded into the system logs. If you are trying to debug a daemon, this
841performance-enhancing behavior is less than helpful. When your Gentoo Linux
842system is up and running, you can send metalog a USR1 signal to temporarily
843turn off this message buffering (meaning that <c>tail -f
844<path>/var/log/everything/current</path></c> will now work in real time, as
845expected) and a USR2 signal to turn buffering back on again. If you want to
846disable buffering permanently, you can change METALOG_OPTS="-B" to
847METALOG_OPTS="-B -s" in <path>/etc/conf.d/metalog</path>.
848</p> 860<p>
849 861If your ReiserFS partition is corrupt, try booting the Gentoo Install CD and
850<pre caption="Turning metalog buffering on/off"> 862run <c>reiserfsck --rebuild-tree</c> on the corrupted filesystem. This should
851<codenote>To turn the buffering off:</codenote> 863make the filesystem consistent again, although you may have lost some files or
852# <i>killall -USR1 metalog</i> 864directories due to the corruption.
853<codenote>To turn the buffering back on:</codenote>
854# <i>killall -USR2 metalog</i>
855</pre> 865</p>
856 866
857</body> 867</body>
858</section> 868</section>
859</chapter> 869</chapter>
860 870
863<section id="reportbugs"> 873<section id="reportbugs">
864<title>Where can I report bugs?</title> 874<title>Where can I report bugs?</title>
865<body> 875<body>
866 876
867<p> 877<p>
868For bugs within a specific program, contact the program's author. Otherwise, 878Use our <uri link="https://bugs.gentoo.org">Bugzilla</uri>. If you are unsure if
869use our Bugzilla bug tracker at <uri>http://bugs.gentoo.org</uri>. You can 879your problem is an actual bug, you can visit <c>#gentoo</c> on the <uri
870also visit us in <c>#gentoo</c> on the <uri
871link="http://www.freenode.net">FreeNode</uri> IRC network. 880link="http://www.freenode.net">FreeNode</uri> IRC network.
872</p> 881</p>
873 882
874</body> 883</body>
875</section> 884</section>
876<section id="releases"> 885<section id="releases">
877<title>How often are new releases made?</title> 886<title>How often are new releases made?</title>
878<body> 887<body>
879 888
880<p> 889<p>
881New releases are announced on the <uri 890Gentoo's packages are usually updated shortly after the main authors release
882link="http://www.gentoo.org/main/en/lists.xml">gentoo-announce</uri> 891new code. As for when Gentoo itself makes new stage/profile/ISO releases, check
883mailing list. In reality the packages themselves are updated shortly after the
884main authors release new code. As for when Gentoo makes new releases, check our
885<uri link="/proj/en/releng">Release Engineering Project</uri> page. 892our <uri link="/proj/en/releng">Release Engineering Project</uri> page. New
886</p> 893releases are announced on the <uri
887 894link="/main/en/lists.xml">gentoo-announce</uri> mailing list. See the question
888</body> 895on <uri link="#upgrade">upgrading</uri> for more information.
889</section>
890<section id="addfaq">
891<title>How can I add a question or answer to this FAQ?</title>
892<body>
893
894<p>
895Submit a new bug over at <uri>http://bugs.gentoo.org</uri> and add it to the
896"Docs-user" product, "Gentoo Linux FAQ" component.
897</p> 896</p>
898 897
899</body> 898</body>
900</section> 899</section>
901<section id="beeping"> 900<section id="beeping">
902<title> 901<title>
903 My speaker beeps like crazy while compiling Mozilla. How do I disable console 902 My speaker beeps like crazy. How do I disable console beeps?
904 beeps?
905</title> 903</title>
906<body> 904<body>
907 905
908<p> 906<p>
909Console beeps can be turned off using setterm, like this: 907Console beeps can be turned off using setterm, like this:
912<pre caption="Using setterm"> 910<pre caption="Using setterm">
913# <i>setterm -blength 0</i> 911# <i>setterm -blength 0</i>
914</pre> 912</pre>
915 913
916<p> 914<p>
917If you would like to turn off the console beeps on boot 915If you would like to turn off the console beeps on boot, you need to put this
918you need to put this command in <path>/etc/conf.d/local.start</path>. However, 916command in <path>/etc/conf.d/local.start</path>. However, this only disables
919this only disables beeps for the current terminal. To disable 917beeps for the current terminal. To disable beeps for other terminals, pipe the
920beeps for other terminals, pipe the command output to the 918command output to the target terminal, like this: </p>
921target terminal, like this:
922</p>
923 919
924<pre caption="Using setterm (bis)"> 920<pre caption="Using setterm (bis)">
925# <i>setterm -blength 0 >/dev/vc/1</i> 921# <i>setterm -blength 0 >/dev/vc/1</i>
926</pre> 922</pre>
927 923
939<section id="resources"> 935<section id="resources">
940<title>Where can I find more information about Gentoo Linux?</title> 936<title>Where can I find more information about Gentoo Linux?</title>
941<body> 937<body>
942 938
943<p> 939<p>
944The official Gentoo documentation can be found on 940The official Gentoo documentation can be found at
945<uri>http://www.gentoo.org</uri>; general Linux information is at
946<uri>http://www.tldp.org</uri>. 941<uri>http://www.gentoo.org/doc/en/</uri>.
947</p> 942</p>
948 943
949</body> 944</body>
950</section> 945</section>
951<section id="buycd"> 946<section id="buycd">
952<title>Can I buy a CD of Gentoo Linux?</title> 947<title>Can I buy a CD of Gentoo Linux?</title>
953<body> 948<body>
954 949
955<p> 950<p>
956Yes! LiveCDs for all supported architecture are available on 951Install CDs for all supported architectures are available on our <uri
957our <uri link="http://store.gentoo.org/">Gentoo Store</uri>. When you 952link="http://www.cafepress.com/officialgentoo/">Gentoo Store</uri>. When you
958purchase a CD from our store, you are also supporting our development. 953purchase a CD from our store, you are also supporting our development. So,
959So, please consider buying from our store if possible :-) 954please consider buying from our store if possible.
960</p>
961
962<p> 955</p>
963You can also find fresh CDs from 956
964<uri link = "http://www.tuxcds.com/section.php?section=42">
965tuxcds</uri> for a very good price. These people also bounce back a
966portion of the profits to the Gentoo project, so buy them while they are hot!
967</p> 957<p>
968 958You can also find fresh CDs from various resellers listed on our <uri
969</body> 959link="/main/en/where.xml">Get Gentoo!</uri> page.
970</section>
971<section id="mailinglist">
972<title>
973 Why, when I hit reply to a post on a Gentoo mailing list, does my answer
974 only go to the original poster and not the entire list?
975</title>
976<body>
977
978<p>
979The mailing list administrators have decided to go with minimal munging
980(altering of mail headers), which means that they have decided against
981altering headers to have replies go to the mailing list. There are various
982reasons for this. For example, if a subscriber has a full mailbox, the
983entire list receives notice of this every time that something is posted.
984</p>
985
986<p>
987Most GUI based mailers have a "reply to all" function. This will ensure that
988your reply goes to the mailing list as well as the original poster. Most
989users of text based emailers already know the methods to use, but if you
990don't, in Pine, there is a "reply to group" option. Setting Mutt to reply to
991the list is covered in the unofficial documentation at
992<uri link="http://forums.gentoo.org/viewtopic.php?t=1085">forums.gentoo.org</uri>.
993</p>
994
995<p>
996Some list members do not like this method, but it was very heavily
997discussed when it went into effect, with arguments on both sides.
998Eventually the list administrators decided to keep it this way. Discussing
999it on the mailing list will sometimes bring a polite explanation and other
1000times a rather brusque comment to check the archives. Although the
1001administrators regret the inconvenience that it may cause some users, it is
1002felt that at present it is preferable to the alternative for several
1003reasons, many of these covered
1004<uri link="http://www.unicom.com/pw/reply-to-harmful.html">here</uri>.
1005</p>
1006
1007<p>
1008(There are other eloquent arguments in favor of munging, and yes, the list
1009administrators have seen them).
1010</p> 960</p>
1011 961
1012</body> 962</body>
1013</section> 963</section>
1014<section id="help"> 964<section id="help">
1015<title>This FAQ hasn't answered my question. What do I do now?</title> 965<title>This FAQ hasn't answered my question. What do I do now?</title>
1016<body> 966<body>
1017 967
1018<p> 968<p>
1019A good first step is to browse through the relevant <uri 969A good first step is to browse through the relevant <uri
1020link="http://www.gentoo.org/doc/en/index.xml">documentation</uri>, failing that, 970link="/doc/en/index.xml">documentation</uri>, failing that, the various Gentoo
1021the various Gentoo Linux mailing lists listed on <uri 971Linux mailing lists listed on <uri link="http://www.google.com">Google</uri>.
1022link="http://www.google.com">Google</uri>. To search through the Gentoo 972To search through the Gentoo mailing lists, just enter "lists.gentoo.org foo"
1023mailing lists, just enter "lists.gentoo.org foo" to search for "foo". If all 973to search for "foo". If all else fails, or you just want to hang out with
1024else fails, or you just want to hang out with Gentoo folks, visit us on irc: 974Gentoo folks, visit us on irc: <c>#gentoo</c> on <c>irc.freenode.net</c>.
1025<c>#gentoo</c> on <c>irc.freenode.net</c>.
1026</p> 975</p>
1027 976
1028</body> 977</body>
1029</section> 978</section>
1030</chapter> 979</chapter>

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.98

  ViewVC Help
Powered by ViewVC 1.1.20