|
|
|
|
|
Getting Started:
First thing you need to get is the most current Live CD and boot up Set a Root Passwrod and start SSH for remote setup:
- passwd
- /etc/init.d/sshd start
now you can SSH in the computer, this is a lot easier because you can just copy and past the commands.
Starting the Setup
Setting up Hard Drive Partitions:
- fdisk /dev/hda
N, P, 1, Enter, +32M
N, P, 2, Enter, +512M
N, P, 3, Enter, Enter
A, 1
T, 2, 82
W
- mke2fs /dev/hda1
- mke2fs -j /dev/hda3
- mkswap /dev/hda2
- swapon /dev/hda2
- mount /dev/hda3 /mnt/gentoo
- mkdir /mnt/gentoo/boot
- mount /dev/hda1 /mnt/gentoo/boot
Downloading Setup Files:
Getting into you Gentoo Install:
- mirrorselect -i -o >> /mnt/gentoo/etc/make.conf
- cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
- mount -t proc none /mnt/gentoo/proc
- mount -o bind /dev /mnt/gentoo/dev
- chroot /mnt/gentoo /bin/bash
- env-update
- source /etc/profile
- emerge --sync
Preparing for the Kernel:
- ln -snf /usr/portage/profiles/default-linux/x86/2007.0 /etc/make.profile
- echo "USE=\"\"" >> /etc/make.conf
- cp /usr/share/zoneinfo/America/New_York /etc/localtime
- USE="-doc symlink" emerge gentoo-sources
- cd /usr/src/linux
- make menuconfig
- make && make modules_install
- cp arch//boot/bzImage /boot/kernel-2.6.23-r6
FStab:
- nano -w /etc/fstab
#
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
Setting up network:
- nano -w /etc/conf.d/hostname
- rc-update add net.eth0 default
Final System Setup:
- passwd
- nano -w /etc/conf.d/clock
CLOCK="local"
- emerge syslog-ng vixie-cron slocate dhcpcd ntp grub
- rc-update add syslog-ng default
- rc-update add vixie-cron default
- rc-update add ntp-client default
Setting up Grub:
Rebooting:
- exit
- cd
- reboot
- Hope and Pary
|
|
|
|
|
|
|