Miło by było gdy by ktoś poprawił co nie co lub dodał, bo myślę że nie jednej początkującej osobie by się przydało.
Wykorzystawszy do tego wicd aby łączyć się z siecią bezprzewodową, ale wtedy trzeba usunąć z poziomu uruchomieniowego dhcp i net.wlan i net.eth.
Dodam że poniższy spis został wykonany na próbach i błędach, w trakcie instalacji systemu.
Fajnie było by jak by ktoś z guru dla testów wykonał instalację według opisu i w razie potrzeby napisał co należy zmienić.
I w związku z Wicd, nie jestem pewny czy nie lepiej użyć NetworkManagera, czy przypadkiem nie jest prostszy w konfiguracji. Ale jedno wiem że zawiera mniej pakietów do instalacji.
Code: Select all
sudo suCode: Select all
passwd1
Code: Select all
passwd gentoo1
Code: Select all
fdisk /dev/sdan
d
t
Code: Select all
mke2fs /dev/sda1Code: Select all
mke2fs -j /dev/sda3Code: Select all
mkswap /dev/sda2Code: Select all
swapon /dev/sda2Code: Select all
mount /dev/sda3 /mnt/gentooCode: Select all
mkdir /dev/sda3 /mnt/gentoo/bootCode: Select all
mount /dev/sda1 /mnt/gentoo/bootCode: Select all
cd /mnt/gentooCode: Select all
links www.gentoo.orgportage*tar.gz2 (nie trzeba ściągać portage, bo wpisując komendę emerge --sync instaluje nam się świerzutki portage)
Code: Select all
lsCode: Select all
tar -xvjpf stage3*Code: Select all
cd /Code: Select all
mount -t proc none /mnt/gentoo/procCode: Select all
mount -o bind /dev /mnt/gentoo/devCode: Select all
cp -L /etc/resolv.conf /mnt/gentoo/etcCode: Select all
chroot /mnt/gentoo /bin/bashCode: Select all
env-updateCode: Select all
source /etc/profileCode: Select all
cp /usr/share/zoneinfo/Europe/Warsaw /etc/localtimeCode: Select all
emerge --syncCode: Select all
emerge -av gentoo-sourcesCode: Select all
nano -w /etc/portage/make.conf# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
#w razie potrzeby
#ACCEPT_KEYWORDS=" ~amd64"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
LINGUAS="pl"
LANGUAGE="48"
Code: Select all
emerge -av gentoo-sourcesCode: Select all
eselect kernel list [2] linux-3.5.2-gentoo
Code: Select all
eselect kernel set 2Code: Select all
emerge -av hwinfoCode: Select all
emerge -av pciutilsCode: Select all
lspci -k Code: Select all
lsmodCode: Select all
lsusbCode: Select all
lspci -v Code: Select all
cd /usr/src/linuxCode: Select all
emerge -av genkernelCode: Select all
genkernel --menuconfig allcd /usr/src/linux
make menuconfig
time make -j2
make modules_install
cp arch/i386/boot/bzImage /boot/kernel
Code: Select all
cd /etcCode: Select all
nano -w fstab# /etc/fstab: static file system infomation.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/p$
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
Code: Select all
passwd1
Code: Select all
nano -w /etc/conf.d/hostnameCode: Select all
nano -w /etc/conf.d/clockCode: Select all
nano -w /etc/conf.d/keymapsCode: Select all
nano -w /etc/localtime#nano -w /etc/locale.gen
# pl_PL ISO-8859-2
# pl_PL.UTF-8 UTF-8
#Albo
Code: Select all
echo "en_US ISO-8859-1" > /etc/locale.genCode: Select all
echo "en_US.UTF-8 UTF-8" >> /etc/locale.genCode: Select all
echo "pl_PL ISO-8859-2" >> /etc/locale.genCode: Select all
echo "pl_PL.UTF-8 UTF-8" >> /etc/locale.genCode: Select all
echo "LC_ALL=pl_PL" >> /etc/env.d/99localCode: Select all
echo "LANG=pl_PL" >> /etc/env.d/99localCode: Select all
locale-gen Code: Select all
emerge -av syslog-ngCode: Select all
rc-update add syslog-ng defaultCode: Select all
emerge -av mlocateCode: Select all
emerge -av ufedCode: Select all
emerge -av dhcpcdCode: Select all
emerge -av linksCode: Select all
emerge -av udevCode: Select all
emerge -pv wicdCode: Select all
emerge -av ufedCode: Select all
nano -w /etc/portage/make.conf# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS=" ~amd64"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
USE=”-X -gtk -libnotify -nls -pm-utils -qt4”
VIDEO_CARDS=”noveau”
LINGUAS="pl"
LANGUAGE="48"
******w nowej konsoli na systemie live******
Code: Select all
su#nano -w /etc/rc.conf
# rc_hotplug=”!net.eth0 !net.wlan0”
#echo 'rc_hotplug=”!net.eth0 !net.wlan0”' >> /etc/rc.conf
Code: Select all
rc-update add net.lo defaultCode: Select all
rc-update add wicd default# dobrze jest sprawdzić czy mamy dbus w poziomie rc-update
Code: Select all
rc-update add dbus defaultCode: Select all
emerge grubCode: Select all
grep -v rootfs /proc/mounts > /etc/mtab# grub-install --no-floppy /dev/sda
# nano -w /boot/grub/grub.conf
# grub
# root (hd0,0)
# setup (hd0)
# quit
Code: Select all
cdCode: Select all
useradd maxim -m -G users,wheel,audio,portage,cdrom,usb -s /bin/bashCode: Select all
passwd maximCode: Select all
umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentooreboot
Code: Select all
emerge -pv xorg-x11Code: Select all
nano -w /etc/portage/make.conf# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS=" ~amd64"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
USE=”X gtk -libnotify -nls -pm-utils -qt4 gnome -python jack equalizer -spell”
VIDEO_CARDS=”noveau”
INPUT_DRIVERS=”mouse evdev keyboard synaptics”
LINGUAS="pl"
LANGUAGE="48"
Code: Select all
emerge -vpuD --newuse worldCode: Select all
time emerge -vuD --newuse worldCode: Select all
emerge -av xorg-serverCode: Select all
emerge -av twmCode: Select all
emerge -av xclockCode: Select all
emerge -av xtermCode: Select all
emerge -av gnome-lightCode: Select all
emerge -av xdmCode: Select all
rc-update add xdm defaultCode: Select all
emerge -av gdm Code: Select all
echo "exec gnome-session" > ~/.xinitrcDISPLAYMANAGER="gdm"
przykładowe pakiety jakie ja doinstalowałem [/code]
Code: Select all
emerge -av porthole Code: Select all
emerge -av gnome-alsamixerCode: Select all
emerge -av gnome-appletsCode: Select all
emerge -av gnome-power-managerCode: Select all
emerge -av gnome-system-monitorCode: Select all
emerge -av gnome-raw-thumbnailerCode: Select all
emerge -av gnome-backgroundsCode: Select all
emerge -av gnome-extrasCode: Select all
emerge -av gnome-icon-theme-extrasCode: Select all
emerge -av gnome-colors-themesCode: Select all
emerge -av gnome-thumbnailersCode: Select all
emerge -av libreofficeCode: Select all
emerge -av ffmpeg Code: Select all
emerge -av ffmpegthumbnailerCode: Select all
emerge -av ffmpegthumbs

