Ich möchte mit dieser Seite beschreiben, wie man zu einem funktionierenden Gentoo-System kommt. Dies soll es vor allem später leichter machen, die Installation zu wiederholen. Dabei halte ich mich an die Vorgaben im Gentoo-Handbuch und in der Funtoo-Installationsanleitung.
wget http://ftp.heanet.ie/mirrors/funtoo/funtoo-stable/x86-64bit/core2_64/stage3-latest.tar.xz
mkdir /mnt/gentoo
mount /dev/sda6 /mnt/gentoo
tar xJpf /Pfad/zum/Download-Ordner/stable/stage3-latest.tar.xz -C /mnt/gentoo/
cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
env HOME=$HOME TERM=$TERM
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(funtoo) $PS1"
emerge --sync
cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
echo "Europe/Berlin" > /etc/timezone
eselect profile show
eselect profile list
eselect profile set-flavor 8
eselect profile add 10
# These settings were set by the metro build script that automatically built th$ # Please consult /etc/portage/make.conf.example for a more detailed example. CFLAGS="-march=core2 -O2 -pipe" CXXFLAGS="-march=core2 -O2 -pipe" MAKEOPTS="-j3" USE="qt4 kde" LINGUAS="de" VIDEO_CARDS="intel"
# uebernommen von Debian # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # ## / was on /dev/sda6 during installation UUID= 53660dce-ab64-4474-91d5-fcd3467583cb / ext4 errors=remount-ro 0 1 # /home was on /dev/sdb1 during installation UUID=16c81e37-e682-4c83-b338-4d7999687b66 /home ext3 defaults 0 2 # /mnt/Sicherung was on /dev/sda13 during installation UUID=8a8c77ac-e4c9-40a3-9707-7476a25333cd /mnt/Sicherung ext4 defaults 0 2 # swap was on /dev/sda1 during installation UUID=5a025e64-e1a5-47ac-b276-00878517cc14 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sdc1 /media/usb0 auto rw,user,noauto 0 0
hostname="SilentMaxx"
127.0.0.1 Funtoo-Galaxy
keymap="de" keymap="de-latin1" keymap="de-latin1-nodeadkeys"
de_DE.UTF-8 UTF-8 de_DE ISO-8859-1 de_DE@euro ISO-8859-15Locale erstellen:
locale-gen
LANG="de_DE.UTF-8" LC_COLLATE="C"
consolefont="lat9w-16"
alias mkalias='nano /etc/bash/bashrc' alias s_use='emerge --info | grep' alias mkconf='nano /etc/portage/make.conf' alias pk-use='nano /etc/portage/package.use' alias keywords='nano /etc/portage/package.accept_keywords' alias xdm-stop='/etc/init.d/xdm stop' alias xdm-start='/etc/init.d/xdm start' alias xdm-restart='/etc/init.d/xdm stop; /etc/init.d/xdm start' alias lxde-wm='nano /etc/xdg/lxsession/LXDE/desktop.conf' alias hs='history | grep' alias work='qlop -c' alias installiere='emerge -a --quiet-build' alias ckinstall='emerge -p' #Abschalten des Bildschirms verhindern setterm -powersave off setterm -powerdown 0
env-update && source /etc/profile
Section "InputClass" Identifier "keyboard-all" Driver "evdev" Option "XkbLayout" "de" #Option "XkbModel" "pc105" MatchIsKeyboard "on" EndSection
cat /proc/mounts > /etc/mtab
echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
emerge debian-sources
rc-update add dhcpcd default
passwd
exit
cd /
umount -l /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
reboot
ls -l /usr/src/linux
KERNEL_DIR=/usr/src/linux-debian-sources-3.10.11
KBUILD_OUTPUT=/Kernel/3.10.11
export KERNEL_DIR KBUILD_OUTPUT
emerge -a --quiet-build xorg-x11
eselect profile add 15
emerge -a --quiet-build kdebase-meta
rc-update add dbus default
DISPLAYMANAGER="kdm"
rc-update add xdm default
emerge -a --quiet-build kde-base/kde-l10n