Pt-br/Funtoo Linux Kernels
Overview of Kernels
This will install the "vanilla" (unmodified) Linux kernel sources. Current recommended version is 3.x. Funtoo Linux fully supports Linux 3.x. The advantages of this kernel include recent improvements to Linux Containers, a very modern networking stack with lots of bug fixes, and high reliability for desktops and servers. The downside is that this kernel must be manually configured by the user and does not have built-in
genkernel support via the
binary USE flag at this time.
sys-kernel/gentoo-sources (package not on wiki - please add)
This kernel tree is based on stable kernels from kernel.org with genpatches applied genpatches. Gentoo patchset aims to support the entire range of Gentoo-supported architectures. List of available genpatched kernels: genpatches-kernels
sys-kernel/openvz-rhel6-stable (package not on wiki - please add)
This is a RHEL6-based kernel with OpenVZ support. This kernel is now the preferred kernel for production OpenVZ deployments. It requires gcc-4.4.5 to build, which it will use automatically without the user needing to use
gcc-config. We use this version of gcc since this is the version of gcc used by Red Hat to build this kernel.
This is the Debian kernel. These ebuilds now support the
binary USE flag. Daniel has added a special config-extract command which can be used to list all available official Debian kernel configurations, and generate them from the Debian files included with the kernel. This kernel has optional OpenVZ support, but it is much better to use openvz-rhel6-stable if you want a production-quality OpenVZ installation. For more information about how to use debian-sources and config-extract, see Using debian-sources with Genkernel below.
Many of the kernel ebuilds in Funtoo Linux support the very useful
binary USE flag. By enabling this USE flag and emerging the kernel, the ebuild will automatically build a binary kernel image, initramfs and kernel modules and install them to
/boot. The binary kernel image and initramfs can be used to boot your Funtoo Linux system without requiring any additional configuration. This is a great way to get a Funtoo Linux system up and running quickly. Here's how to do it:
# echo "sys-kernel/openvz-rhel6-stable binary" >> /etc/portage/package.use # emerge openvz-rhel6-stable # nano -w /etc/boot.conf # boot-update
More information can be found in the Funtoo Linux Installation Guide.
Funtoo Linux Genkernel
Funtoo Linux contains a forked/enhanced version of genkernel with the following new capabilities:
- genkernel can use a build directory that is separate from the kernel source directory. This is enabled using the new --build-dst option.
--build-srcis a new option that is equivalent to the --kerneldir option.
--fullnamecan be used to specify the entire name of the kernel and initramfs images -- everything after kernel- and initramfs-.
--firmware-src- a new option that works identically to --firmware-dir.
--firmware-dst- a new capability - you can now define where genkernel installs firmware.
- Genkernel uses Funtoo Linux
lvm2rather than building its own.
- Some compile fixes.