Difference between revisions of "Funtoo Linux Kernels/pt-br"

({{Package|sys-kernel/openvz-rhel6-stable}})
(Binary USE)
Line 30: Line 30:
  
 
More information can be found in the [[Funtoo Linux Installation]] Guide.
 
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 <tt>--build-dst</tt> option.
 +
* <code>--build-src</code> is a new option that is equivalent to the <tt>--kerneldir</tt> option.
 +
* <code>--fullname</code> can be used to specify the entire name of the kernel and initramfs images -- everything after <tt>kernel-</tt> and <tt>initramfs-</tt>.
 +
* <code>--firmware-src</code> - a new option that works identically to <tt>--firmware-dir</tt>.
 +
* <code>--firmware-dst</code> - a new capability - you can now define where genkernel installs firmware.
 +
* Genkernel uses Funtoo Linux <code>lvm2</code> rather than building its own.
 +
* Some compile fixes.

Revision as of 15:30, April 11, 2015

Overview of Kernels

Package:Vanilla Sources, Package:Vanilla Sources/pt-br

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.

Package:Debian-sources, Package:Debian-sources/pt-br

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.

Binary USE

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-src is a new option that is equivalent to the --kerneldir option.
  • --fullname can 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 lvm2 rather than building its own.
  • Some compile fixes.