here is the k10 soon k11 thing i was talking about...
http://en.wikipedia.org/wiki/AMD_K10
then what u do is when u have installed grub and build base system...
i like to use ACCEPT_KEYWORD="~amd64"
as one of my USE flags.... then you
Code: Select all
cd /usr/src/linux && make menuconfig
by now i hope u know ur hardware very well...u need to go through each option and meticulously and make sure u don't need it....
like u don't need the intel arch code for your amd pc...and don't need lvm or raid if u don't use lvm or raid etc...also make sure to be specific about your drivers for sound card and make sure if u use binary driver for nvida/ati card then plz don't enable dri from the kernel....nor framebuffer stuff i think...
okay now u do is u hit esc all the way back out and it says save .config and hit save....just leave it as default .config....
then run:
then you do this:
Code: Select all
cp arch/X86_64/boot/BzImage /boot/kernel-2.6.XX-gentoo-rX
<---then u replaces the X with your version number and release number
then you go into /boot/grub/menu.lst and you modify your gentoo grub configuration as such...
Code: Select all
title Gentoo linux
root(hdX,X)
kernel-2.6.XX-gentoo-rX root=/dev/sdaX
**YOU WONT NEED INITRD FOR CUSTOM KERNEL**
again replace the X with the numbers of where grub is installed you might not need to modify root if you have grub installed and linux already installed if that is the case just delete the INITRD line and modify the kernel line to whatever your named your bzimage when you cp it to the /boot directory...
when you are done with all the modify of grub don't emerge -C until you have the newer kernel working and be able to boot it... if it crashes please tell us what is wrong if u have issues with custom build or problem with an option please tell...
because what will happen is depclean will want to remove the old version of your kernel and use only the new version the issue is that yes you can still use your old kernel but you wont be able to fix your new one if it errors if u dont' have the old one...
once it is all stable...go back into grub delete the genkernel configurations and delete the initrd and genkernel files out of /boot if you don't ever want to use your old genkernel...this is once your new custom kernel is stable...
then you are good...
almost forgot it is neccesary to add symlink use flag because it will uncomplicate your kernel...and what it does is it makes the symlink of the kernel into the directory /usr/src/linux to make sure the linux directory which will show in light blue is symbolicly linked to the correct kernel do a ls -la and it will show linux directory with a <--- to kernel file name of which one it has....[/b]
if you don't use symlink flag when u install gentoo-sources you have to move symbolic linux directory link from the old kernel to the new one you just installed....
here is a link to the acutal guide from the install handbook you should look at if u get stuck with doing the above things...
http://www.gentoo.org/doc/en/handbook/h ... art1_chap7