-
February 1st, 2005, 02:35 PM
#1
Junior Member
Gentoo Installation (for beginners like me)
Looking for a bare linuxdistro I tried to install Gentoo (after using vidalinux for some time)
Here you find the steps i used to install Gentoo on my box... If you have remarks, don't hesitate to add it in here
Gentoo Installatie Guide on a PENTIUM 4 (by LittleBrother)
--------------------------------------------------------------------------
1. boot from the Gentoo CD
2. press enter --> 'livecd root #'
3. #loadkeys be-latin1 (Belgian Keyboard Layout)
4. #passwd
5. Check networkconnection :
#/sbin/ifconfig
Check DNS Server from your internetprovider
ping -c 3 www.google.be
(#nano -w /etc/resolv.conf)
when not configured automatical : net-setup eth0
manual dhcp-configuration : dhcpcd eth0
6. Set Date/time :
#date
7. Filesystem - Partitioning
# fdisk /dev/hda
When partitionlayout is made, make te filesystem :
#mke2fs -j /dev/hda1 (ext3)
#mkswap /dev/hda2 (swap)
#mke2fs -j /dev/hda3 (ext3)
#mke2fs -j /dev/hda4 (ext3)
8. Mount Partitions :
# swapon /dev/hda2
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
9. tarballs and chroot
# ls /mnt/cdrom/stages
# cd /mnt/gentoo
# tar -xvjpf /mnt/cdrom/stages/stage3-....tar.bz2
GRP/Snapshots
# tar -xvjpf /mnt/cdrom/snapshots/portage-yyyymmdd.tar.bz2 -C /mnt/gentoo/usr
Mirror Select
# mirror -a -s4 -o >> /mnt/gentoo/etc/make.conf
10. Chroot
# mount -t proc /proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env -update
# source /etc/profile
11. Gentoo optimalisation
# nano -w /etc/make.conf (when problems with make.conf : cp /etc/make.conf.example /etc/make.conf)
# fill in 'cflags="..."
# locate -u
12. Timezone
# ln -sf /usr/share/zoneinfo/Europe/Brussels /etc/localtime
13./etc/fstab
# nano -w /etc/fstab
14. Install Kernel en Syslogger
# emerge -s sources | more
# emerge gentoo-dev-sources
# emerge -k genkernel
# genkernel all
15. Install other important tools
# emerge -k hotplug
# rc-update add hotplug default
# emerge -l nvidia-kernel
# emerge -k app-admin/syslog-ng
# rc-update add syslog-ng default
# emerge -k sys-apps/dcron
# rc-update add dcron default
# crontab /etc/crontab
16. Compile other necessary packages
(when laptop : emerge -k sys-apps/pcmcia-cs)
17. Rootpasword
# passwd
18. Add user
# useradd 'xxxxxxxx' -m -G users,wheel,audio -s /bin/bash
# passwd 'xxxxxxx'
19. Set Hostname
# echo 'linuxbox' > /etc/hostname
# echo xxxxxxx.com > /etc/dnsdomainname
20. change /etc/hosts
# nano -w /etc/hosts
put behind localhost : 'xxxxxxx'
21. netwerkconfiguratie
# nano -w /etc/conf.d/net
when eth0 is automatic ip => iface_eth0 => dhcp
# rc-update add net.eth0 default
22. Configureren basicsettings
# nano -w /etc/rc.conf
23 configureBootloader
# emerge lilo
# nano -w /etc/lilo.conf
boot=/dev/hda
prompt
delay=50
default=gentoo
image=/boot/kernel-2.6.7-gentoo-r11
label=gentoo
read-only
root=/dev/hda3
#other=/dev/hde1
#label=Winxp
# /sbin/lilo
24. Basic packages :
# emerge -k xfree
25 Installation done!!!
# exit
# cd /
# umount /mnt/gentoo/boot
# /proc
# /dev
# umount /mnt/gentoo
# reboot (remove cd from CD-ROM)
26 After booting
# emerge -k xfree gnome kde mozilla openoffice-bin
# /usr/X11R6/bin/xf86config --> # xorgconfig
That should be all!!! Have fun!!!
update
http://www.gentoo.org/doc/en/handboo...x86.xml?full=1
-
February 1st, 2005, 02:47 PM
#2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|