2 .TH "KERNEL\-INSTALL" "8" "" "systemd 217" "kernel-install"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
17 .\" disable justification (adjust text to left margin only)
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
23 kernel-install \- Add and remove kernel and initramfs images to and from /boot
25 .HP \w'\fBkernel\-install\fR\ 'u
26 \fBkernel\-install\fR COMMAND \fIKERNEL\-VERSION\fR [\fIKERNEL\-IMAGE\fR]
30 is used to install and remove kernel and initramfs images to and from
34 will execute the files located in the directory
35 /usr/lib/kernel/install\&.d/
36 and the local administration directory
37 /etc/kernel/install\&.d/\&. All files are collectively sorted and executed in lexical order, regardless of the directory in which they live\&. However, files with identical filenames replace each other\&. Files in
38 /etc/kernel/install\&.d/
39 take precedence over files with the same name in
40 /usr/lib/kernel/install\&.d/\&. This can be used to override a system\-supplied executables with a local file if needed; a symbolic link in
41 /etc/kernel/install\&.d/
42 with the same name as an executable in
43 /usr/lib/kernel/install\&.d/, pointing to /dev/null, disables the executable entirely\&. Executables must have the extension
44 "\&.install"; other extensions are ignored\&.
47 The following commands are understood:
49 \fBadd \fR\fB\fIKERNEL\-VERSION\fR\fR\fB \fR\fB\fIKERNEL\-IMAGE\fR\fR
53 /boot/\fIMACHINE\-ID\fR/\fIKERNEL\-VERSION\fR/
54 and calls every executable
55 /usr/lib/kernel/install\&.d/*\&.install
57 /etc/kernel/install\&.d/*\&.install
64 add \fIKERNEL\-VERSION\fR /boot/\fIMACHINE\-ID\fR/\fIKERNEL\-VERSION\fR/
70 The kernel\-install plugin
73 \fIKERNEL\-VERSION\fR\&.
75 The kernel\-install plugin
76 90\-loaderentry\&.install
80 /boot/\fIMACHINE\-ID\fR/\fIKERNEL\-VERSION\fR/linux\&. It also creates a boot loader entry according to the boot loader specification in
81 /boot/loader/entries/\fIMACHINE\-ID\fR\-\fIKERNEL\-VERSION\fR\&.conf\&. The title of the entry is the
83 parameter specified in
87 (if the former is missing), or "Linux
88 \fIKERNEL\-VERSION\fR", if unset\&. If the file
92 file, the initrd will be added to the configuration\&.
95 \fBremove \fR\fB\fIKERNEL\-VERSION\fR\fR
97 Calls every executable
98 /usr/lib/kernel/install\&.d/*\&.install
100 /etc/kernel/install\&.d/*\&.install
107 remove \fIKERNEL\-VERSION\fR /boot/\fIMACHINE\-ID\fR/\fIKERNEL\-VERSION\fR/
113 \fBkernel\-install\fR
114 removes the entire directory
115 /boot/\fIMACHINE\-ID\fR/\fIKERNEL\-VERSION\fR/
118 The kernel\-install plugin
119 90\-loaderentry\&.install
121 /boot/loader/entries/\fIMACHINE\-ID\fR\-\fIKERNEL\-VERSION\fR\&.conf\&.
125 If every executable returns with 0, 0 is returned, a non\-zero failure code otherwise\&.
128 /usr/lib/kernel/install\&.d/*\&.install /etc/kernel/install\&.d/*\&.install
130 Drop\-in files which are executed by kernel\-install\&.
133 /etc/kernel/cmdline /proc/cmdline
135 The content of the file
137 specifies the kernel command line to use\&. If that file does not exist,
144 The content of the file specifies the machine identification
148 /etc/os\-release /usr/lib/os\-release
150 The content of the file specifies the operating system title
157 \m[blue]\fBBoot loader specification\fR\m[]\&\s-2\u[1]\d\s+2
160 Boot loader specification
162 \%http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec