/[gentoo]/xml/htdocs/doc/en/gentoo-x86-install.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-install.xml

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

Revision 1.120 Revision 1.121
1347 <p>Please note that <path>/usr/src/linux</path> is a symlink to your current emerged kernel source package, 1347 <p>Please note that <path>/usr/src/linux</path> is a symlink to your current emerged kernel source package,
1348 and is set automatically by Portage at emerge time. 1348 and is set automatically by Portage at emerge time.
1349 If you have multiple kernel source packages, it is necessary to set the <path>/usr/src/linux</path> symlink 1349 If you have multiple kernel source packages, it is necessary to set the <path>/usr/src/linux</path> symlink
1350 to the correct one before proceeding. 1350 to the correct one before proceeding.
1351 </p> 1351 </p>
1352<pre caption="Compiling the Linux Kernel"> 1352<pre caption="Configuring the Linux Kernel">
1353# <c>cd /usr/src/linux</c> 1353# <c>cd /usr/src/linux</c>
1354# <c>make menuconfig</c> 1354# <c>make menuconfig</c>
1355# <c>make dep &amp;&amp; make clean bzImage modules modules_install</c>
1356# <c>cp /usr/src/linux/arch/i386/boot/bzImage /boot</c>
1357</pre> 1355</pre>
1358 <warn>For your kernel to function properly, there are several options that you will 1356 <warn>For your kernel to function properly, there are several options that you will
1359 need to ensure are in the kernel proper -- that is, they should <i>be enabled and not 1357 need to ensure are in the kernel proper -- that is, they should <i>be enabled and not
1360 compiled as modules</i>. Be sure to enable &quot;ReiserFS&quot; if you have 1358 compiled as modules</i>. Be sure to enable &quot;ReiserFS&quot; if you have
1361 any ReiserFS partitions; the same goes for &quot;Ext3&quot;. If you're using XFS, enable the 1359 any ReiserFS partitions; the same goes for &quot;Ext3&quot;. If you're using XFS, enable the
1428 It is <comment>vital</comment> that a <e>gentoo=notmpfs</e> flag be added to the kernel 1426 It is <comment>vital</comment> that a <e>gentoo=notmpfs</e> flag be added to the kernel
1429 line in <path>/boot/grub/grub.conf</path> or to the append line in <path>/etc/lilo.conf</path> for the 2.2 kernel so 1427 line in <path>/boot/grub/grub.conf</path> or to the append line in <path>/etc/lilo.conf</path> for the 2.2 kernel so
1430 that a ramdisk is mounted for the boot scripts instead of tmpfs. If you choose not to use devfs, then 1428 that a ramdisk is mounted for the boot scripts instead of tmpfs. If you choose not to use devfs, then
1431 <e>gentoo=notmpfs,nodevfs</e> should be used instead. 1429 <e>gentoo=notmpfs,nodevfs</e> should be used instead.
1432 </note> 1430 </note>
1431
1432<pre caption = "Compiling and Installing the kernel">
1433# <c>make dep &amp;&amp; make clean bzImage modules modules_install</c>
1434# <c>cp /usr/src/linux/arch/i386/boot/bzImage /boot</c>
1435</pre>
1436
1433 <p>Your new custom kernel (and modules) are now installed. Now you need to choose a system 1437 <p>Your new custom kernel (and modules) are now installed. Now you need to choose a system
1434 logger that you would like to install. We offer sysklogd, which is the traditional set 1438 logger that you would like to install. We offer sysklogd, which is the traditional set
1435 of system logging daemons. We also have msyslog and syslog-ng as well as metalog. Power users seem 1439 of system logging daemons. We also have msyslog and syslog-ng as well as metalog. Power users seem
1436 to gravitate away from sysklogd (not very good performance) and towards the 1440 to gravitate away from sysklogd (not very good performance) and towards the
1437 newer alternatives. 1441 newer alternatives.
1589 </chapter> 1593 </chapter>
1590 <chapter> 1594 <chapter>
1591 <title>Setting your Hostname</title> 1595 <title>Setting your Hostname</title>
1592 <section> 1596 <section>
1593 <body> 1597 <body>
1594 <p>Edit this file so that it contains your fully-qualified domain name on a single line, 1598 <p>
1595 i.e. <c>mymachine.mydomain.com</c>. 1599 Edit <path>/etc/hostname</path> so that it contains your hostname
1596 </p> 1600 on a single line, i.e. <c>mymachine</c>.
1601 </p>
1597<pre caption="Configuring Hostname"> 1602<pre caption="Configuring Hostname">
1598# <c>echo mymachine.mydomain.com &gt; /etc/hostname</c> 1603# <i>echo mymachine &gt; /etc/hostname</i>
1604</pre>
1605 <p>
1606 Then edit <path>/etc/dnsdomainname</path> so that it contains your DNS
1607 domainname, i.e. <c>mydomain.com</c>.
1608 </p>
1609<pre caption="Configuring Domainname">
1610# <i>echo mydomain.com &gt; /etc/dnsdomainname</i>
1611</pre>
1612 <p>
1613 If you have a NIS domain, you should set it in
1614 <path>/etc/nisdomainname</path>.
1615 </p>
1616<pre caption="Configuring NIS Domainname">
1617# <i>echo nis.mydomain.com &gt; /etc/nisdomainname</i>
1599</pre> 1618</pre>
1600 </body> 1619 </body>
1601 </section> 1620 </section>
1602 </chapter> 1621 </chapter>
1603 <chapter> 1622 <chapter>

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.121

  ViewVC Help
Powered by ViewVC 1.1.20