After installing Gentoo Linux on a large enough number of computers, I decided to put together this brief checklist of the installation procedure, so that I won't have to walk through the entire Gentoo Installation Manual, but still won't risk forgetting one of the steps. I'm putting it up publicly for anyone else who may find it useful.
This installation procedure will get you a Stage 1 Gentoo x86 installation, and require Internet connectivity during the entire procedure. All URLs given point to the servers at the University of Dalarna in Sweden (where applicable), since they are fast (around 700 kB/s) for me. If you need a more local mirror, see Gentoo's mirror list.
Lengthy steps are highlighted, so that you know where to schedule video game breaks. ;-)
Please mail me any corrections.
I have actually not been using Gentoo for quite a while by the time of writing this notice (2008-06-05), so I do not know if it even works anymore. Still, I'm leaving it up in just case it works and someone is helped by it. If you instead want to follow my path, see my Debian Installation Checklist instead.
wget -O - ftp://ftp.du.se/pub/os/gentoo/releases/x86/2005.1/stages/x86/stage1-x86-2005.1.tar.bz2 | bzcat | tar x -C /mnt/gentoo
/usr in
the Gentoo filesytem. Quick command:
wget -O - ftp://ftp.du.se/pub/os/gentoo/snapshots/portage-yyyymmdd.tar.bz2 | bzcat | tar x -C /mnt/gentoo/usr
resolve.conf.
Quick commmand:
cp /etc/resolv.conf /mnt/gentoo/etc
/proc in Gentoo's prefix.chroot /mnt/gentoo /bin/bash env-update . /etc/profile
/etc/make.conf and set the
variables CHOST, CFLAGS (and
CXXFLAGS) and MAKEOPTS. These are my
defaults (but be wary of CHOST and the
-march flag):
CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe" MAKEOPTS="-j2"
USE flags. See
/usr/portage/profiles/use.desc and have
fun. You may use my askuse script.cd /usr/portage/scripts ./bootstrap.sh
emerge -Nva system
/etc/localtime.
Timezones are in /usr/share/zoneinfo.
boot runlevel.default runlevel./etc/modules.autoload.d/kernel-2.6.
A couple of tips:
pcspkr ide-cd snd-mixer-oss snd-pcm-oss
/etc/fstab. Easily forgotten
filesystems include /var/lib/nfs/rpc_pipefs,
/proc/fs/nfsd and
/dev/shm. /sys and
/proc/bus/usb need not be entered
manually./etc/conf.d/net. When in doubt, look at
/etc/conf.d/net.example.
/etc/init.d/net.* scripts
and add them to the default runlevel.root password./etc/rc.conf,
/etc/conf.d/rc,
/etc/conf.d/keymaps and
/etc/conf.d/clock.timeout and default
options. If you enjoy it, configure splashimage as
well. Sample config:
timeout 10
default 0
splashimage (hd0,0)/grub/splash.xpm.gz
title Gentoo Linux (Linux 2.6.11.9)
root (hd0,0)
kernel /vmlinuz-2.6.11.9 ro root=/dev/sda5
acpidaumixfamavahiiproute2nfs-utilsscreenxinetdypbind/etc/portage/package.use:
app-editors/emacs -motif media-sound/aumix -gtk -gtk2 net-mail/fetchmail -krb4 sys-libs/glibc nptlonly sys-libs/pam pam_console www-client/links -X x11-misc/xscreensaver -krb4
/etc/portage/package.keywords:
net-fs/nfs-utils ~x86 net-libs/nfsidmap ~x86
/etc/portage/bashrc:
source /etc/portage/bashrc.autopatch
/etc/portage/bashrc.autopatch