Please note that many of these questions are answered within the official Gentoo documents and guides. This is simply a list of common questions. Please read the documentation and/or man pages to gain a greater understanding of how Gentoo and GNU/Linux works, and for answers to questions which may not be answered here.
Gentoo uses a BSD ports-like system called
With Gentoo you can build your entire system from source, using your choice of
optimizations. You have complete control over what packages are or aren't
installed. Gentoo provides you with numerous choices, so you can install Gentoo
to your own preferences, which is why Gentoo is called a
Gentoo is actively developed. The entire distribution uses a rapid pace development style: patches to the packages are quickly integrated in the mainline tree, documentation is updated on daily basis, Portage features are added frequently, and official releases occur twice per year.
Don't bother using anything higher than
Please try to compile with CFLAGS
You can use
The command
# useradd -m -G users,audio,wheel username
This will add a user named "username". The option
For security reasons, users may only
# gpasswd -a username wheel
In fact, there is no difference between the various releases after they have
been installed. Gentoo 1.4 and later are
Also note that the
You don't need to redo every step of the installation, but investigating the
kernel and all associated steps is necessary. Suppose you have installed Gentoo
on
Boot from the Install CD and wait until you receive a prompt We first mount all partitions: # mount /dev/sda3 /mnt/gentoo # mount /dev/sda1 /mnt/gentoo/boot # swapon /dev/sda2 # mount -t proc none /mnt/gentoo/procThen we chroot into our Gentoo environment and configure the kernel: # chroot /mnt/gentoo /bin/bash # env-update && source /etc/profile # cd /usr/src/linux # make menuconfigNow (de)select anything you have (de)selected wrongly at your previous attempt. Then quit and compile your kernel: # make && make modules_installNow copy over your bzImage file, overwriting your previous one: # cp arch/i386/boot/bzImage /boot/<kernel_name>If you use LILO, rerun lilo -- GRUB users should skip this: # /sbin/liloNow exit the chroot and reboot. # exit # umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo # reboot
If, on the other hand, the problem lies with your bootloader configuration, follow the same steps, but instead of configuring/compiling your kernel, you should reconfigure your bootloader (recompilation isn't necessary).
To have Portage automatically use this scheme, define it in
http_proxy="http://username:password@yourproxybox.org:portnumber" ftp_proxy="ftp://username:password@yourproxybox.org:portnumber" RSYNC_PROXY="rsync://username:password@yourproxybox.server:portnumber"
You need to burn the file in raw mode. This means that you should
There are lots of CD burning tools available; covering them all would be a Sisyphean problem. However, describing a few popular tools never hurts:
First you need to find out what CPU you use. Suppose it's a Pentium-M. Then you
need to find out what CPU it is, instruction-wise, compatible with. You may
need to consult the CPU's vendor website for this, although
If you are uncertain, take a "lower" CD/stage file, for instance a i686 or even generic x86 (or the equivalent in your arch). This will ensure that your system will work, but may not be as fast as further optimizations.
Please note that many more options exist than those for which Gentoo builds
binary stages. Please see the
First you need to check if your network card is discovered properly by the
kernel. Run
If you have forgotten to include support for your network card in your kernel, you will need to reconfigure your kernel.
If your network card is found by your kernel, but you have set your networking
configuration to use DHCP, you might have forgotten to
Information on how to rescue your system using the installation CD is
This is a known problem. Windows refuses to boot when it isn't installed on the
first hard drive and shows a black/blank screen. To handle this, you will have
to "fool" Windows into believing that it is installed on the first hard drive
with a little tweak in your boot loader configuration. Please note that in the
below example, Gentoo is installed on
title Windows XP
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
chainloader +1
other=/dev/sdb1
label=WindowsXP
table=/dev/sdb
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
This will make Windows believe it is installed on the first hard drive and boot
without problems. More information can be found in the
The Gentoo Handbook only describes a Gentoo installation using a stage3 tarball. However, Gentoo still provides stage1 and stage2 tarballs. This is for development purposes (the Release Engineering team starts from a stage1 tarball to obtain a stage3) but shouldn't be used by users: a stage3 tarball can very well be used to bootstrap the system. You do need a working Internet connection.
Bootstrapping means building the toolchain (the C library and compiler) for
your system after which you install all core system packages. To bootstrap the
system, perform a stage3 installation. Before you start the chapter on
# cd /usr/portage/scripts # vi bootstrap.sh # ./bootstrap.sh
Next, rebuild all core system packages with the newly built toolchain. We need to rebuild them since the stage3 tarball already offers them:
# emerge -e system
Now you can continue with
Packages aren't "stored" per se. Instead, Gentoo provides a set of scripts
which can resolve dependencies, fetch source code, and compile a version of the
package specifically for your needs. We generally only build binaries for
releases and snapshots. The
For full ISO releases, we create a full suite of binary packages in an enhanced
It is possible to create RPMs (Redhat package manager files) using Gentoo's Portage, but it is not currently possible to use already existing RPMs to install packages.
Yes, but it is not trivial, nor is it recommended. Since the method to do this
requires a good understanding of Portage internals and commands, it is instead
recommended that you patch the ebuild to do whatever it is that you want and
place it in a Portage overlay (that's why overlays exist). This is
See the questions on
If you're behind a firewall that doesn't permit rsync traffic, then you can use
Definitely. You can run
Deleting these files will have no negative impact on day-to-day performance. However, it might be wise to keep the most recent version of the files; often several ebuilds will be released for the same version of a specific piece of software. If you have deleted the archive and you upgrade the software it will be necessary to download them from the internet again.
You can use the
During compilation, Gentoo saves the sources of the package in
Edit the
# /etc/init.d/keymaps restart # /etc/init.d/consolefont restart
# chmod 0644 /etc/resolv.conf
You need to add that user to the
If you work in command line, you only need to
Each GUI provides different tools for this sort of thing; please check the help section or online manuals for assistance.
To have your terminal cleared, add
$ echo clear >> ~/.bash_logout
If you want this to happen automatically when you add a new
user, do the same for the
# echo clear >> /etc/skel/.bash_logout
If your ReiserFS partition is corrupt, try booting the Gentoo Install CD and
run
Use our
Gentoo's packages are usually updated shortly after the main authors release
new code. As for when Gentoo itself makes new stage/profile/ISO releases, check
our
Console beeps can be turned off using setterm, like this:
# setterm -blength 0
If you would like to turn off the console beeps on boot, you need to put this
command in
# setterm -blength 0 >/dev/vc/1
You need to replace /dev/vc/1 with the terminal you would like to disable console beeps for.
The official Gentoo documentation can be found at
If you are not able to download and burn an installation CD yourself, you might find one through one of our licensed stores. However, most stores have dropped offering CDs and DVDs as these installation media quickly become obsolete.
You can find the licensed stores on our
A good first step is to browse through the relevant