Kernels: Difference between revisions
(use pkg template) |
|||
Line 1: | Line 1: | ||
Alpine Linux has | Alpine Linux has several kernels (see {{Pkg|linux-*}}) designed to suit different situations. | ||
* | * {{Pkg|linux-lts}} is the stock modular kernel and is configured for a generous selection of hardware. | ||
* linux-virt ( | * {{Pkg|linux-virt}} ({{Pkg|linux-lts}}, see the -virt configs) is recommended for Alpine Linux guests, and disables most hardware in favor of a commonly-virtualized subset of drivers. | ||
* | * {{Pkg|linux-rpi}} is optimized for the Raspberry Pi. | ||
For installing a custom kernel, see [[Custom Kernel]]. To select a specific kernel or firmware packages during installation from the Alpine ISO, simply install the desired kernel flavor and firmware packages with <code>apk add</code> before running <code>setup-alpine</code>. | For installing a custom kernel, see [[Custom Kernel]]. To select a specific kernel or firmware packages during installation from the Alpine ISO, simply install the desired kernel flavor and firmware packages with <code>apk add</code> before running <code>setup-alpine</code>. | ||
Line 9: | Line 9: | ||
== Firmware == | == Firmware == | ||
The | The {{Pkg|linux-firmware}} meta-package is included in the [[Installation|default installation]], and depends on all firmware. It is a large download. You may be better served by installing only the firmware you need (see {{Pkg|linux-firmware-*}}), or {{Pkg|linux-firmware-none}} if you do not require any firmware. If you're unsure which firmware you need, boot with no firmware installed and run <code>dmesg | grep firmware</code> to get an idea. Be aware that most firmware is non-free. | ||
[[category:Kernel]] | [[category:Kernel]] |
Revision as of 11:23, 7 August 2023
Alpine Linux has several kernels (see linux-*) designed to suit different situations.
- linux-lts is the stock modular kernel and is configured for a generous selection of hardware.
- linux-virt (linux-lts, see the -virt configs) is recommended for Alpine Linux guests, and disables most hardware in favor of a commonly-virtualized subset of drivers.
- linux-rpi is optimized for the Raspberry Pi.
For installing a custom kernel, see Custom Kernel. To select a specific kernel or firmware packages during installation from the Alpine ISO, simply install the desired kernel flavor and firmware packages with apk add
before running setup-alpine
.
Firmware
The linux-firmware meta-package is included in the default installation, and depends on all firmware. It is a large download. You may be better served by installing only the firmware you need (see linux-firmware-*), or linux-firmware-none if you do not require any firmware. If you're unsure which firmware you need, boot with no firmware installed and run dmesg | grep firmware
to get an idea. Be aware that most firmware is non-free.