Gentoo Installation (for beginners like me)
Results 1 to 2 of 2

Thread: Gentoo Installation (for beginners like me)

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    11

    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

  2. #2
    Trumpet-Eared Gentoo Freak
    Join Date
    Jan 2003
    Posts
    992
    nice overview LB, but I'd still recommend people to follow the gentoo online handbook since some people still might not now what they've done after following list.
    Also they would be lucky if this one would work, cause this would mean they have an exact same system as you.

    For.example the nvidia specific compiles are not ok for ati cards. As logic as it seems, people still are too bloated to follow a tut blindly. but ok that would not be your fault

    Also I'd recommend too to use Xorg instead of Xfree, since xfree is not supported actively anymore by the gentoo community.

    Anyway it is an ok reference but you might wanna give the real url to the gentoo handbook to for people that meed more info on the install.
    Also I'd like to advise people to really carefully examine the /etc/make.conf step, cause it just might be the most important conf-file on a gentoo distro.

    Congratz on your new gentoo install, ya freak

    LB, one more thing to do for you

    Code:
    #emerge sync
    ...
    #emerge -u world
    Cheers and nice work.
    Come and check out our wargame-site @ http://www.rootcontest.org
    We chat @ irc.smdc-network.org #lobby

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •