summaryrefslogtreecommitdiffstats
path: root/unmkinitramfs.8
blob: ae9252de8b6812734df234361bc93ab553118ec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH UNMKINITRAMFS 8  "2016/12/15" "initramfs\-tools" "System Administration"

.SH NAME
unmkinitramfs \- extract content from an initramfs image

.SH SYNOPSIS
.B unmkinitramfs
.RB [ -v ]
.IR initramfs-file " " directory
.br
.BR unmkinitramfs " " -h

.SH DESCRIPTION
The
.B unmkinitramfs
command extracts the content of a given initramfs image using
.BR cpio .
If the image contains multiple segments, each are passed to
.B cpio
in order.

.SH OPTIONS

.TP
.B -h
Display usage information and exit.

.TP
.B -v
Display verbose messages about extraction.


.SH USAGE EXAMPLES

Extract initramfs content of current running kernel:

.PP
.B unmkinitramfs /boot/initrd.img-$(uname -r) initramfs/


.SH BUGS
.BR unmkinitramfs
cannot deal with multiple-segmented initramfs images, except where an
early (uncompressed) initramfs with system firmware is prepended to
the regular compressed initramfs.

.SH AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>
and numerous others.

.SH SEE ALSO
.BR
.IR initramfs-tools (7),
.IR lsinitramfs (8),
.IR mkinitramfs (8),
.IR update-initramfs (8).