Difference between revisions of "Install/Kernel/pt-br"

From Funtoo
Jump to navigation Jump to search
(Created page with "Se deseja construir seu próprio kernel, por favor siga os passos seguintes:")
(28 intermediate revisions by 2 users not shown)
Line 2: Line 2:
== Prepare Disk ==
== Prepare Disk ==
</includeonly><noinclude><languages/>
</includeonly><noinclude><languages/>
= Guia de Instalação: Kernel =
= Guia de Instalação: Instalando um Kernel =


{{InstallNavigation|num=13|prev=Introducing Portage|next=Bootloader}}</noinclude>
{{InstallNavigation|num=13|prev=Introducing Portage|next=Bootloader}}</noinclude>


O tarball com o estágio 3 de Funtoo Linux inclui um kernel pré compilado chamado de {{c|debian-sources}}. Isso torna a instalação mais rápida e fácil. Para ver qual versão do debian-sources está instalada, digite:
O Estágio 3 de Funtoo Linux inclui um kernel previamente construido para tornar a instalação mais rápida e fácil. Para ver que versão de kernel está disponível digite:


{{console|body=
{{console|body=
(chroot) # ##i##emerge -s debian-sources
%chroot% ##i##emerge -s debian-sources-lts
Searching...     
Searching...     
[ Results for search key : ##b##debian-sources##!b## ]
[ Results for search key : ##b##debian-sources-lts##!b## ]
[ Applications found : ##b##1##!b## ]
[ Applications found : ##b##1##!b## ]


*  ##b##sys-kernel/debian-sources##!b##
*  ##b##sys-kernel/debian-sources-lts##!b##
       ##g##Latest version available:##!g## 3.19.3
       ##g##Latest version available:##!g## 4.9.130
       ##g##Latest version installed:##!g## 3.19.3
       ##g##Latest version installed:##!g## 4.9.130
       ##g##Size of files:##!g## 81,292 kB
       ##g##Size of files:##!g## 95,022 kB
       ##g##Homepage:##!g##      http://www.debian.org
       ##g##Homepage:##!g##      https://packages.debian.org/stable/kernel/linux-image-4.9.0-6-amd64
       ##g##Description:##!g##  Debian Sources (and optional binary kernel)
       ##g##Description:##!g##  Debian Sources (and optional binary kernel)
       ##g##License:##!g##      GPL-2
       ##g##License:##!g##      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 [[#Installing a Bootloader|Instalando um Gerenciador de Arranque]].
=== Firmware ===


{{Important|1=
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 ====
Neste ponto, é aconselhável emergir o pacote mais recente de {{c | sys-kernel/linux-firmware}}, porque vários drivers contam com instruções e BLOBs (Binary Large Object) contendo firmware. Hardware como placas Wi-Fi, placas gráficas, placas de rede e outras não funcionarão corretamente caso o firmware não esteja disponível. Se estiver usando a imagem '' {{c | stage3}} '', execute o seguinte para instalá-la. O {{c | linux-firmware}} já estará instalado se estiver usando a imagem '' {{c | gnome}} '':


Se deseja construir seu próprio kernel, por favor siga os passos seguintes:
{{console|body=
 
%chroot% ##i##emerge -av linux-firmware
{{Note|1=
}}
See [[Funtoo Linux Kernels]] for a full list of kernels supported in Funtoo Linux. We recommend <code>debian-sources</code> for new users.}}


{{Important|1=
=== Chipsets Modernos da Intel ===
<code>debian-sources</code> with <code>binary</code> USE flag requires at least 20GB free in <code>/var/tmp</code> and takes around 1 hour to build on a Intel Core i7 Processor.}}


Let's emerge our kernel:
Se você possui um sistema moderno da Intel (Skylake, Coffee Lake ou mais atual) então você pode ser melhor atendido pelo kernel mais novo {{c | debian-sources}} , pois terá suporte para os dispositivos Intel Wi-Fi mais modernos e os chipsets gráficos integrados mais atuais. Para usar este kernel, você desejará executar as seguintes etapas:


{{console|body=
{{console|body=
(chroot) # ##i##emerge debian-sources
%chroot% ##i##echo "sys-kernel/debian-sources binary" > /etc/portage/package.use
%chroot% ##i##emerge -av debian-sources
}}
}}


Once <code>emerge</code> completes, you'll have a brand new kernel and initramfs installed to <code>/boot</code>, plus kernel headers installed in <code>/usr/src/linux</code>, and you'll be ready to configure the boot loader to load these to boot your Funtoo Linux system.
Então, quando você configurar o {{c | /etc/boot.conf}} na próxima seção, desejará garantir que o {{c | debian-sources}} (não o {{c | debian-sources-lts}} ) está selecionado como seu kernel padrão.
 
<noinclude>{{InstallNavigation|num=13|prev=Introducing Portage|next=Bootloader|align=right}}</noinclude>
{{warning|If you have a RAID in your machine, the kernel installation will pull in the <code>mdadm</code> tool as a dependency. It is important to edit the <code>/etc/mdadm.conf</code> 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 <code>man mdadm</code> or the [[Package:Mdadm|mdadm]] ebuild page.}}
 
{{fancynote|NVIDIA card users: the <code>binary</code> 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 <code>/etc/modprobe.d/</code>.}}
 
{{fancynote|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 [http://www.funtoo.org/wiki/Funtoo_Linux_Kernels#Using_Debian-Sources_with_Genkernel genkernel] would be useful. Also be sure to see [[:Category:Hardware Compatibility|hardware compatibility]] information.}}

Revision as of 12:55, November 13, 2019

Other languages:
English • ‎español • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎

Guia de Instalação: Instalando um Kernel

Install Guide, Chapter 13 < Prev Next >

O Estágio 3 de Funtoo Linux inclui um kernel previamente construido para tornar a instalação mais rápida e fácil. Para ver que versão de kernel está disponível digite:

chroot # emerge -s debian-sources-lts
Searching...    
[ Results for search key : debian-sources-lts ]
[ Applications found : 1 ]

*  sys-kernel/debian-sources-lts
      Latest version available: 4.9.130
      Latest version installed: 4.9.130
      Size of files: 95,022 kB
      Homepage:      https://packages.debian.org/stable/kernel/linux-image-4.9.0-6-amd64
      Description:   Debian Sources (and optional binary kernel)
      License:       GPL-2

Firmware

Neste ponto, é aconselhável emergir o pacote mais recente de sys-kernel/linux-firmware, porque vários drivers contam com instruções e BLOBs (Binary Large Object) contendo firmware. Hardware como placas Wi-Fi, placas gráficas, placas de rede e outras não funcionarão corretamente caso o firmware não esteja disponível. Se estiver usando a imagem stage3 , execute o seguinte para instalá-la. O linux-firmware já estará instalado se estiver usando a imagem gnome :

chroot # emerge -av linux-firmware

Chipsets Modernos da Intel

Se você possui um sistema moderno da Intel (Skylake, Coffee Lake ou mais atual) então você pode ser melhor atendido pelo kernel mais novo debian-sources , pois terá suporte para os dispositivos Intel Wi-Fi mais modernos e os chipsets gráficos integrados mais atuais. Para usar este kernel, você desejará executar as seguintes etapas:

chroot # echo "sys-kernel/debian-sources binary" > /etc/portage/package.use
chroot # emerge -av debian-sources

Então, quando você configurar o /etc/boot.conf na próxima seção, desejará garantir que o debian-sources (não o debian-sources-lts ) está selecionado como seu kernel padrão.

Install Guide, Chapter 13 < Prev Next >