The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Install/Kernel/pt-br"
(Created page with "==== Construindo o Kernel ====") |
(Created page with "Se deseja construir seu próprio kernel, por favor siga os passos seguintes:") |
||
Line 30: | Line 30: | ||
==== Construindo o Kernel ==== | ==== Construindo o Kernel ==== | ||
Se deseja construir seu próprio kernel, por favor siga os passos seguintes: | |||
{{Note|1= | {{Note|1= |
Revision as of 18:12, September 27, 2018
Guia de Instalação: Kernel
Install Guide, Chapter 13 | < Prev | Next > |
O tarball com o estágio 3 de Funtoo Linux inclui um kernel pré compilado chamado de debian-sources
. Isso torna a instalação mais rápida e fácil. Para ver qual versão do debian-sources está instalada, digite:
(chroot) # emerge -s debian-sources Searching... [ Results for search key : debian-sources ] [ Applications found : 1 ] * sys-kernel/debian-sources Latest version available: 3.19.3 Latest version installed: 3.19.3 Size of files: 81,292 kB Homepage: http://www.debian.org Description: Debian Sources (and optional binary kernel) License: GPL-2
Se a versão mais recente for igual a versão já instalada, o kernel debian-sources já estará pré compilado e você poderá pular o restante da seção Kernel e prosseguir para a seção Instalando um Gerenciador de Arranque.
Neste ponto, é aconselhável emergir o mais recente pacote sys-kernel/linux-firmware, porque alguns drivers contam com binários (blobs) e com arquivos de firmware. Hardware como: cartões wi-fi, placas gráficas, placas de rede e outros, não funcionarão corretamente se o firmware relacionado não estiver presente.
Construindo o Kernel
Se deseja construir seu próprio kernel, por favor siga os passos seguintes:
See Funtoo Linux Kernels for a full list of kernels supported in Funtoo Linux. We recommend debian-sources
for new users.
debian-sources
with binary
USE flag requires at least 20GB free in /var/tmp
and takes around 1 hour to build on a Intel Core i7 Processor.
Let's emerge our kernel:
(chroot) # emerge debian-sources
Once emerge
completes, you'll have a brand new kernel and initramfs installed to /boot
, plus kernel headers installed in /usr/src/linux
, and you'll be ready to configure the boot loader to load these to boot your Funtoo Linux system.
If you have a RAID in your machine, the kernel installation will pull in the mdadm
tool as a dependency. It is important to edit the /etc/mdadm.conf
file prior to rebooting the machine so the RAID is properly recognised and set up before the kernel attempts to mount it in the tree. Failing to do so can result in an unusable or even unbootable system! For specific details, consult the mdadm man page man mdadm
or the mdadm ebuild page.
NVIDIA card users: the binary
USE flag installs the Nouveau drivers which cannot be loaded at the same time as the proprietary drivers, and cannot be unloaded at runtime because of KMS. You need to blacklist it under /etc/modprobe.d/
.
For an overview of other kernel options for Funtoo Linux, see Funtoo Linux Kernels. There may be modules that the Debian kernel doesn't include, a situation where genkernel would be useful. Also be sure to see hardware compatibility information.