Gentoo Linux AMD64 Handbook
Gentoo Linux AMD64 Handbook
Gentoo Linux AMD64 Handbook
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Gentoo</strong> <strong>Linux</strong> <strong>AMD64</strong> <strong>Handbook</strong><br />
Viewing the Current Partition Layout ...................................................... 27<br />
Optional: Setting the GPT Label ............................................................ 28<br />
Removing all Partitions ........................................................................ 28<br />
Creating the Partitions .......................................................................... 28<br />
Creating Filesystems .................................................................................... 29<br />
Introduction ........................................................................................ 29<br />
Filesystems ........................................................................................ 29<br />
Applying a Filesystem to a Partition ....................................................... 30<br />
Activating the Swap Partition ................................................................ 30<br />
Mounting ................................................................................................... 31<br />
5. Installing the <strong>Gentoo</strong> Installation Files ................................................................. 32<br />
Installing a Stage Tarball .............................................................................. 32<br />
Setting the Date/Time Right .................................................................. 32<br />
Making your Choice ............................................................................ 32<br />
Using a Stage from the Internet ..................................................................... 32<br />
Downloading the Stage Tarball .............................................................. 32<br />
Unpacking the Stage Tarball ................................................................. 33<br />
Configuring the Compile Options ................................................................... 34<br />
Introduction ........................................................................................ 34<br />
CFLAGS and CXXFLAGS ................................................................... 34<br />
MAKEOPTS ...................................................................................... 35<br />
Ready, Set, Go! .................................................................................. 35<br />
6. Installing the <strong>Gentoo</strong> Base System ...................................................................... 36<br />
Chrooting ................................................................................................... 36<br />
Optional: Selecting Mirrors ................................................................... 36<br />
Copy DNS Info .................................................................................. 36<br />
Mounting the necessary Filesystems ....................................................... 37<br />
Entering the new Environment ............................................................... 37<br />
Configuring Portage ..................................................................................... 37<br />
Unpacking a Portage Snapshot ............................................................... 37<br />
Optional: Updating the Portage tree ........................................................ 38<br />
Reading News Items ............................................................................ 38<br />
Choosing the Right Profile .................................................................... 38<br />
Configuring the USE variable ................................................................ 39<br />
Timezone ................................................................................................... 40<br />
7. Configuring the Kernel ..................................................................................... 41<br />
Installing the Sources ................................................................................... 41<br />
Choosing a Kernel ............................................................................... 41<br />
Default: Manual Configuration ...................................................................... 41<br />
Introduction ........................................................................................ 41<br />
Activating Required Options ................................................................. 42<br />
Compiling and Installing ...................................................................... 44<br />
(Optional) Building an Initramfs ............................................................ 44<br />
Alternative: Using genkernel ......................................................................... 45<br />
Kernel Modules .......................................................................................... 45<br />
Configuring the Modules ...................................................................... 45<br />
8. Configuring your System .................................................................................. 47<br />
Filesystem Information ................................................................................. 47<br />
What is fstab .................................................................................... 47<br />
Creating /etc/fstab ................................................................................ 47<br />
Networking Information ............................................................................... 48<br />
Host name, Domainname, etc ................................................................ 48<br />
Configuring your Network .................................................................... 49<br />
Automatically Start Networking at Boot .................................................. 50<br />
Writing Down Network Information ....................................................... 51<br />
Optional: Get PCMCIA Working ........................................................... 51<br />
System Information ..................................................................................... 51<br />
Root Password .................................................................................... 51<br />
iv