Difference between revisions of "Install/Kernel"

From Funtoo
Jump to: navigation, search
(Marked this version for translation)
(add amd microcode)
Line 31: Line 31:
  
 
<!--T:34-->
 
<!--T:34-->
At this point it is wise to emerge the latest {{c|sys-kernel/linux-firmware}} package, because various drivers rely on firmware blobs and instructions. Hardware like Wi-Fi cards, graphic cards, network cards, and others will not work properly or at all if firmware is not available. If using the ''{{c|stage3}}'' image, perform the following to install it. {{c|linux-firmware}} will be already installed if using the ''{{c|gnome}}'' image:
+
At this point it is wise to emerge the latest {{c|sys-kernel/linux-firmware}} package, because various drivers rely on firmware blobs and instructions. Hardware like Wi-Fi cards, graphic cards, network cards, and others will not work properly or at all if firmware is not available.  Were turning on the initramfs useflag to generate AMD microcode which is shipped within this package. If using the ''{{c|stage3}}'' image, perform the following to install linux-firmware. {{c|linux-firmware}} will be already installed if using the ''{{c|gnome}}'' image:
  
 
<!--T:35-->
 
<!--T:35-->
 
{{console|body=
 
{{console|body=
 +
%chroot% ##i## echo "sys-kernel/linux-firmware initramfs" >> /etc/portage/package.use
 
%chroot% ##i##emerge -av linux-firmware
 
%chroot% ##i##emerge -av linux-firmware
 
}}
 
}}

Revision as of 12:00, December 7, 2020

Other languages:

Install Guide: Install a Kernel

Install Guide, Chapter 13 < Prev Next >

Funtoo Linux stage3's include a pre-built debian-sources-lts kernel to make installation faster and easier. To see what kernel version is pre-installed, type:

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

At this point it is wise to emerge the latest sys-kernel/linux-firmware package, because various drivers rely on firmware blobs and instructions. Hardware like Wi-Fi cards, graphic cards, network cards, and others will not work properly or at all if firmware is not available. Were turning on the initramfs useflag to generate AMD microcode which is shipped within this package. If using the stage3 image, perform the following to install linux-firmware. linux-firmware will be already installed if using the gnome image:

chroot #  echo "sys-kernel/linux-firmware initramfs" >> /etc/portage/package.use
chroot # emerge -av linux-firmware

Modern Intel Chipsets

If you have a modern Intel system (Skylake, Coffee Lake or newer) then you may be better served by the newer debian-sources kernel as it will have support for more modern Intel WiFi and integrated graphics chipsets. To use this kernel, you will want to perform the following steps:

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

Then, when you configure /etc/boot.conf in the next section, you will want to ensure that debian-sources (not debian-sources-lts) is selected as your default kernel.

Install Guide, Chapter 13 < Prev Next >