forked from alpinelinux/mkinitfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkinitfs-bootparam.7.in
139 lines (139 loc) · 4.87 KB
/
mkinitfs-bootparam.7.in
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.TH MKINITFS-BOOTPARAMS "7" "July 2018" "mkinitfs @VERSION@" "Early startup"
.SH NAME
alpine-bootparams \- control the startup behavior using the kernel command line
.SH DESCRIPTION
.\" Add any additional description here
.PP
In early boot, the preferred way to supply configuration data to the running
system is via kernel options. The kernel options are specified in the bootloader
configuration and are supplied to the kernel and early userspace in early boot.
The mechanism and options that are interpreted by the kernel itself are
documented in \fIbootparam(7)\fR.
.PP
The options documented here are interpreted by the initramfs-init script that is
part of the initramfs, see \fImkinitfs(1)\fR to learn how to customize it.
.TP
\fBblacklist=\fIMODULE\fR{,\fIMODULE\fR}
This comma-separated list names kernel modules that modprobe will reject to load.
.TP
\fBchart\fR
Enables bootchartd for measuring system startup speed.
.TP
\fBcryptdiscards\fR
Enable the discard feature for encrypted Solid State Disks. This might have
security implications.
.TP
\fBcryptdm=\fINAME\fR
After the block device has been decrypted, make it available as
/dev/mapper/\fINAME\fR.
.TP
\fBcryptheader=\fIDEVICE\fR
When the LUKS headers and encrypted data are on different devices, this option
specifies the device with the LUKS headers.
.TP
\fBcryptkey=\fIKEYFILE\fR
Attempt to decrypt an encypted partition using an keyfile.
.TP
\fBcryptoffset=\fISECTORS\fR
Indicate that the encrypted data begins the given number of sectors after the
start of the block device.
.TP
\fBcryptroot=\fIDEVICE\fR
Attempt to decrypt \fIDEVICE\fR.
.TP
\fBdasd\fR
Enable DASD devices on S/390x architectures.
.TP
\fBzfcp\fR
Enable zFCP SCSI devices on S/390x architectures.
.TP
\fBdebug_init\fR
Print debug information during boot.
.TP
\fBinit=\fIPATH\fR
Path to init program to execute instead of \fI/sbin/init\fR.
.TP
\fBinit_args=\fIARGUMENTS\fR
Additional command line arguments for \fI/sbin/init\fR.
.TP
\fBip=\fICLIENT-IP\fR:\fISERVER-IP\fR:\fIGATEWAY-IP\fR:\fINETMASK\fR:\fIHOSTNAME\fR:\fIDEVICE\fR:\fIAUTOCONF\fR:\fIDNS-IP\fR:\fIDNS-IP\fR:\fINTP-IP\fR
Specify the network configuration. The format is equivalent to the linux kernel
option with the same name. Per default, the \fISERVER-IP\fR, \fIHOSTNAME\fR and
\fINTP-IP\fR parameters are ignored by the initramfs. Consult the kernel
documentation on \fInfsroot\fR for further information regarding the fields of
this parameter.
.TP
\fBmodules=\fIMODULE\fR{,\fIMODULE\fR}
Comma-sparated list of kernel modules to load explicitly.
.TP
\fBoverlaytmpfs\fR
When booting from an read-only partition, you can specify this flag to have
your changes written to an in-memory overlayfs.
.TP
\fBquiet\fR
Generate less output.
.TP
\fBresume=\fIDEVICE\fR
Swap partition to resume from.
.TP
\fBroot=\fR(\fIDEVICE\fR | nfs:\fIIP-ADDRESS\fR:\fIPATH\fR)
Device or NFS url for the root partition.
.TP
\fBrootflags=\fIOPTIONS\fR
Mount options for the device specified with \fBroot=\fR.
.TP
\fBrootfstype=\fIFS_TYPE\fR
File system type for the device specified with \fBroot=\fR.
Allowed values are the same like the \fB\-t\fR option for \fImount(1)\fR.
.TP
\fBs390x_net=qeth_l2,\fIBUS-ID\fR{,\fIBUS-ID\fR}
Configure network devices for the S/390x architecture.
.TP
\fBsingle\fR
Launch root shell before switching to the root partition.
.PP
If no \fBroot=\fR parameter is given, the initramfs will build an live system
in memory from scratch. This is also called diskless mode.
.PP
When booting in diskless mode, the following options are also available:
.TP
\fBalpine_repo=\fR(\fIURL\fR | \fIPATH\fR)
If set, \fI/etc/apk/repositories\fR will be filled with this. May be an URL.
.TP
\fBapkovl=\fR(\fIURL\fR | [\fIDEVICE\fR[:\fIFS_TYPE\fR]:]\fIPATH\fR)\fR
A HTTP, HTTPS or FTP URL to an apkovl.tar.gz file which will be retrieved and
applied. Can also be a filesystem path, optionally prepended with the device
name without the /dev/ prefix.
.TP
\fBnokeep_apk_new\fR
Setup a fresh system, ignore any \fBapkovl\fR.
.TP
\fBpkgs=\fIPACKAGE\fR{,\fIPACKAGE\fR}\fR
Comma-separated list of packages to be installed.
.TP
\fBssh_key=\fR(\fIURL\fR | \fISSH_KEY\fR)
This setting installs openssh and places the public key given as value in
\fI/root/.ssh/authorized_keys\fR.
If the value is an HTTP or FTP url, its fetches the key(s) from there.
.TP
\fBsplash\fR
Enable splash screen
.TP
\fBusbdelay=\fINUMBER\fR
Wait \fINUMBER\fR seconds for USB devices to show up before searching for boot
media.
.TP
\fBzfs_force=\fINUMBER\fR
Enable force importing the root zpool on boot, even if it was previously mounted
from a different system/OS.
.SH FILES
.TP
\fI@datadir@/initramfs-init\fR
Default script that will be run in the initramfs.
.SH AUTHOR
.PP
Written by Natanael Copa <[email protected]>, Timo Teräs <[email protected]> and others.
.SH "REPORTING BUGS"
Alpine Linux Bugtracker: <https://bugs.alpinelinux.org/projects/alpine/issues>
.SH "SEE ALSO"
nlplug-findfs(1), mkinitfs(1), bootparam(7)