1
by mmach
1 |
1 |
.TH UPDATE-INITRAMFS 8 "2014/10/16" "initramfs\-tools" "System Administration" |
2 |
||
3 |
.SH NAME |
|
4 |
update\-initramfs \- generate an initramfs image |
|
5 |
||
6 |
.SH SYNOPSIS |
|
7 |
.B update\-initramfs |
|
8 |
.RB { \-c | \-d | \-u } |
|
9 |
.RB [ \-k |
|
10 |
.IR version ] |
|
11 |
.RB [ \-v ] |
|
12 |
.RB [ \-b |
|
13 |
.IR directory ] |
|
14 |
.br
|
|
15 |
.BR update\-initramfs " " \-h |
|
16 |
.SH DESCRIPTION |
|
17 |
The |
|
18 |
.B update\-initramfs |
|
19 |
script manages your initramfs images on your local box. |
|
20 |
It keeps track of the existing initramfs archives in /boot. |
|
21 |
There are three modes of operation create, update or delete. |
|
22 |
You must at least specify one of those modes. |
|
23 |
||
24 |
The initramfs is a gzipped cpio archive. |
|
25 |
At boot time, the kernel unpacks that archive into RAM disk, mounts and |
|
26 |
uses it as initial root file system. All finding of the root device |
|
27 |
happens in this early userspace. |
|
28 |
||
29 |
.SH OPTIONS |
|
30 |
.TP
|
|
31 |
\fB\-k \fI version |
|
32 |
Set the specific kernel version for whom the initramfs will be generated. |
|
33 |
For example the output of uname \-r for your currently running kernel.
|
|
34 |
This argument is optional for update. The default is the latest kernel version. |
|
35 |
||
36 |
The use of "all" for the |
|
37 |
.I version |
|
38 |
string specifies that |
|
39 |
.B update\-initramfs |
|
40 |
should operate on all installed kernel versions (with \fB\-c\fR), or |
|
41 |
on all installed kernel versions that already have an initramfs |
|
42 |
(with \fB\-d\fR or \fB\-u\fR). |
|
43 |
||
44 |
.TP
|
|
45 |
\fB\-c
|
|
46 |
This mode creates a new initramfs. |
|
47 |
||
48 |
.TP
|
|
49 |
\fB\-u
|
|
50 |
This mode updates an existing initramfs. |
|
51 |
||
52 |
.TP
|
|
53 |
\fB\-d
|
|
54 |
This mode deletes an existing initramfs. |
|
55 |
||
56 |
.TP
|
|
57 |
\fB\-v
|
|
58 |
This option increases the amount of information you are given during |
|
59 |
the chosen action. |
|
60 |
||
61 |
.TP
|
|
62 |
\fB\-b \fI directory |
|
63 |
Set an different bootdir for the image creation. |
|
64 |
||
65 |
.TP
|
|
66 |
\fB\-h\fR, \fB--help\fR |
|
67 |
Print a short help page describing the available options in |
|
68 |
.B update\-initramfs. |
|
69 |
||
70 |
.SH EXAMPLES |
|
71 |
||
72 |
Update the initramfs of the newest kernel: |
|
73 |
||
74 |
.PP
|
|
75 |
.B update\-initramfs -u |
|
76 |
||
77 |
||
78 |
Create the initramfs for a specific kernel: |
|
79 |
||
80 |
.PP
|
|
81 |
.B update\-initramfs -c -k 2.6.18-1-686 |
|
82 |
||
83 |
.SH FILES |
|
84 |
/etc/initramfs-tools/update-initramfs.conf |
|
85 |
||
86 |
.SH AUTHOR |
|
87 |
The initramfs-tools are written by Maximilian Attems <maks@debian.org>, |
|
88 |
Jeff Bailey <jbailey@raspberryginger.com> and numerous others. |
|
89 |
||
90 |
.SH SEE ALSO |
|
91 |
.BR
|
|
92 |
.IR initramfs.conf (5), |
|
93 |
.IR initramfs-tools (7), |
|
94 |
.IR mkinitramfs (8), |
|
95 |
.IR lsinitramfs (8). |