Gentoo installation PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Bart Dorlandt   
Friday, 17 September 2004 15:36

Here you'll find some info about the installation of gentoo

hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda
mke2fs /dev/hda1
mke2fs -j /dev/hda3
 
mkswap /dev/hda2
swapon /dev/hda2
mount /dev/hda3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hda1 /mnt/gentoo/boot
 
\\ cd /mnt/gentoo
\\ tar -xvjpf /mnt/cdrom/stages/stage3-x86-2004.2.tar.bz2
\\ van fysieke systeem
 
nano -w /mnt/gentoo/etc/make.conf
    CFLAGS="-march=athlon-xp -pipe -O2"
    ...
    GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
    MAKEOPTS="-j2"
 
\\ volgende regel hoeft niet als je de gentoo mirror van hierboven er in zet.
\\mirrorselect -a -s4 -o | grep 'GENTOO_MIRRORS=' >> /mnt/gentoo/etc/make.conf
 
cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
\\ ook op fysiek systeem: chroot /mnt/gentoo /bin/bash
 
emerge sync
 
nano -w /etc/make.conf
    USE="-gtk -gnome qt kde unicode alsa cdr"
 
ln -sf /usr/share/zoneinfo/GMT /etc/localtime
emerge gentoo-dev-sources
 
cd /usr/src/linux
make menuconfig
 
make && make modules_install
 
cp arch/i386/boot/bzImage /boot/kernel-2.6.8
cp System.map /boot/System.map-2.6.8
cp .config /boot/config-2.6.8
# nano -w /etc/modules.autoload.d/kernel-2.6
modules-update
 
nano -w /etc/fstab
 
echo gentoo > /etc/hostname
echo clubje > /etc/dnsdomainname
rc-update add domainname default
 
nano -w /etc/conf.d/net
    iface_eth0="dhcp"
    dhcpcd_eth0="-HD"
 
rc-update add net.eth0 default
nano -w /etc/hosts
    127.0.0.1     gentoo.clubje gentoo localhost
 
echo "tts/0" >> /etc/securetty
emerge unmerge sysklogd
 
rm /etc/init.d/sysklogd
emerge metalog
 
rc-update add metalog default
emerge vixie-cron
 
rc-update add vixie-cron default
 
emerge grub
 
nano -w /boot/grub/grub.conf
default 0
timeout 15
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.26
root (hd0,0)
kernel /kernel-2.4.26 root=/dev/hda3
 
passwd
 
useradd bart -m -G users,wheel,audio,tty -s /bin/bash
passwd bart

Last Updated on Tuesday, 17 July 2007 14:24
 


Related items: