kopiranje portage
tar xvjf /mnt/cdrom/snapshots/portage-20050709.tar.bz2 -C /mnt/gentoo/usr
zatim
mkdir /mnt/gentoo/usr/portage/distfiles
cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/
#env-update
#source /etc/profile
#export PS1="(chroot) $PS1"
#emerge --metadata
definiraj procesorske parametre
################# nano -w /etc/make.conf #####################
CHOST=“i686-pc-linux-gnu"
CFLAGS=”-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}“
USE=”-gtk -gnome qt java"
#############################################################
podesi svoju vremensku zonu
#ls /usr/share/zoneinfo
#ln -sf /usr/share/zoneinfo/Europe/Sarajevo /etc/localtime
Otpakuj linux-2.6.12.tar.bz2 u /var/tmp/portage/gentoo-sources-2.6.12-r10/work
USE="-doc symlink" emerge gentoo-sources
#ls -l /usr/src/linux
#emerge genkernel
samo za 2.6 kernel
#zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
#genkernel all
#ls /boot/kernel* /boot/initramfs*
#emerge coldplug
#rc-update add coldplug boot
edituj i dodaj mreznu karticu da se signe pri startu kante
nano -w /etc/modules.autoload.d/kernel-2.6
e1000
################### orginalni izgled /etc/fstab ###################################
/etc/fstab: static file system information.
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.
See the manpage fstab(5) for more information.
<dump/pass>
NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdc1 /boot ext2 noauto,noatime 1 2
/dev/sda1 / reiserfs noatime 0 1
/dev/sdb1 /usr reiserfs noatime 0 1
/dev/sdc1 /opt reiserfs noatime 0 1
/dev/hdc2 none swap sw 0 0
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
#/dev/fd0 /mnt/floppy auto noauto 0 0
NOTE: The next line is critical for boot!
#proc /proc proc defaults 0 0
glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
########################################################################################
######### novo ime kante #nano -w /etc/conf.d/hostname #################################
HOSTNAME=“kanta”
######### tvoj domain nano -w /etc/conf.d/domainname ###################################
DNSDOMAIN="mreza.net
########### podesavanje mrezne kartice #nano -w /etc/conf.d/net" #######################
config_eth0=( “192.168.1.8 netmask 255.255.255.0 brd 192.168.0.255” )
routes_eth0=( “default gw 192.168.1.1” )
#rc-update add net.eth0 default
cd /etc/init.d
ln -s net.eth0 net.eth1
rc-update add net.eth1 default
promijeni root lozinku i doadaj novoga korisnika
#echo “tts/0” >> /etc/securetty
#nano -w /etc/rc.conf podesi default editor kao i gui sucelje
#nano -w /etc/conf.d/keymaps podesi keymap
#emerge syslog-ng
#rc-update add syslog-ng default
#emerge vixie-cron
#rc-update add vixie-cron default
#emerge reiserfsprogs
#emerge grub
############# konfiguracija boot sektora # nano -w /boot/grub/grub.conf ###################
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Kanta Gentoo Linux
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.12-gentoo-r10 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev
initrd /boot/initramfs-genkernel-x86-2.6.12-gentoo-r10
#grep -v rootfs /proc/mounts > /etc/mtab
#grub-install /dev/hdc
#exit
#cd
#umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
#reboot
.
.
.
.
barca kresnula arsenal …
kanta poslije bootanja —> Operating system not found
nakdnadno odradjeno sa livecd:
mkdir /mnt/hda3
mount /dev/hda3 /mnt/hda3
chroot /mnt/hda3
mount /dev/hda1 /boot
slijepo pracene instrukcije sa http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-manual bez rezultta …
Any help will be wellcome.