Debian Codegraph @

debian/README

raw
1 initramfs-tools
2 ===============
3
4 The Linux kernel may boot using an "initramfs", an archive of files
5 that it unpacks into an in-memory file system at the beginning of the
6 boot process. This archive must contain its own init program which
7 the kernel will run as the first user process. In a Debian system,
8 the initramfs is responsible for:
9
10 * Loading essential driver modules
11 * Setting up a network connection, if required
12 * Setting up layered storage devices, if required
13 * Resuming from hibernation (suspend-to-disk), if possible
14 * Checking and mounting the root and /usr file systems
15 * Handing over to the main init system
16
17 initramfs-tools is designed to be extensible, and many other packages
18 provide these and additional features in the initramfs.
19
20 On x86 systems, the initramfs can also contain CPU microcode updates
21 that the kernel will apply at a very early stage. These are provided
22 by the (non-free) intel-microcode and amd64-microcode packages.
23
24 Debian's official kernel packages require the use of an initramfs,
25 since drivers and filesystem code are built as modules that need to be
26 loaded before the file systems can be mounted. Custom kernel packages
27 that have this code built-in may still need an initramfs to set up
28 layered storage devices or to provide microcode updates.
29
30 If initramfs-tools is installed, it will generate an initramfs
31 automatically whenever a kernel is installed or upgraded (and remove
32 it when the kernel is removed). If only initramfs-tools-core is
33 installed, you can run mkinitramfs to generate an initramfs.
34
35 The initramfs-tools(7) manual page documents the supported parameters
36 and how to extend initramfs-tools. There are additional manual pages
37 for the various commands and configuration files.