Thursday, October 20, 2005

gentoo installation ,,

Hi all,
The installation of gentoo is sucking me ,,as people know that i am a big fan of debian but we have to use gentoo for official work. but finally i have install it .
here i am sending you some documentation of installation procedure.

1)install the base system through bootable Cdrom .
2)Create the partition using fdisk or cfdisk . Batter you create the patiotion using cfdisk and after that use mke2fs for creating the ext3 type.
#mke2fs -L boot /dev/hda1
3)mount root partition on /mnt/gentoo
4)mount all partition on like boot, home ,var but before you must be sure that you have make all dir in /mnt/gentoo after mounting the root.
5)copy of stage and portage form the cdrom and use following command.
copy stage3-i686-2004.3.tar.bz2..., portage-20050122.tar.bz2... along with the md5 signatures.
6). Verify md5sum -c stage3-i686-2004.3.tar.bz2.md5 ...
7). tar -xvjpf stage3-i686-2004.3.tar.bz2...
8). tar -xvjf portage-20050122.tar.bz2... -C /mnt/gentoo/usr
9)
cp -p /etc/resolv.conf /mnt/gentoo/etc/; vi /mnt/gentoo/etc/make.conf
CHROOTing to new environment
10. chroot /mnt/gentoo /bin/bash
11. env-update && source /etc/profile
12. passwd
13. emerge sync
14. ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
15. vi /etc/rc.conf and change CLOCK="local" from CLOCK="UTC". Also change EDITOR="/usr/bin/vim"
16. emerge -n genkernel grub gentoo-sources sysklogd vixie-cron reiserfsprogsiptables squid genlop gentoolkit esearch vim rcs ntpcoldplug hotplug logrotate slocate dhcp bind opensshmemtest86+ screen app-admin/sudo tripwire sysstat logwatch
17. ntpdate clock.redhat.com and hwclock --systohc
18. genkernel --menuconfig --save-config all
19. configure processor, netfilter, qos, ethernet driver,
ext3 /reiserfs posix access control list and Security Labels, Quota support
20. mkdir /etc/portage;
21. rc-update add coldplug boot; rc-update add hotplug default (sysklogd, vixie-cron, iptables, squid)
22. vi /etc/modules.autoload.d/kernel-2.6 (add rtl8139too sis900 ...); modules-update
23. vi /etc/fstab
24. echo proxy > /etc/hostname
25. echo homelinux.net > /etc/dnsdomainname
26. rc-update add domainname default
27. vi /etc/conf.d/net
28. rc-update add net.eth0 default
29. vi /etc/hosts
30. vi /boot/grub/grub.conf
cp /proc/mounts /etc/mtab
grub-install --root-directory=/boot /dev/hda
31. Alternately, grub> root (hd0,0)
Specify where your /boot partition resides),
grub> setup (hd0) (Install GRUB in the MBR),
grub> quit (Exit the GRUB shell)

and you can read the doc from the gentoo installation guide

Apenguin

2 comments:

Deepak said...

hi vakr
i am intestested but will take time ,
first i will do someting in coding .
ok ,,

Deepak said...

thanks kenya Dict to add my website ..

Thanks