Personal:Gentoo Install Notes

From Zoelife4U Wiki
Jump to: navigation, search

Contents

Gentoo 2008.0

jnbek's system info

I was running revdep-rebuild towards the end of this mess, hence the load, etc

jnbek@nehemiah9:~% perl /files/sysinfo.pl                 [08/24/08][22:09:49]
Hostname: nehemiah9 - 
OS: Linux 2.6.25-gentoo-r7/x86_64 - 
Distro: Gentoo 2.0.0 - CPU: 2 x AMD Athlon 64 X2 Dual Core 4000+ (2109.556 MHz) - 
Processes: 136 - 
Uptime: 22h 24m - 
Users: 3 - 
Load Average: 2.52 - 
Memory Usage: 373.46MB/937.06MB (39.85%) - 
Disk Usage: 16.95GB/227.91GB (7.44%)

My Installation Notes

My Nvidia LAN Card wasn't picked up so:

modprobe forcedeth

then make it load on every boot:

echo "forcedeth" > /etc/modules.autoload.d/kernel-2.6 
OK, it also might be a good idea to
 reboot 

So now, we go ahead and sync up the portage tree....

emerge --sync

Glibc is bugged on the Live CD

emerge glibc

Before doing anything thing else!!! Upgrade Python and then the programs that depend on it.

emerge python
python-updater

Install Kernel Sources and Nvidia Drivers

emerge Xxf86vm nvidia-drivers gentoo-sources genkernel nvidia-settings

Re do the portage and add layman to prevent later problems:

emerge portage layman

Added the following to /etc/portage/package.keywords

dev-python/compizconfig-python
x11-wm/compiz
x11-wm/compiz-fusion
x11-plugins/compiz-fusion-plugins-main
x11-plugins/compiz-fusion-plugins-extra
x11-plugins/compiz-fusion-plugins-unsupported
x11-wm/emerald
x11-themes/emerald-themes
x11-apps/ccsm
x11-libs/libcompizconfig
x11-libs/compizconfig-backend-gconf
x11-libs/compizconfig-backend-kconfig
x11-libs/compiz-bcop
www-client/mozilla-firefox ~amd64
net-libs/xulrunner ~amd64
dev-libs/nspr ~amd64
dev-libs/nss ~amd64

Then libmad caused problems with my emerge world so let's mask the evil version and also, every friggen thing will try and install Firefox 2.0, not a bad thing, but I'm used to Firefox 3, it's stable and I've got it working so we'll mask the 2.0 series as well. We'll explain how to make USE flags work to prevent installs/updates failing because of FF2 being masked. Throw is into /etc/portage/package.mask:


>=www-client/mozilla-firefox-2.0
>=media-libs/libmad-0.15.1b-r5

Rebuild the Kernel

genkernel --bootloader=grub all

And finally Install all the rest of my stuff:

emerge nfs-utils samba pidgin-libnotify pidgin-smileys k3b devede kde opera easytag amarok ipodslave aterm openoffice-bin mozilla-firefox mozilla-thunderbird vim gvim gftp zsnes mpg123 irssi w3m lynx perltidy wine cabextract lopster python Perl-Critic xscreensaver ncftp zip unzip unrar gzip htop deluge ctags wget damageproto dbus-glib bind-tools compiz-fusion grub-splashes grubconfig app-shells/zsh-completion app-shells/zsh xchat gtk-chtheme tightvnc


Caveats

Gvim, Irssi -> USE="-perl -libperl"
Avahi -> USE="mdnsresponder-compat"
Amarok -> USE="-ipv6"
Pam -> ReEmerge Flex
pyxf86config -> ReEmerge xorg-server
Ekiga -> revdep-rebuild
Gnome Session -> Emerge tcp-wrappers
For gajim, we'll need to recompile python with sqlite, and why the heck it wants, insists I should say, on installing Firefox 2.0.X when I have 3.0.1 is beyond me... but Gajim won't install otherwise, look I need it for Work :-P

USE="-firefox -gnome sqlite" emerge python gajim

Compiz Fusion and KDE

Emerging Cairo

Cairo needs to be built with the "glitz" and "svg" use flags. If it isn't already add "x11-libs/cairo glitz svg" to /etc/portage/package.use

echo "x11-libs/cairo glitz svg" >> /etc/portage/package.use

Now you can emerge cairo

emerge -1v cairo

Emerge

Now we emerge compiz-fusion in a specific order:

emerge -v1 compiz compiz-bcop emerald libcompizconfig compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-fusion-plugins-unsupported compizconfig-backend-kconfig compizconfig-backend-gconf compizconfig-python emerald-themes ccsm compiz-fusion

Now Add to /etc/X11/xorg.conf

Section "Extensions"
Option "Composite" "Enable"
EndSection

Configuring KDE

Make your own init that autostarts Compiz /home/$USER/.kde/Autostart/compiz-fusion

#!/bin/bash
/usr/bin/compiz-start

you can either place the run-time commands here or within the /usr/bin script, up to you. then you have to make it executable

chmod +x /home/$USER/.kde/Autostart/compiz-fusion

Next you must start CCSM so go to KDE: Applications - > Preferences - > CompizConfig Settings Manager (or try: KDE Menu -> Settings -> CompizConfig Settings Manager) and select options. In the box labeled 'command' enter:

kde-window-decorator --replace

what that is doing is kicking on the kde window decorator in case the init script /usr/bin/compiz-start doesnt figure out that you are running kde...supposedly. i get kde to start a handful of times fine and then i lose the titlebars, second installation.

Flash

Figures Flash would be a pain on Gentoo

I had to rebuild my kernel with these options set:

#
# Executable file formats / Emulations
#
...
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y 

Then recompile GCC and install nspluginwrapper:

USE="objc++" emerge gcc 

Next we gotta update our lib locations:

fix_libtool_files.sh 4.1

Then:

emerge nspluginwrapper

Now install flash plugin using nspluginwrapper (see the download section for getting the plugin):

nspluginwrapper --install /usr/lib32/nsbrowser/plugins/libflashplayer.so

In order to have sound working, you need to have emerged the sound libraries for emulation of 32bit x86 on amd64

emerge -av emul-linux-x86-soundlibs

KDE

EPIC FAIL, This Section is so FAIL!! but is left here case I ever get it working and I'll add the right stuff here then. I've always enjoyed KDE, so it's something to install, I initially wanted to try KDE 4 based on http://gentoo-wiki.com/KDE4 but the information is so outdated, none of it applied, once I got past all the changes from that page to the real paths, I was already digusted, so when I ran:

emerge --pretend \=kde-base/kde-meta-4.1.0

I ran into Mask hell!! EPIC FAIL!! I friggen hate that crap, I should be able to install whatever I want, they need to add a figgen -ignore-mask flag to emerge, after futzing with it for a while, I said screw it and deleted the overlay, I guess I'll wait until Gentoo thinks 4.1 is stable enough... bastards. I went ahead and ran:

emerge --pretend kde

but that said we had to uninstall a bunch of crap becuase of stupid blocks, portage needs an overwrite or ignore blocks flag...

emerge -C kdebase-kioslaves kfind libkonq khelpcenter kcminit kcontrol kwin kdesu kdebase-data kdialog konqueror kicker khotkeys

Now, I set some useful USE flags and let her rip:

USE="arts xinerama xscreensaver joystick" emerge -tv kdebase
USE="arts xinerama xscreensaver joystick" emerge -tv kdelibs
USE="xinerama arts qt3 dbus" emerge avahi kdnssd-avahi
USE="qt3" emerge poppler-bindings basket
USE="arts xinerama xscreensaver joystick" emerge -tv kde compizconfig-backend-kconfig

Mplayer Firefox Plugin

This was surprisingly easy...

USE="gtk divx gmedia quicktime wmp realmedia" emerge -vt mplayerplug-in

Restarted Firefox and BAM, it worked, the first time, I think this is the ONLY time that's ever happened ;-)

Java

Note: Epic Fail I usually don't use Java for much, but it's still nice to have if needed, of course there's 50 million steps to get it installed so let's get with it.
First we had to install x86 emulation and the x86 Java port:

USE="nsplugin" emerge emul-linux-x86-java

Create symlink to Java nsplugin

mkdir -p /usr/lib64/nsbrowser/plugins 
cd /usr/lib64/nsbrowser/plugins/
ln -s /opt/emul-linux-x86-java-1.6.0.03/plugin/i386/ns7/libjavaplugin_oji.so . 

Also, tuxguitar is in the overlay, YAYY I really like this application so we're going to emerge it also. First let's add to /etc/portage/package.keywords:

media-sound/tuxguitar ~amd64

Now build it:

emerge tuxguitar

GTK Stuff

GTK looks ugly under KDE, and gtk-engines-qt wouldn't compile so I had to get creative.

emerge qtcurve gtk-engines-qtcurve gentoo-artwork redhat-artwork gtk-chtheme gtk-engines-cleanice

Preparations for the first emerge --newuse --deep world

Next sys-libs/e2fsprogs-libs was being blocked by a few packages before an emerge world would complete but these are important ass files, so before removing them, download the e2fsprogs-libs source from sourceforge first http://sourceforge.net/project/showfiles.php?group_id=2406 get the -lib tarball and then put it in /usr/portage/distfiles/ I got lucky, I left Firefox open, it would not have started so have a browser open, in case something goes wrong!!!! So we remove those files, if we dare:

emerge -C sys-libs/com_err sys-libs/ss sys-libs/e2fsprogs 

Then install sys-libs/e2fsprogs-libs:

emerge sys-libs/e2fsprogs-libs

Now, a couple packages complained about not finding libgpg-error.a and for some strange reason it's gettext releated, so we rebuild libgpg-error without nls:

USE="-nls" emerge libgpg-error 

And, something else complains about sqlite and python, but gives us an out by installing:

emerge pysqlite-2

OK, so here's my /etc/make.conf thus far:

CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
# 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="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-gnome -firefox -sse2 firefox3 xinerama arts xscreensaver joystick qt3 dbus mmx sse sse2 X dbus gtk gnome hal avahi mdnsresponder-compat perl python -emacs -xemacs ipod mdnsresponder-compat scrobbler divx gmedia realmedia wmp xulrunner vim vim-with-x win32codecs matroska prediction qq gcj"
ACCEPT_KEYWORDS="~amd64"
AUTOCLEAN="yes"
NOCOLOR="false"
PORTDIR="/usr/portage"
MAKEOPTS="-j6"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay"

So here's what a --pretend looks like now:

# USE="firefox3" emerge --pretend --deep --newuse world                                                                                                 [08/23/08][1:46:15]

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/expat-2.0.1-r1 [2.0.1] 
[ebuild     U ] app-arch/lzma-utils-4.32.7 [4.32.6] 
[ebuild     U ] app-arch/bzip2-1.0.5-r1 [1.0.5] 
[ebuild     U ] sys-devel/autoconf-wrapper-5 [4-r3] 
[ebuild     U ] sys-apps/sandbox-1.2.18.1-r3 [1.2.18.1-r2] 
[ebuild     U ] dev-libs/gmp-4.2.3 [4.2.2] 
[ebuild     U ] dev-libs/libmowgli-0.7.0 [0.6.1] 
[ebuild     U ] dev-libs/fribidi-0.10.9 [0.10.7] 
[ebuild     U ] sys-fs/device-mapper-1.02.27 [1.02.22-r5] 
[ebuild     U ] net-wireless/bluez-libs-3.36 [2.25] USE="-debug%" 
[ebuild     U ] app-arch/cpio-2.9-r2 [2.9-r1] 
[ebuild     U ] sys-apps/sdparm-1.03 [1.02] 
[ebuild     U ] sys-libs/timezone-data-2008e [2008c] 
[ebuild     U ] net-print/foomatic-db-ppds-3.0.20080507 [3.0.20060720] 
[ebuild     U ] dev-libs/libevent-1.4.5 [1.4.4] 
[ebuild  N    ] media-libs/libdiscid-0.2.2  
[ebuild     U ] dev-libs/eventlog-0.2.7 [0.2.5] 
[ebuild     U ] media-sound/alsa-headers-1.0.17 [1.0.16] 
[ebuild     U ] net-dns/bind-tools-9.5.0_p2 [9.4.2_p2] 
[ebuild     U ] app-arch/unrar-3.8.2 [3.7.8] 
[ebuild     U ] net-analyzer/traceroute-2.0.11 [2.0.9-r1] 
[ebuild     U ] sys-kernel/linux-headers-2.6.26 [2.6.23-r3] 
[ebuild     U ] dev-libs/mpfr-2.3.1_p1 [2.2.1_p5] 
[ebuild     U ] media-libs/libpng-1.2.31 [1.2.26-r1] 
[ebuild     U ] media-libs/libvorbis-1.2.1_rc1-r1 [1.2.1_rc1] USE="aotuv%*" 
[ebuild     U ] sys-apps/pciutils-3.0.0 [2.2.7-r1] 
[ebuild     U ] dev-libs/libpcre-7.7-r1 [7.6-r1] 
[ebuild     U ] net-libs/librpcsecgss-0.18 [0.16] 
[ebuild  N    ] dev-libs/libassuan-1.0.4  
[ebuild     U ] sys-apps/debianutils-2.30 [2.28.2] 
[ebuild     U ] dev-perl/XML-Parser-2.36 [2.34-r1] 
[ebuild     U ] perl-core/Test-Simple-0.80 [0.70] 
[ebuild     U ] dev-lang/nasm-2.03.01 [0.98.39-r3] 
[ebuild     U ] dev-libs/libtasn1-1.4 [1.2] 
[ebuild     U ] perl-core/libnet-1.22 [1.21] 
[ebuild     U ] dev-perl/Compress-Raw-Zlib-2.012 [2.005] 
[ebuild     U ] dev-perl/List-MoreUtils-0.22 [0.21] 
[ebuild     U ] dev-perl/perltidy-20071205 [20070508] 
[ebuild     U ] perl-core/Test-Harness-3.13 [2.64] 
[ebuild     U ] dev-perl/yaml-0.66 [0.65] 
[ebuild     U ] dev-perl/B-Keywords-1.08 [1.06] 
[ebuild  N    ] dev-perl/Readonly-1.03  
[ebuild     U ] dev-perl/Class-Inspector-1.23 [1.17] USE="-test%" 
[ebuild  N    ] dev-perl/Class-Data-Inheritable-0.08  
[ebuild     U ] dev-perl/Task-Weaken-1.02 [1.01] 
[ebuild     U ] dev-perl/Clone-0.29 [0.23] 
[ebuild     U ] dev-util/intltool-0.37.1 [0.35.5] 
[ebuild     U ] virtual/perl-Test-Simple-0.80 [0.70] 
[ebuild     U ] virtual/perl-libnet-1.22 [1.21] 
[ebuild     U ] dev-perl/Config-Tiny-2.12 [2.10] 
[ebuild  N    ] perl-core/digest-base-1.15  
[ebuild     U ] dev-perl/URI-1.37 [1.35] 
[ebuild  N    ] virtual/perl-digest-base-1.15  
[ebuild  N    ] dev-perl/Digest-SHA1-2.11  
[ebuild  N    ] dev-perl/Digest-HMAC-1.01-r1  
[ebuild     U ] dev-perl/IO-Compress-Base-2.012 [2.005] 
[ebuild     U ] dev-perl/IO-Compress-Zlib-2.012 [2.005] 
[ebuild     U ] dev-perl/Compress-Zlib-2.012 [2.005] 
[ebuild     U ] dev-perl/IO-Zlib-1.09 [1.07] 
[ebuild     U ] dev-perl/Archive-Tar-1.38 [1.32] 
[ebuild     U ] dev-perl/PPI-1.203 [1.118] USE="-test%" 
[ebuild     U ] dev-perl/ExtUtils-CBuilder-0.23 [0.19] 
[ebuild     U ] dev-perl/Error-0.17.012 [0.17.008] USE="-test%" 
[ebuild  N    ] dev-perl/version-0.76  
[ebuild     U ] perl-core/File-Spec-3.2701 [3.25] 
[ebuild     U ] dev-perl/extutils-parsexs-2.19 [2.18] 
[ebuild     U ] virtual/perl-File-Spec-3.2701 [3.25] 
[ebuild  N    ] dev-perl/Devel-StackTrace-1.19  
[ebuild  N    ] dev-perl/Exception-Class-1.23  USE="-test" 
[ebuild     U ] dev-perl/Perl-Critic-1.090 [1.061] 
[ebuild     U ] sys-apps/sed-4.1.5-r1 [4.1.5] 
[ebuild     U ] dev-libs/popt-1.13 [1.10.7] 
[ebuild     U ] sys-apps/findutils-4.4.0 [4.3.11] 
[ebuild     U ] sys-devel/flex-2.5.35 [2.5.33-r3] 
[ebuild  N    ] app-emulation/emul-linux-x86-compat-20071125-r1  
[ebuild     U ] sys-devel/binutils-2.18-r3 [2.18-r1] 
[ebuild     U ] dev-libs/libmcs-0.7.1-r2 [0.6.0] 
[ebuild     U ] sys-auth/pambase-20080801 [20080318] USE="sha512%* -ssh%" 
[ebuild     U ] app-crypt/qca-1.0-r3 [1.0-r2] 
[ebuild     U ] media-libs/freetype-2.3.7 [2.3.6] USE="-bindist*" 
[ebuild     U ] app-admin/eselect-opengl-1.0.6-r1 [1.0.5] 
[ebuild     U ] app-emulation/emul-linux-x86-xlibs-20080810 [20080316] 
[ebuild     U ] app-emulation/emul-linux-x86-gtklibs-20080316 [20071214] 
[ebuild     U ] dev-util/ctags-5.7-r1 [5.7] 
[ebuild     U ] app-emulation/emul-linux-x86-soundlibs-20080810 [20080418] 
[ebuild     U ] app-emulation/emul-linux-x86-sdl-20080316 [20071121] 
[ebuild     U ] app-emulation/emul-linux-x86-medialibs-20080316 [20071114] 
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.26-r1 [2.6.25-r7] USE="-build -symlink" 
[ebuild     U ] sys-apps/man-1.6f-r2 [1.6e-r3] 
[ebuild  N    ] net-libs/xulrunner-bin-1.8.1.16  
[ebuild     U ] x11-misc/xdg-utils-1.0.2-r2 [1.0.2-r1] 
[ebuild     U ] www-client/mozilla-launcher-1.59 [1.58] 
[ebuild     U ] app-shells/bash-completion-20060301 [20050121-r10] 
[ebuild     U ] app-shells/gentoo-bashcomp-20080521 [20050516] 
[ebuild  N    ] app-text/acroread-8.1.2-r3  USE="cups ldap -minimal -nsplugin" LINGUAS="-da -de -en -es -fi -fr -it -ja -ko -nb -nl -pt -sv -zh_CN -zh_TW" 
[ebuild     U ] dev-perl/Authen-SASL-2.12 [2.10-r1] 
[ebuild     U ] net-print/foomatic-filters-ppds-20080507 [20070501] 
[ebuild     U ] sys-devel/libtool-2.2.4 [1.5.24] 
[ebuild     U ] media-libs/jpeg-6b-r8 [6b-r7] 
[ebuild     U ] sys-apps/sg3_utils-1.27 [1.25] 
[ebuild     U ] media-libs/tiff-3.8.2-r3 [3.8.2-r2] 
[ebuild     U ] sys-devel/autoconf-2.62-r1 [2.61-r1] 
[ebuild     U ] media-libs/fontconfig-2.6.0-r2 [2.5.0-r1] 
[ebuild     U ] media-libs/libmng-1.0.10 [1.0.9-r1] 
[ebuild     U ] media-libs/libsamplerate-0.1.4 [0.1.2-r1] 
[ebuild  N    ] x11-libs/compizconfig-backend-kconfig-0.6.0  USE="arts xinerama -debug" 
[ebuild   R   ] x11-wm/compiz-fusion-0.6.0  USE="kde*" 
[ebuild     U ] sys-devel/automake-1.10.1-r1 [1.10.1] 
[ebuild     U ] x11-misc/util-macros-1.1.6-r1 [1.1.5] 
[ebuild     U ] sys-apps/dbus-1.2.3 [1.1.20] 
[ebuild     U ] app-crypt/mit-krb5-1.6.3-r2 [1.6.3-r1] 
[ebuild  NS   ] sys-libs/db-4.6.21_p3-r1 [4.3.29-r2, 4.5.20_p2] USE="-bootstrap -doc -java -nocxx -tcl -test" 
[ebuild     U ] media-libs/libmad-0.15.1b-r5 [0.15.1b-r2] 
[ebuild     U ] dev-libs/libgcrypt-1.4.1 [1.4.0-r1] USE="-bindist*" 
[ebuild     U ] sys-apps/attr-2.4.43 [2.4.39] 
[ebuild     U ] media-libs/audiofile-0.2.6-r4 [0.2.6-r3] 
[ebuild     U ] media-libs/a52dec-0.7.4-r6 [0.7.4-r5] 
[ebuild     U ] dev-libs/libcdio-0.80 [0.78.2-r4] USE="cxx%*" 
[ebuild     U ] media-libs/libtheora-1.0_beta3-r1 [1.0_beta2-r1] 
[ebuild     U ] media-sound/cdparanoia-3.10.0 [3.10_pre2] 
[ebuild     U ] dev-libs/libusb-0.1.12-r4 [0.1.12-r1] USE="-nocxx%" 
[ebuild     U ] sys-apps/shadow-4.1.2.1 [4.0.18.1-r1] USE="-audit%" 
[ebuild     U ] net-dns/libidn-1.9 [1.5-r1] 
[ebuild     U ] sys-libs/db-4.5.20_p2-r1 [4.5.20_p2] 
[ebuild     U ] media-libs/libdca-0.0.5-r2 [0.0.5] 
[ebuild     U ] media-libs/libmodplug-0.8.4-r3 [0.8.4-r2] 
[ebuild     U ] media-libs/libmpcdec-1.2.6-r2 [1.2.6] 
[ebuild     U ] net-libs/libpcap-0.9.8-r1 [0.9.8] 
[ebuild     U ] x11-proto/xproto-7.0.13 [7.0.10] 
[ebuild     U ] x11-proto/xextproto-7.0.3 [7.0.2] 
[ebuild     U ] x11-proto/randrproto-1.2.2 [1.2.1] 
[ebuild     U ] x11-proto/renderproto-0.9.3 [0.9.2] 
[ebuild     U ] x11-proto/xf86driproto-2.0.4 [2.0.3] 
[ebuild     U ] x11-proto/inputproto-1.4.3-r1 [1.4.2.1] 
[ebuild     U ] sys-apps/acl-2.2.47 [2.2.45] 
[ebuild     U ] sys-libs/gdbm-1.8.3-r4 [1.8.3-r3] 
[ebuild     U ] x11-libs/libxkbfile-1.0.5 [1.0.4] 
[ebuild     U ] x11-libs/xtrans-1.2.1 [1.0.4] 
[ebuild     U ] x11-libs/pixman-0.11.8 [0.10.0] USE="mmx%* sse%* sse2%* (-altivec)" 
[ebuild     U ] sys-libs/libcap-2.11 [1.10-r11] USE="pam%*" 
[ebuild     U ] sys-apps/usbutils-0.73 [0.72-r4] USE="zlib%*" 
[ebuild     U ] x11-proto/printproto-1.0.4 [1.0.3] 
[ebuild     U ] x11-apps/xprop-1.0.4 [1.0.3] 
[ebuild     U ] x11-apps/xrdb-1.0.5 [1.0.4] 
[ebuild     U ] media-libs/libmpeg3-1.7 [1.5.2-r3] 
[ebuild     U ] sys-fs/cryptsetup-1.0.6 [1.0.5-r1] 
[ebuild     U ] net-libs/gnutls-2.5.4 [2.2.5] USE="-bindist*" 
[ebuild     U ] x11-apps/xset-1.0.4 [1.0.3] 
[ebuild     U ] x11-wm/twm-1.0.4 [1.0.3] 
[ebuild     U ] x11-apps/luit-1.0.3 [1.0.2] 
[ebuild     U ] sys-apps/slocate-3.1-r2 [2.7-r8] 
[ebuild     U ] x11-libs/libXext-1.0.4 [1.0.3] 
[ebuild     U ] x11-libs/libXrender-0.9.4 [0.9.2] 
[ebuild     U ] x11-apps/mkfontscale-1.0.5 [1.0.3] 
[ebuild     U ] x11-apps/xkbcomp-1.0.5 [1.0.3] 
[ebuild     U ] x11-apps/rgb-1.0.3 [1.0.1] 
[ebuild     U ] x11-libs/libXfont-1.3.3 [1.3.1-r1] 
[ebuild  N    ] x11-misc/makedepend-1.0.1  USE="-debug" 
[ebuild     U ] net-misc/rsync-3.0.3 [2.6.9-r6] USE="iconv%* -xattr%" 
[ebuild     U ] x11-libs/libXinerama-1.0.3 [1.0.2] 
[ebuild     U ] x11-libs/libXrandr-1.2.3 [1.2.2] 
[ebuild     U ] x11-libs/libXft-2.1.13 [2.1.12] 
[ebuild     U ] x11-libs/libXv-1.0.4 [1.0.3] 
[ebuild     U ] x11-apps/mkfontdir-1.0.4 [1.0.3] 
[ebuild     U ] x11-libs/libXxf86vm-1.0.2 [1.0.1] 
[ebuild     U ] x11-libs/libXScrnSaver-1.1.3 [1.1.2] 
[ebuild     U ] x11-apps/xauth-1.0.3 [1.0.2] 
[ebuild     U ] x11-misc/xkeyboard-config-1.3 [1.1] 
[ebuild     U ] media-libs/mesa-7.0.3 [6.5.2-r1] USE="(-nptl*)" 
[ebuild     U ] media-fonts/corefonts-1-r4 [1-r2] 
[ebuild     U ] x11-apps/xrandr-1.2.3 [1.2.2] 
[ebuild     U ] x11-terms/xterm-236 [229] 
[ebuild     U ] x11-apps/xdpyinfo-1.0.3 [1.0.2] USE="xinerama*" 
[ebuild   R   ] app-pda/ipodslave-0.7.3  USE="arts* xinerama*" 
[ebuild     U ] kde-misc/kdiff3-0.9.92-r1 [0.9.92] USE="xinerama*" 
[ebuild     U ] x11-apps/mesa-progs-7.0.3 [6.5.2] 
[ebuild     U ] net-www/netscape-flash-10_beta20080811 [9.0.124.0] 
[ebuild     U ] dev-libs/openssl-0.9.8h-r1 [0.9.8g-r2] 
[ebuild     U ] mail-mta/ssmtp-2.62-r1 [2.61-r2] 
[ebuild     U ] net-misc/rdesktop-1.6.0-r1 [1.6.0] USE="-pcsc-lite%" 
[ebuild     U ] dev-perl/Net-SSLeay-1.35 [1.30] 
[ebuild     U ] net-misc/wget-1.11.4 [1.11.1] 
[ebuild     U ] dev-lang/ruby-1.8.6_p287 [1.8.6_p114] USE="ipv6*" 
[ebuild     U ] dev-util/git-1.5.6.5 [1.5.6.4] 
[ebuild     U ] app-crypt/qca-tls-1.0-r4 [1.0-r3] 
[ebuild     U ] dev-perl/IO-Socket-SSL-1.13 [1.12] 
[ebuild     U ] dev-libs/glib-2.16.5 [2.16.3-r1] 
[ebuild     U ] dev-util/desktop-file-utils-0.15 [0.14] 
[ebuild     U ] gnome-base/libgtop-2.22.3 [2.22.2] 
[ebuild     U ] app-admin/syslog-ng-2.0.9 [2.0.6] 
[ebuild     U ] x11-libs/gtk+-2.12.11 [2.12.10-r1] USE="xinerama*" 
[ebuild     U ] gnome-base/gnome-keyring-2.22.3 [2.22.2] 
[ebuild     U ] gnome-base/gail-1.22.3 [1.20.2] 
[ebuild   R   ] x11-wm/metacity-2.22.0  USE="xinerama*" 
[ebuild  N    ] xfce-base/xfce-mcs-manager-4.4.2  USE="-debug" 
[ebuild     U ] net-misc/tsclient-0.150 [0.148] 
[ebuild     U ] media-sound/easytag-2.1.6 [2.1.5] 
[ebuild     U ] net-dialup/ppp-2.4.4-r21 [2.4.4-r15] 
[ebuild     U ] dev-libs/libxml2-2.6.32-r1 [2.6.32] 
[ebuild     U ] dev-libs/dbus-glib-0.76 [0.74] 
[ebuild     U ] x11-libs/cairo-1.6.4-r1 [1.6.4] 
[ebuild     U ] x11-misc/shared-mime-info-0.40 [0.22-r1] 
[ebuild     U ] net-misc/neon-0.28.2 [0.26.4] USE="-doc% -gnutls% -pkcs11% -socks5*" LINGUAS="-cs% -de% -fr% -ja% -nn% -pl% -ru% -tr% -zh_CN%" 
[ebuild     U ] media-libs/netpbm-10.43.00 [10.40.0] 
[ebuild     U ] sys-auth/consolekit-0.2.10 [0.2.3] 
[ebuild  NS   ] media-libs/musicbrainz-3.0.1 [2.1.4] USE="-test" 
[ebuild   R   ] x11-themes/gtk-engines-qtcurve-0.59.7-r1  USE="firefox3*" 
[ebuild     U ] dev-util/subversion-1.5.1 [1.4.6] USE="dso%* webdav-neon%* -sasl% -webdav-serf%" 
[ebuild     U ] x11-apps/xinit-1.0.8-r3 [1.0.5-r1] 
[ebuild     U ] dev-lang/python-2.5.2-r7 [2.5.2-r6] USE="-sqlite*" 
[ebuild     U ] gnome-base/libglade-2.6.3 [2.6.2] 
[ebuild     U ] media-libs/alsa-lib-1.0.17-r1 [1.0.16] USE="python%*" ALSA_PCM_PLUGINS="mmap_emul%*" 
[ebuild     U ] app-text/iso-codes-3.2 [1.5] 
[ebuild     U ] dev-python/pyrex-0.9.8.4 [0.9.4.1] USE="-examples%" 
[ebuild  N    ] dev-python/setuptools-0.6_rc8-r1  
[ebuild     U ] dev-python/sip-4.7.6 [4.7.3] 
[ebuild     U ] sys-apps/file-4.25 [4.23] 
[ebuild     U ] dev-util/boost-build-1.35.0-r1 [1.34.1] USE="-examples%" 
[ebuild     U ] x11-proto/xcb-proto-1.2 [1.0] 
[ebuild     U ] net-analyzer/nmap-4.68 [4.20] USE="-lua%" 
[ebuild     U ] app-portage/layman-1.2.0-r1 [1.1.1] USE="-git% -subversion%" 
[ebuild     U ] app-portage/gentoolkit-0.2.4_rc5 [0.2.3-r1] 
[ebuild     U ] dev-java/java-config-2.1.6-r1 [2.1.6] 
[ebuild     U ] media-sound/esound-0.2.39 [0.2.38-r1] 
[ebuild     U ] dev-python/dbus-python-0.83.0 [0.80.2] 
[ebuild     U ] dev-libs/boost-1.35.0-r1 [1.34.1-r2] USE="-expat% -mpi%" 
[ebuild     U ] media-libs/libquicktime-1.0.3 [1.0.2] USE="-doc%" 
[ebuild     U ] x11-libs/libxcb-1.1.90.1 [1.0] USE="-doc% (-selinux)" 
[ebuild     U ] x11-terms/gnome-terminal-2.22.3-r1 [2.22.3] 
[ebuild     U ] x11-misc/xscreensaver-5.06 [5.05] USE="xinerama*" 
[ebuild     U ] dev-python/pyopengl-3.0.0_beta1 [2.0.0.44] USE="-doc% -tk%" 
[ebuild     U ] media-libs/libsdl-1.2.13 [1.2.11-r2] USE="arts* xinerama* -pulseaudio%" 
[ebuild   R   ] media-libs/libao-0.8.8  USE="arts*" 
[ebuild     U ] net-p2p/deluge-1.0.0_rc6 [0.5.9.1] USE="gtk%*" 
[ebuild     U ] media-sound/mpg123-1.5.0 [1.3.1] USE="arts* ipv6%* -network%" 
[ebuild     U ] games-emulation/zsnes-1.51-r2 [1.51-r1] 
[ebuild   R   ] sys-libs/ncurses-5.6-r2  USE="(-bootstrap%) (-build%)" 
[ebuild     U ] net-nds/openldap-2.3.43 [2.3.41] 
[ebuild     U ] sys-apps/texinfo-4.12 [4.8-r5] 
[ebuild     U ] media-sound/lame-3.98 [3.97-r1] USE="(-mmx) -sndfile%" 
[ebuild     U ] app-shells/bash-3.2_p39 [3.2_p33] USE="-examples%" 
[ebuild     U ] sys-libs/gpm-1.20.5 [1.20.1-r6] 
[ebuild     U ] sys-apps/coreutils-6.12-r1 [6.10-r1] 
[ebuild     U ] app-editors/nano-2.1.4 [2.0.6] 
[ebuild     U ] net-misc/netkit-rsh-0.17-r9 [0.17-r8] 
[ebuild   R   ] net-irc/irssi-0.8.12  USE="perl*" 
[ebuild     U ] sys-process/htop-0.8-r1 [0.7] USE="unicode%*" 
[ebuild     U ] sys-boot/grub-0.97-r6 [0.97-r4] USE="ncurses%*" 
[ebuild     U ] sys-libs/readline-5.2_p12-r1 [5.2_p7] 
[ebuild     U ] app-text/aspell-0.60.6 [0.60.5] 
[ebuild  N    ] sys-fs/e2fsprogs-1.41.0  USE="nls" 
[ebuild     U ] app-misc/ca-certificates-20080809 [20070303-r1] 
[ebuild     U ] media-video/ffmpeg-0.4.9_p20080326 [0.4.9_p20070616] USE="ipv6%* mp3%* -bindist% -hardcoded-tables%" 
[ebuild     U ] net-misc/openssh-5.1_p1 [4.7_p1-r6] 
[ebuild     U ] app-admin/sudo-1.6.9_p17 [1.6.9_p16] 
[ebuild     U ] media-video/mplayer-1.0_rc2_p27458 [1.0_rc2_p26753] USE="arts* joystick* xinerama* -custom-cpuopts% -dirac% -dxr2% -dxr3% -pvr% -schroedinger%" 
[ebuild     U ] app-admin/perl-cleaner-1.05 [1.04.3] 
[ebuild     U ] media-sound/sox-14.1.0 [14.0.1] USE="png%* -wavpack%" 
[ebuild     U ] dev-util/dialog-1.1.20080727 [1.1.20070704] USE="nls%*" 
[ebuild     U ] net-libs/libnfsidmap-0.21 [0.19] 
[ebuild     U ] x11-libs/libSM-1.1.0 [1.0.3] 
[ebuild     U ] net-misc/curl-7.18.2 [7.17.1] USE="-libssh2%" 
[ebuild     U ] app-text/hunspell-1.2.7 [1.1.9] USE="nls%*" 
[ebuild     U ] sys-apps/util-linux-2.14 [2.13.1.1] 
[ebuild     U ] sys-devel/gdb-6.8-r1 [6.7.1-r3] USE="-multitarget%" 
[ebuild     U ] media-gfx/imagemagick-6.4.2.9 [6.3.5.10] USE="openmp%* svg%* -djvu% -fontconfig%" 
[ebuild     U ] app-text/enchant-1.4.2 [1.3.0] USE="hunspell%* -aspell% -zemberek%" 
[ebuild     U ] sys-apps/groff-1.19.2-r3 [1.19.2-r1] 
[ebuild     U ] media-libs/libmpeg2-0.5.1 [0.4.1] 
[ebuild     U ] net-fs/nfs-utils-1.1.3 [1.1.0-r1] 
[ebuild     U ] www-client/opera-9.52 [9.51] 
[ebuild     U ] media-sound/grip-3.3.1-r1 [3.3.1] 
[ebuild  N    ] xfce-base/xfce-mcs-plugins-4.4.2-r1  USE="-debug" 
[ebuild     U ] app-shells/zsh-4.3.6 [4.3.4-r1] 
[ebuild     U ] media-video/dvdauthor-0.6.14 [0.6.11] 
[ebuild     U ] app-text/gtkspell-2.0.13 [2.0.11-r1] 
[ebuild     U ] net-irc/xchat-2.8.6-r1 [2.8.4-r3] USE="-xft%" 
[ebuild     U ] app-shells/zsh-completion-20080310 [20060618] 
[ebuild     U ] media-video/devede-3.9 [3.6] 
[ebuild     U ] app-editors/vim-core-7.2 [7.1.319] 
[ebuild     U ] app-editors/vim-7.2 [7.1.123] USE="vim-with-x*" 
[ebuild     U ] app-editors/gvim-7.2 [7.1.319] USE="perl*" 
[ebuild     U ] app-vim/gentoo-syntax-20080717-r1 [20070506] 
[ebuild   R   ] gnome-base/gnome-vfs-2.22.0  USE="ipv6*" 
[ebuild     U ] gnome-extra/evolution-data-server-2.22.3 [2.22.2] 
[ebuild   R   ] mail-client/mozilla-thunderbird-2.0.0.16  USE="xinerama*" 
[ebuild     U ] media-libs/xine-lib-1.1.15-r1 [1.1.13] USE="arts* xinerama* (-vis)" 
[ebuild   R   ] net-libs/xulrunner-1.8.1.16  USE="gnome*" 
[ebuild     U ] net-im/pidgin-2.5.0 [2.4.3] USE="prediction* qq*" 
[ebuild     U ] x11-themes/pidgin-smileys-20080819 [20071023-r2] 
[ebuild     U ] net-print/cups-1.3.8-r1 [1.2.12-r8] USE="acl%* avahi%* kerberos%* perl%* python%* -gnutls% -java% -static% -xinetd% -zeroconf%" LINGUAS="-de% -en% -es% -et% -fr% -he% -id% -it% -ja% -pl% -sv% -zh_TW%" 
[ebuild     U ] app-text/ghostscript-gpl-8.63 [8.61-r3] USE="cairo%* -bindist* -jpeg2k%" 
[ebuild     U ] net-fs/samba-3.0.31 [3.0.28a-r1] USE="-debug% -oav%" 
[ebuild     U ] app-emulation/wine-1.1.3 [0.9.61] 
[ebuild     U ] net-print/foomatic-filters-3.0.20080507 [3.0.20060720] 
[ebuild     U ] sys-libs/glibc-2.8_p20080602 [2.6.1] USE="-glibc-compat20%" 
[ebuild     U ] app-crypt/gnupg-2.0.9 [2.0.7-r1] 
[ebuild  NS   ] sys-devel/gcc-4.3.1-r1 [4.1.2] USE="fortran gtk mudflap (multilib) nls openmp (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -libffi -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 
[ebuild     U ] media-video/transcode-1.0.6 [1.0.5-r3] 
[ebuild     U ] dev-libs/boehm-gc-7.1 [6.8] 
[ebuild     U ] www-client/w3m-0.5.2-r2 [0.5.2-r1] 
[ebuild     U ] app-cdr/k3b-1.0.5-r3 [1.0.4] USE="arts* xinerama*" 
[ebuild     U ] sys-apps/module-init-tools-3.4-r1 [3.4] 
[ebuild     U ] media-sound/alsa-utils-1.0.17 [1.0.16] USE="-minimal%" 
[ebuild     U ] gnome-base/nautilus-2.22.5.1-r1 [2.22.5.1] USE="-tracker%" 
[ebuild     U ] x11-libs/gksu-2.0.0-r1 [2.0.0] 
[ebuild   R   ] gnome-base/gdm-2.20.7  USE="ipv6* xinerama*" 
[ebuild     U ] x11-drivers/nvidia-drivers-173.14.12 [173.14.09] 
[ebuild     U ] x11-drivers/xf86-video-openchrome-0.2.902 [0.2.901] 
[ebuild     U ] x11-drivers/xf86-video-savage-2.2.1 [2.1.2-r1] 
[ebuild     U ] x11-drivers/xf86-video-vesa-2.0.0 [1.3.0] 
[ebuild     U ] x11-drivers/xf86-video-trident-1.3.0 [1.2.3] 
[ebuild     U ] x11-drivers/xf86-input-mouse-1.3.0 [1.2.2-r1] 
[ebuild     U ] x11-drivers/xf86-video-nv-2.1.10 [2.1.2] 
[ebuild     U ] x11-drivers/xf86-video-sis-0.10.0 [0.9.3] 
[ebuild     U ] x11-drivers/xf86-video-fbdev-0.4.0 [0.3.1] 
[ebuild     U ] x11-drivers/xf86-video-vmware-10.16.2 [10.15.0] 
[ebuild     U ] x11-drivers/xf86-video-ati-6.9.0 [6.8.0] 
[ebuild     U ] x11-drivers/xf86-video-i810-2.4.1-r1 [2.1.1] 
[ebuild     U ] x11-drivers/xf86-video-neomagic-1.2.1 [1.1.1] 
[ebuild  N    ] x11-drivers/xf86-video-mach64-6.8.0  USE="dri -debug" 
[ebuild     U ] x11-drivers/xf86-video-glint-1.2.1 [1.1.1] 
[ebuild  N    ] x11-drivers/xf86-video-r128-6.8.0  USE="dri -debug" 
[ebuild     U ] x11-drivers/xf86-video-voodoo-1.2.0 [1.1.1] 
[ebuild     U ] x11-drivers/xf86-video-tdfx-1.4.0 [1.3.0] 
[ebuild     U ] x11-base/xorg-server-1.4.2 [1.3.0.0-r6] USE="hal%* ipv6* (-nptl*)" VIDEO_CARDS="(-geode) (-vermilion) (-xgi)" 
[ebuild     U ] x11-drivers/xf86-input-keyboard-1.3.1 [1.1.1-r1] 
[ebuild     U ] x11-drivers/xf86-video-mga-1.4.9 [1.4.6.1] 
[ebuild     U ] x11-drivers/xf86-input-evdev-2.0.2 [1.1.5-r2] USE="hal%*" 
[ebuild     U ] media-video/nvidia-settings-173.14.12 [169.07] 
[ebuild     U ] x11-base/xorg-x11-7.3 [7.2] 
[ebuild  N    ] x11-libs/qt-core-4.4.1-r1  USE="qt3support ssl -debug -doc -glib -pch" 
[ebuild  N    ] x11-libs/qt-sql-4.4.1  USE="qt3support sqlite -debug (-firebird) -mysql -odbc -pch -postgres" 
[ebuild  NS   ] app-crypt/qca-2.0.0-r2 [1.0-r2] USE="-debug -doc -examples" 
[ebuild  N    ] x11-libs/qt-test-4.4.1  USE="-debug -pch" 
[ebuild  N    ] x11-libs/qt-dbus-4.4.1  USE="-debug -pch" 
[ebuild  N    ] x11-libs/qt-xmlpatterns-4.4.1  USE="-debug -pch" 
[ebuild  N    ] x11-libs/qt-script-4.4.1  USE="-debug -pch" 
[ebuild  N    ] x11-libs/qt-gui-4.4.1  USE="accessibility cups dbus qt3support tiff xinerama -debug -glib -mng -nas -nis -pch" INPUT_DEVICES="-wacom" 
[ebuild  N    ] x11-libs/qt-qt3support-4.4.1  USE="accessibility -debug -pch" 
[ebuild  N    ] x11-libs/qt-svg-4.4.1  USE="-debug -pch" 
[ebuild  N    ] x11-libs/qt-opengl-4.4.1  USE="qt3support -debug -pch" 
[ebuild  N    ] x11-libs/qt-assistant-4.4.1  USE="-debug -pch" 
[ebuild  N    ] app-crypt/qca-gnupg-2.0.0_beta2  USE="-debug" 
[ebuild  N    ] app-crypt/qca-ossl-2.0.0_beta3  USE="-debug" 
[ebuild     U ] dev-python/PyQt4-4.4.2 [4.3.3] USE="X%* dbus%* opengl%* qt3support%* svg%*" 
[ebuild     U ] net-im/psi-0.12 [0.10-r3] USE="dbus%* spell%* xscreensaver* -debug% -doc%" 
[ebuild  NS   ] x11-libs/qt-4.4.1 [3.3.8b] USE="opengl qt3support" 
[ebuild     U ] gnome-base/gvfs-0.2.5-r2 [0.2.5] USE="bluetooth%* -bash-completion%" 
[ebuild     U ] media-gfx/gimp-2.4.6 [2.4.2] USE="hal%* -exif%" 
[ebuild     U ] x11-libs/qscintilla-2.2 [2.1-r1] 
[ebuild     U ] dev-python/qscintilla-python-2.2 [2.1] 
[ebuild     U ] sys-apps/baselayout-2.0.0 [1.12.11.1] 
[ebuild     U ] sys-fs/udev-125-r2 [115-r1] 
[ebuild  N    ] sys-apps/openrc-0.2.5  USE="ncurses pam unicode -debug" 
[ebuild     U ] media-sound/audacious-1.5.1-r1 [1.4.6] USE="session%* sse2%* (-altivec)" 
[ebuild     U ] media-plugins/audacious-plugins-1.5.1-r1 [1.4.5] USE="arts* scrobbler%*" 
[ebuild     U ] x11-themes/audacious-themes-0.0.4 [0.0.3] 
[ebuild     U ] sys-apps/man-pages-3.07 [2.76] LINGUAS="-cs% -da% -de% -es% -fr% -it% -ja% -nl% -pl% -ro% -ru% -zh_CN%" 
[ebuild  N    ] sys-apps/man-pages-posix-2003a  

Emerge the World

There is no real easy way to do this, as we first set up the system there will always be something that will need a USE flag... so just let her rip and adjust as you go:

emerge --deep --newuse world

Post Emerge World

There will be plenty that will need to be 'fixed' up so let's follow directions:

emerge @preserved-rebuild

Then revdep-rebuild to be sure:

revdep-rebuild -v

Then let's throw a rebuild on the kernel for good measure:

genkernel --bootloader=grub all

Next updated /boot/grub/menu.lst

title=Gentoo Linux (2.6.26-gentoo-r1)
root (hd0,0)
kernel /kernel-genkernel-x86_64-2.6.26-gentoo-r1 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda5
initrd /initramfs-genkernel-x86_64-2.6.26-gentoo-r1

Watch the /dev/sda5 at the end!! It only pasted the /dev/ and put sda5 on it's own line!!! Lotsa fun on a boot sequence.

Now let's
reboot
into the new everything and praise God in the process

Note: I discovered this after a reboot and nearly cried!!
So yea, after I did all this and rebooted, X wouldn't start, and no ethernet either. I was devastated and started looking for my Ubuntu CD, but I always have to give it the good ol American try before surrendering, so I re-ran :

modprobe forcedeth

and

echo "forcedeth" > /etc/modules.autoload.d/kernel-2.6

Now, about X, well I compared the modules directories in /lib/modules/ and noticed in the new kernel directory there was no video/ directory as in the old kernel directory so this insprired me to run:

emerge nvidia-drivers

I saw in the output it looking in /usr/src/linux/ meaning that I broke the nvidia drivers when I changed the symlink for genkernel to find the new kernel source. And well guess what!! Everything worked fine after that, so it was good and I took a much needed shower.

Files

Below are the end result of various files that have been modified to get it this far, I've added some optimizations for my Dell Inspiron 531 with the 2 AMD64 chips, also, some of my custome USE, masks and umasks to:

/etc/make.conf

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1"
# 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="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-gnome -firefox firefox3 xinerama arts xscreensaver joystick qt3 dbus mmx sse -sse2 X dbus gtk gnome hal avahi mdnsresponder-compat perl python -emacs -xemacs ipod mdnsresponder-compat scrobbler divx gmedia realmedia wmp xulrunner vim vim-with-x win32codecs matroska prediction qq gcj"
ACCEPT_KEYWORDS="~amd64"
AUTOCLEAN="yes"
NOCOLOR="false"
PORTDIR="/usr/portage"
MAKEOPTS="-j5"
source /usr/portage/local/layman/make.conf

/etc/portage/package.use/monolithic

media-sound/amarok (-real) ipod
x11-libs/cairo glitz svg
app-emulation/emul-linux-x86-java nsplugin
app-text/acroread nsplugin
dev-libs/libgpg-error -nls
net-misc/openssh -ldap
games-emulation/epsxe opengl
games-emulation/zsnes opengl png
games-emulation/pcsx opengl

/etc/portage/package.unmask/monolithic

>=www-client/mozilla-firefox-3.0

dev-libs/rasqal
dev-cpp/clucene
dev-libs/redland
dev-util/cmake
app-misc/strigi
app-crypt/qca
app-text/libspectre
x11-apps/xinit
games-fps/unreal-tournament
games-emulation/epsxe

/etc/portage/package.mask/monolithic

>=www-client/mozilla-firefox-2.0
=media-libs/libmad-0.15.1b-r5

/etc/portage/package.keywords/monolithic

=app-arch/tar-1.19
=app-editors/nano-2.0.6
=app-shells/bashish-2.0.7
=app-text/ghostscript-gpl-8.61-r3
=dev-libs/mpfr-2.2.1_p5
=dev-libs/nspr-4.7.1
=dev-libs/nss-3.12
=dev-python/compizconfig-python-0.6.0.1
=media-libs/jpeg-6b-r7
=net-libs/xulrunner-1.9.0.1
=net-print/xfprint-4.4.2
=net-www/nspluginwrapper-1.0.0
=sys-apps/less-416
=sys-apps/man-pages-2.76
=sys-apps/pciutils-2.2.7-r1
=sys-devel/libtool-1.5.24
=sys-kernel/livecd-kernel-1
=sys-libs/readline-5.2_p7
=www-client/mozilla-firefox-3.0.1
=x11-apps/ccsm-0.6.0
=x11-drivers/xf86-video-ati-6.8.0
=x11-libs/compiz-bcop-0.6.0
=x11-libs/compizconfig-backend-gconf-0.6.0
=x11-libs/libcompizconfig-0.6.0
=x11-misc/shared-mime-info-0.22-r1
=x11-plugins/compiz-fusion-plugins-extra-0.6.0
=x11-plugins/compiz-fusion-plugins-main-0.6.0
=x11-themes/emerald-themes-0.5.2
=x11-themes/pidgin-smileys-20071023-r2
=x11-wm/compiz-0.6.2-r1
=x11-wm/compiz-fusion-0.6.0
=x11-wm/emerald-0.5.2
=xfce-base/thunar-0.9.0-r1
app-portage/porthole ~amd64
games-emulation/gens *
media-sound/tuxguitar ~amd64

dev-libs/rasqal ~amd64
dev-cpp/clucene ~amd64
dev-libs/redland ~amd64
dev-util/cmake ~amd64
app-misc/strigi ~amd64
app-crypt/qca ~amd64
app-text/libspectre ~amd64
x11-apps/xinit ~amd64

media-libs/raptor ~amd64
x11-libs/compizconfig-backend-kconfig ~amd64
x11-themes/gtk-engines-qt ~amd64

/boot/grub/menu.lst

Use the correct kernel version installed and the correct drive setup these may likely different than the ones listed here.

# Start GRUB global section
default 0
timeout 30
color light-gray/blue black/light-gray
splashimage=(hd0,0)/grub/play_gentoo.xpm.gz
# End GRUB global section
title=Gentoo Linux (2.6.26-gentoo-r1)
root (hd0,0)
kernel /kernel-genkernel-x86_64-2.6.26-gentoo-r1 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda5
initrd /initramfs-genkernel-x86_64-2.6.26-gentoo-r1

title=Gentoo Linux (2.6.25-gentoo-r7)
root (hd0,0)
kernel /kernel-genkernel-x86_64-2.6.25-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda5
initrd /initramfs-genkernel-x86_64-2.6.25-gentoo-r7

# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)

cat /boot/grub/grub.txt output

jnbek@localhost:~% cat /boot/grub/grub.txt                 [08/30/08][23:45:29]
=======================================================================
This is an example of how to use the GRUB edit function.

Highlight the menu entry you want to edit and press 'e', then
highlight the line you want to edit and press 'e'. Add what
you want to the line 'acpi=off' etc. and press enter, then
'b' to boot.

Examples of the difference between Linux and GRUB device names.

Linux IDE:      GRUB IDE:       Linux SCSI:     GRUB SCSI:
/dev/hda1       (hd0,0)         /dev/sda1       (hd0,0)
/dev/hda2       (hd0,1)         /dev/sda2       (hd0,1)
/dev/hda3       (hd0,2)         /dev/sda3       (hd0,2)
/dev/hda4       (hd0,3)         /dev/sda4       (hd0,3)
/dev/hdb1       (hd1,0)         /dev/sdb1       (hd1,0)
/dev/hdb2       (hd1,1)         /dev/sdb2       (hd1,1)
/dev/hdb3       (hd1,2)         /dev/sdb3       (hd1,2)
/dev/hdb4       (hd1,3)         /dev/sdb4       (hd1,3)

These are some examples of how to use GRUB from the command prompt.

Press the 'c' key for the command prompt.

If you want to boot a Linux system on a partition, using its kernel
/boot/vmlinuz etc., do this.

grub> root (hd0,1)
grub> kernel /boot/vmlinuz root=/dev/hda2 ro
grub> boot

You could do this to find what partition the kernel is on.

For example, show me what partitions have /boot/vmlinuz.

grub> find /boot/vmlinuz
(hd0,1)
(hd0,2)

If you want to boot a Windows partition, do this.

For example, boot partition on /dev/hda1.

grub> rootnoverify (hd0,0)
grub> makeactive
grub> chainloader +1
grub> boot

If you want to boot a FreeBSD partition, using /boot/loader.

For example, boot FreeBSD partition on /dev/hda4.

grub> root (hd0,3,a)
grub> kernel /boot/loader
grub> boot

If that doesn't work, try this.

grub> rootnoverify (hd0,3,a)
grub> chainloader +1
grub> boot
==============================================================

Press the [Esc] key to return to the GRUB menu.

Some Links

http://gentoo-wiki.com/HOWTO_Remove_Gnome
http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml
http://www.gentoo.org/doc/en/printing-howto.xml

Useful Commands

Remove All Package Matching A Pattern

Sometimes you install something that just installs 900 other things all with the same name, such as Gnome, with eix installed, removing then is as simple as:

eix -C -I gnome | grep "\[[UI]\]" | awk '{print $2}' | xargs emerge -pC
Personal tools
Online Users
Zoelife4U: