Installing Gentoo

In 4 easy steps!

cfdisk /dev/sda && mkfs.ext2 /dev/sda1 && mkswap /dev/sda2 && mkfs.ext4 /dev/sda3

mount /dev/sda3 /mnt/gentoo && cd /mnt/gentoo && wget -http://gentoo.osuosl.org/releases/amd64/current-stage3/stage3-amd64-20100819.tar.bz2 && wget -c http://gentoo.osuosl.org/releases/snapshots/current/portage-latest.tar.bz2 && tar xvjpf stage3-*.tar.bz2 && tar xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr && mount /dev/sda1 /mnt/gentoo/boot && mount -t proc none /mnt/gentoo/proc && mount -o bind /dev /mnt/gentoo/dev && chroot /mnt/gentoo /bin/bash && env-update && source /etc/profile && export PS1="(chroot) $PS1"

mirrorselect -i -o >> /mnt/gentoo/etc/make.conf && mirrorselect -i -r -o >> /mnt/gentoo/etc/make.conf && nano -w /etc/make.conf && emerge --sync && cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime && emerge gentoo-sources && emerge genkernel && zcat /proc/config.gz > /usr/share/genkernel/arch/x86_64/kernel-config && genkernel all && nano -w /etc/fstab && nano -w /etc/conf.d/hostname && nano -w /etc/conf.d/clock && passwd && emerge syslog-ng vixie-cron slocate dhcpcd && rc-update add syslog-ng default && rc-update add vixie-cron default && emerge grub && ls /boot/kernel* /boot/initramfs*

nano -w /boot/grub/grub.conf && grub-install --no-floppy /dev/sda