PerlStalker's SysAdmin Notes and Tools | |
Home
/ Gentoo
|
Install Gentoo LinuxThis is a quick and dirty walk through. You should read the installation chapters of the Gentoo handbook before proceeding. Setup Network# modprobe eepro100 # net-setup eth0 Setup Hard Disk# fdisk /dev/hda # mke2fs /dev/hda1 # mkreiserfs /dev/hda3 # mkswap /dev/hda2 Prep Disks for Install# mount /dev/hda3 /mnt/gentoo # mkdir /mnt/gentoo/boot # mount /dev/hda1 /mnt/gentoo/boot # mkdir /mnt/gentoo/proc # mount -t proc none /mnt/gentoo/proc Setup the Stage 3 Tarball# cd /mnt/gentoo # links http://www.gentoo.org/main/en/mirrors/mirrors.xml Get stage3 from releases/x86/2004.1/stages/x86/stage3-x86-2004.1.tar.bz2 and the md5 checksum. Verify the tarball with md5sum ... # md5sum -c stage3-x86-2004.1.tar.bz2.md5 ... and unpack. (Make sure you are in /mnt/gentoo.) # tar -zvjpf stage3-*.tar.bz2 Setup Portage# nano -w etc/make.conf # mirrorselect -a -s4 -o >> etc/make.conf # chroot /mnt/gentoo /bin/bash # env-update # source /etc/profile # emerge sync Install the Kernel# ln -sf /usr/share/zoneinfo/MST7MDT /etc/localtime # emerge gentoo-dev-sources # cd /usr/src/linux # make menuconfig [config options here] # make && make modules_install # nano -w /etc/modules.autoload.d/kernel-2.6 [Add 'eepro100'] # modules-update ---- # fstab Setup Network# echo host > /etc/hostname # echo domain > /etc/dnsdomainname # rc-update add hostname default # rc-update add domainname default # nano -w /etc/conf.d/net Set the addressess as needed. Start up eth0 when the system starts. # rc-update add net.eth0 default Start up eth1 when the system starts, if needed. # cd /etc/init.d # ln -s net.eth0 net.eth1 # rc-update add net.eth0 default Modify /etc/hosts and /etc/rc.conf as needed. # nano -w /etc/hosts # nano -w /etc/rc.conf Install Grub# emerge -k grub # grub [conf grub] # nano -w /boot/grub/grub.conf [config] Add Additional System Utilities# emerge -k syslog-ng # rc-update add syslog-ng default # emerge -k vixie-cron # rc-update add vixie-cron default # emerge -k reiserfsprogs ... More to come. |
|
<perlstalker AT falconsroost.alamosa.co.us> |
|