Difference between revisions of "Install/Kernel"

From Funtoo
Jump to navigation Jump to search
(Update and simplify documentation as we are now using debian-sources not lts by default.)
(6 intermediate revisions by 2 users not shown)
Line 9: Line 9:


<!--T:32-->
<!--T:32-->
Funtoo Linux stage3's include a pre-built {{c|debian-sources-lts}} kernel to make installation faster and easier. To see what kernel version is pre-installed, type:
Funtoo Linux stage3's include a pre-built {{c|debian-sources}} kernel to make installation faster and easier. To see what kernel version is pre-installed, type:


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


<!--T:19-->
<!--T:19-->
*  ##b##sys-kernel/debian-sources-lts##!b##
*  ##b##sys-kernel/debian-sources##!b##
       ##g##Latest version available:##!g## 4.9.130
       ##g##Latest version available:##!g## 5.9.6_p1
       ##g##Latest version installed:##!g## 4.9.130
       ##g##Latest version installed:##!g## 5.9.6_p1
       ##g##Size of files:##!g## 95,022 kB
       ##g##Size of files:##!g## 118,723 kB
       ##g##Homepage:##!g##      https://packages.debian.org/stable/kernel/linux-image-4.9.0-6-amd64
       ##g##Homepage:##!g##      https://packages.debian.org/unstable/kernel/
       ##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
}}
}}


=== Firmware ===
=== Firmware === <!--T:33-->


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. To install firmware, perform the following:
<!--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:


<!--T:35-->
{{console|body=
{{console|body=
# ##i##emerge -av linux-firmware
%chroot% ##i##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 {{c|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:
 
{{console|body=
# ##i##echo "sys-kernel/debian-sources binary" > /etc/portage/package.use
# ##i##emerge -av debian-sources
}}
}}


Then, when you configure {{c|/etc/boot.conf}} in the next section, you will want to ensure that {{c|debian-sources}} (not {{c|debian-sources-lts}}) is selected as your default kernel.
<!--T:30-->
{{Note|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>. If you're planning to use NVIDIA's drivers, see [[Package:NVIDIA_Linux_Display_Drivers|the NVIDIA Linux Display Drivers page]] for blacklisting information.}}
</translate>
</translate>
<noinclude>{{InstallNavigation|num=13|prev=Introducing Portage|next=Bootloader|align=right}}</noinclude>
<noinclude>{{InstallNavigation|num=13|prev=Introducing Portage|next=Bootloader|align=right}}</noinclude>

Revision as of 04:44, December 12, 2020

Other languages:

Install Guide: Install a Kernel

Install Guide, Chapter 13 < Prev Next >

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

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

*  sys-kernel/debian-sources
      Latest version available: 5.9.6_p1
      Latest version installed: 5.9.6_p1
      Size of files: 118,723 kB
      Homepage:      https://packages.debian.org/unstable/kernel/
      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. If using the stage3 image, perform the following to install it. linux-firmware will be already installed if using the gnome image:

chroot # emerge -av linux-firmware
Install Guide, Chapter 13 < Prev Next >