summaryrefslogtreecommitdiffstats
path: root/dev/prokit/prokit-mkinitramfs.8.mdwn
blob: 0b5381dc35dcf93270b51e0ba10ad26d44e1ed89 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[[!meta title="PROKIT-MKINITRAMFS"]]

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#COPYRIGHT">COPYRIGHT</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em">prokit-mkinitramfs
- Generate an initramfs containing an installed system</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><b>prokit
mkinitramfs -l</b> <i>linux-output</i> <b>-i</b>
<i>initramfs-output root</i></p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><i><b>prokit
mkinitramfs</b></i> generates an initial RAM-based file
system image containing an installed system found at
<i>root</i>.</p>

<p style="margin-left:11%; margin-top: 1em">If <i>root</i>
is a block device node, the block device is mounted and the
initial RAM-based file system is generated from the
device&rsquo;s file system.</p>

<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>-l&nbsp;</b><i>linux-output</i></p>

<p style="margin-left:22%;">Copy a Linux image from the
system at <i>root</i> to <i>linux-output</i>.</p>


<p style="margin-left:11%;"><b>-i&nbsp;</b><i>initramfs-output</i></p>

<p style="margin-left:22%;">Write the initial RAM-based
file system image to <i>initramfs-output</i>.</p>

<h2>EXAMPLES
<a name="EXAMPLES"></a>
</h2>


<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="1%">


<p style="margin-top: 1em">&bull;</p></td>
<td width="10%"></td>
<td width="78%">


<p style="margin-top: 1em"># prokit mkinitramfs -l vmlinuz
-i initrd.img $root</p></td></tr>
</table>

<h2>COPYRIGHT
<a name="COPYRIGHT"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2016 Patrick McDermott</p>

<p style="margin-left:11%; margin-top: 1em">The ProteanOS
Development Kit is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either
version 3 of the License, or (at your option) any later
version.</p>

<p style="margin-left:11%; margin-top: 1em">The ProteanOS
Development Kit is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.</p>

<p style="margin-left:11%; margin-top: 1em">You should have
received a copy of the GNU General Public License along with
the ProteanOS Development Kit. If not, see
&lt;http://www.gnu.org/licenses/&gt;.</p>