FunWiki : GentooHandbookCompact

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Gentoo Handbook: Compact edition


1. get latest Minimal Installation CD image, burn it and boot from it ... it's not really necessary, but it has all the tools and things that you'll need...
2. open the gentoo handbook http://www.gentoo.org/doc/en/handbook/index.xml ;-)

It's always best to follow the current handbook as it evolves togetger with the system... for example I didn't know there's no longer stage1/2 support

3. for remote acces set root password with passwd and run sshd by calling /etc/init.d/sshd start
4. fdisk /dev/hdx -> print delete new active(bootable), format size like this: +512M, layout: boot (32M), swap (??M), root
5. filesystem -> mke2fs (ext2), mke2fs -j (ext3), mkreiserfs ... /dev/hdx | swap: mkswap /dev/hdx, swapon /dev/...
6. mount /dev/hdx(root) /mnt/gentoo | mkdir /mnt/gentoo/boot | mount /dev/hdy(boot) /mnt/gentoo/boot
7. date MMDDhhmmYYYY
8. http://www.gentoo.org/main/en/mirrors.xml, get stage3 tarball (to /mnt/gentoo) / links <d>ownload <q>uit / md5sum -c stage...bz2.DIGESTS
8a. stage3: releases/x86/current/stages/
9. get latest portage | snapshots/portage-latest.tar.bz2
10. tar xvjpf stage3-*.tar.bz2 | tar xvjf /mnt/gentoo/portage-<date>.tar.bz2 -C /mnt/gentoo/usr
11. compile ops: /mnt/gentoo/etc/make.conf | http://gentoo-wiki.com/Safe_Cflags, http://gentoo-wiki.com/CFLAGS
12. cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf | mount -t proc none /mnt/gentoo/proc | mount -o bind /dev /mnt/gentoo/dev
13. chroot /mnt/gentoo /bin/bash | env-update | source /etc/profile | export PS1="(chroot) $PS1"
14. emerge --sync
15. the boring: pick USE flags... /etc/make.conf -> USE="kde qt gnome gtk java..." | Handbook: USE flags | http://www.gentoo.org/dyn/use-index.xml
16. set-up build locales: echo "sys-libs/glibc userlocales" >> /etc/portage/package.use | edit: /etc/locales.build
17. set timezone: cp /usr/share/zoneinfo/GMT /etc/localtime
18. USE="-doc symlink" emerge gentoo-sources (-doc avoids installing xorg, symlink creates link in /usr/src)
19. configure kernel: cd /usr/src/linux | make menuconfig
20. eh... why bother ...

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.5.3
Page was generated in 0.0308 seconds