start bootstrapping: a) do: cd /usr/portage/scripts/ b) do. do portage tree update: emerge sync (do not update portage yet!) 3. use a template: cp /etc/ /etc/nf then edit as follows: a) customize the USE line: use option: param don't use option: -param exaple: USE=”X gtk2 alsa ssl -motif -gnome -kde -arts” - for a param-list see: USE Variables Index b) customize the CHOST line: i386-pc-linux-gnu Intel 80386DX i486-pc-linux-gnu Intel 80486DX i586-pc-linux-gnu Intel PI, AMD K5/ K6/K6-II/K6-III, VIA C3, IDT Winchip i686-pc-linux-gnu Intel PII/III/IV, AMD Duron/Sempron/Athlon-XP/MP x86_64-pc-linux-gnu AMD 64 c) customize the CFLAGS line: - use the flags -O3, -pipe and - march= matching your architecture: i386 Intel 80386DX+ i486 Intel 80486DX+ i586 AMD K5 i686 all equal to Intel Pentium Pro pentium Intel Pentium I without MMX pentium-mmx Intel Pentium I MMX pentiumpro Intel Pentium Pro pentium2 Intel Pentium II / Celeron 'Mendocino' pentium3 Intel Pentium III / Celeron 'Coppermine' pentium4 Intel Pentium IV / Celeron 'Willamette' prescott Intel Pentium IV / Celeron 'Prescott' nocona Intel Xeon 'Nocona' k6 AMD K6 k6-2 AMD K6-II k6-3 AMD K6-III athlon AMD Athlon athlon-tbird AMD Athlon 'Thunderbird' athlon-4 AMD mobile-Athlon4 athlon-xp AMD Sempron/Athlon XP athlon-mp AMD Athlon MP winchip-c6 IDT Winchip C6 winchip2 IDT Winchip 2 c3 VIA C3 - add all extensions supported by your CPU: -mmmx MMX -msse SSE -msse2 SSE2 -msse3 SSE3 -m3dnow 3DNow! d) uncomment the CXXFLAGS e) set MAKEOPTS to -j2 (read comments above) f) set PORTAGE_NICENESS to 19 (so it does not slowdown other processes) g) set AUTOCLEAN to yes (remove old versions) (optional) edit the FEATURES line so ccache is enabled 2. enter new environment: chroot /mnt/gentoo /bin/bash then: env-update & source /etc/profile Section 3: compiler options and bootstrapping the system 1. copy the DNS info: cp -L /etc/nf /mnt/gentoo/etc/ 5. move the stage1-file: mv stage1* /mnt/gentoo and decompress it with the command: tar -xvjpf stage1* 4. download latest stage1-file from: located inside: /releases/x86/2005.x/stages/x86/ (i recommend to copy the link and use: wget link in current directory) 3. create the boot folder: mkdir /mnt/gentoo/boot 8.create kernel interface: mkdir /mnt/gentoo/proc then: mount -o bind /proc /mnt/gentoo/proc Section 2: installing gentoo files 1. mount bootable partition: mount /dev/hd a2 /mnt/gentoo 7. apply filesystem to bootable partition: mkreiserfs /dev/hd a2 (here: first drive, second partition) 5. do: cfdisk and make a primary linux partition set it bootable and write then quit 4. do: usermod -d /root -m root and then: cd 3. boot the Knoppix CD and start a root-shell 2. On x86-System using Knoppix v1.0.0 Document by Autie Originally I have written this for myself, copy and modify freely! - #Gentoo channel activity on Undernet see: #Gentoo Undernet channel statistics - Gentoo docs see: All Gentoo documentation can be find here! - Usefull scripts see: Scripts! - Usefull docs see: My docs! Section 1: booting, creating partitions and filesystems Latest Knoppix-ISO see: Knoppix! Latest Gentoo-ISO see: Gentoo! 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |