Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Genkernel Quick Start Tutorial/pt-br
Jump to navigation
Jump to search
Concepts
TBC
Recompiling the Gentoo kernel sources from a SystemRescue CD chroot
A second case that many Funtoo users will face to is to compile their own kernel when installing a brand new Funtoo instance from a stage 3 archive (the most common scenario is to boot the machine with SystemRescue CD).
Note
If you want to use the System rescue CD sources provided by Funtoo No results, the philosophy remains exactly the same.
First step emerging the required packages
The first step is to emerge:
- The Gentoo kernel sources: No results
- Genkernel itself: No results
This is achieved by running the following:
root # emerge sys-kernel/gentoo-sources sys-kernel/genkernel
Once the Gentoo kernel sources are deployed, you should find a directory named linux-version-gentoo (e.g. linux-2.6.39-gentoo) under /usr/src
. Update the linux
symlink to point to this directory:
root # cd /usr/src root # rm linux root # ln -s linux-2.6.39-gentoo linux