summaryrefslogtreecommitdiff
path: root/manpages/de/live-boot.de.7
blob: a67253f8b1bc2e513767d07664c46b26dc389511 (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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BOOT 7 2011\-01\-11 3.0~a14 "Debian Live Projekt"

.SH NAME
\fBlive\-boot\fP \- System Boot Skripte

.SH BESCHREIBUNG
\fBlive\-config\fP enthaelt die Skripte welche ein Debian Live System waehrend
des Startvorganes (early userspace) konfigurieren.
.PP
.\" FIXME
live\-boot is a hook for the initramfs\-tools, used to generate a initramfs
capable to boot live systems, such as those created by
\fIlive\-helper\fP(7). This includes the Debian Live isos, netboot tarballs, and
usb stick images.
.PP
.\" FIXME
At boot time it will look for a (read\-only) media containing a "/live"
directory where a root filesystems (often a compressed filesystem image like
squashfs) is stored. If found, it will create a writable environment, using
aufs, for Debian like systems to boot from.

.SH KONFIGURATION
\fBlive\-boot\fP kann durch Boot Parameter oder durch Konfigurationsdateien
konfiguriert werden.

.SS "Kernel Parameter"
\fBlive\-boot\fP ist nur dann aktiv, wenn 'boot=live' als Kernel Parameter
benutzt wird.
.PP
In addition, there are some more boot parameters to influence the behaviour,
see below.

.SS Konfigurationsdateien
\fBlive\-boot\fP can be configured (but not activated) through configuration
files. Those files can be placed either in the root filesystem itself
(/etc/live/boot.conf, /etc/live/boot.d/), or on the live media
(live/boot.conf, live/boot.d/).

.SH OPTIONEN
.\" FIXME
\fBlive\-boot\fP currently features the following parameters.
.IP \fBaccess\fP=\fIACCESS\fP 4
Set the accessibility level for physically or visually impared users. ACCESS
must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment,
v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties,
m2=moderate motor difficulties.
.IP \fBconsole\fP=\fITTY,SPEED\fP 4
Set the default console to be used with the "live\-getty" option. Example:
"console=ttyS0,115200"
.IP \fBdebug\fP 4
Makes initramfs boot process more verbose.
.br
Use: debug=1
.br
Without setting debug to a value the messages may not be shown.
.IP \fBfetch\fP=\fIURL\fP 4
.IP \fBhttpfs\fP=\fIURL\fP 4
Another form of netboot by downloading a squashfs image from a given url.
The fetch method copies the image to ram and the httpfs method uses fuse and
httpfs2 to mount the image in place. Copying to ram requires more memory and
might take a long time for large images. However, it is more likely to work
correctly because it does not require networking afterwards and the system
operates faster once booted because it does not require to contact the
server anymore.
.br
Due to current limitations in busyboxs wget and DNS resolution, an URL can
not contain a hostname but an IP only.
.br
Not working: http://example.com/path/to/your_filesystem.squashfs
.br
Working: http://1.2.3.4/path/to/your_filesystem.squashfs
.br
Also note that therefore it's currently not possible to fetch an image from
a namebased virtualhost of an httpd if it is sharing the ip with the main
httpd instance.
.br
You may also use the live iso image in place of the squashfs image.
.IP \fBiscsi\fP=\fIserver\-ip[,server\-port];target\-name\fP 4
Boot from an iSCSI target that has an iso or disk live image as one of its
LUNs. The specified target is searched for a LUN which looks like a live
media. If you use the \fBiscsitarget\fP software iSCSI target solution which is
packaged in Debian your ietd.conf might look like this:
.br
# The target\-name you specify in the iscsi= parameter
.br
Target <target\-name>
  Lun 0 Path=<path\-to\-your\-live\-image.iso>,Type=fileio,IOMode=ro
  # If you want to boot multiple machines you might want to look at tuning some parameters like
  # Wthreads or MaxConnections
.IP \fBfromiso\fP=\fI/PATH/TO/IMAGE\fP 4
Allows to use a filesystem from within an iso image that's available on
live\-media.
.IP \fBignore_uuid\fP 4
Do not check that any UUID embedded in the initramfs matches the discovered
medium. live\-boot may be told to generate a UUID by setting
LIVE_GENERATE_UUID=1 when building the initramfs.
.IP \fBintegrity\-check\fP 4
If specified, an MD5 sum is calculated on the live media during boot and
compared to the value found in md5sum.txt found in the root directory of the
live media.
.IP "\fBip\fP=[\fICLIENT_IP\fP]:[\fISERVER_IP\fP]:[\fIGATEWAY_IP\fP]:[\fINETMASK\fP]:[\fIHOSTNAME\fP]:[\fIDEVICE\fP]:[\fIAUTOCONF\fP] [,[\fICLIENT_IP\fP]:[\fISERVER_IP\fP]:[\fIGATEWAY_IP\fP]:[\fINETMASK\fP]:[\fIHOSTNAME\fP]:[\fIDEVICE\fP]:[\fIAUTOCONF\fP]]" 4
Let you specify the name(s) and the options of the interface(s) that should
be configured at boot time. Do not specify this if you want to use dhcp
(default). It will be changed in a future release to mimick official kernel
boot param specification
(e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
.IP \fBip\fP=[\fIfrommedia\fP] 4
If this variable is set, dhcp and static configuration are just skipped and
the system will use the (must be) media\-preconfigured
/etc/network/interfaces instead.
.IP {\fBlive\-media\fP|\fBbootfrom\fP}=\fIDEVICE\fP 4
If you specify one of this two equivalent forms, live\-boot will first try to
find this device for the "/live" directory where the read\-only root
filesystem should reside. If it did not find something usable, the normal
scan for block devices is performed.
.br
Instead of specifing an actual device name, the keyword 'removable' can be
used to limit the search of acceptable live media to removable type
only. Note that if you want to further restrict the media to usb mass
storage only, you can use the 'removable\-usb' keyword.
.IP {\fBlive\-media\-encryption\fP|\fBencryption\fP}=\fITYPE\fP 4
live\-boot will mount the encrypted rootfs TYPE, asking the passphrase,
useful to build paranoid live systems :\-). TYPE supported so far are "aes"
for loop\-aes encryption type.
.IP \fBlive\-media\-offset\fP=\fIBYTES\fP 4
This way you could tell live\-boot that your image starts at offset BYTES in
the above specified or autodiscovered device, this could be useful to hide
the Debian Live iso or image inside another iso or image, to create "clean"
images.
.IP \fBlive\-media\-path\fP=\fIPATH\fP 4
Sets the path to the live filesystem on the medium. By default, it is set to
\&'/live' and you should not change that unless you have customized your media
accordingly.
.IP \fBlive\-media\-timeout\fP=\fISECONDS\fP 4
Set the timeout in seconds for the device specified by "live\-media=" to
become ready before giving up.
.IP \fBmodule\fP=\fINAME\fP 4
Instead of using the default optional file "filesystem.module" (see below)
another file could be specified without the extension ".module"; it should
be placed on "/live" directory of the live medium.
.IP \fBnetboot\fP[=nfs|cifs] 4
This tells live\-boot to perform a network mount. The parameter "nfsroot="
(with optional "nfsopts="), should specify where is the location of the root
filesystem.  With no args, will try cifs first, and if it fails nfs.
.IP \fBnfsopts\fP= 4
This lets you specify custom nfs options.
.IP \fBnofastboot\fP 4
This parameter disables the default disabling of filesystem checks in
/etc/fstab. If you have static filesystems on your harddisk and you want
them to be checked at boot time, use this parameter, otherwise they are
skipped.
.IP \fBnopersistent\fP 4
disables the "persistent" feature, useful if the bootloader (like syslinux)
has been installed with persistent enabled.
.IP \fBnoprompt\fP 4
Do not prompt to eject the CD or remove the USB flash drive on reboot.
.IP \fBnoprompt\fP=\fITYPE\fP 4
This tells live\-boot not to prompt to eject the CD (when noprompt=cd) or
remove the USB flash drive (when noprompt=usb) on reboot.
.IP \fBramdisk\-size\fP 4
This parameters allows to set a custom ramdisk size (it's the '\-o size'
option of tmpfs mount). By default, there is no ramdisk size set, so the
default of mount applies (currently 50% of available RAM). Note that this
option has no currently no effect when booting with toram.
.IP \fBswapon\fP 4
This parameter enables usage of local swap partitions.
.IP \fBpersistent\fP[={nofiles|cryptsetup}] 4
live\-boot will look for persistent and snapshot partitions or files labeled
"live\-rw", "home\-rw", and files called "live\-sn*", "home\-sn*" and will try
to, in order: mount as /cow the first, mount the second in /home, and just
copy the contents of the latter in appropriate locations
(snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look
at live\-snapshot(1) for more informations.
.br
If "nofiles" is specified, only filesystems with matching labels will be
searched; no filesystems will be traversed looking for archives or image
files. This results in shorter boot times.
.br
If "cryptsetup" is specified, filesystems stored on Luks\-encrypted devices
will be considered as well as others when searching for a persistence
filesystem; the user will be prompted for any needed decryption passphrase.
.IP \fBpersistent\-path\fP=\fIPATH\fP 4
live\-boot will look for persistency files in the root directory of a
partition, with this parameter, the path can be configured so that you can
have multiple directories on the same partition to store persistency files.
.IP \fBpersistent\-subtext\fP=\fISUFFIX\fP 4
Add a suffix when searching for the image filenames or partition labels to
use for the above mentioned persistent feature, the SUFFIX will be added
after a dash (e.g.: "live\-sn" would transform to "live\-sn\-SUFFIX"). This is
handy to test multiple live\-boot based live\-systems with different
persistent storage choices.
.IP {\fBpreseed/file\fP|\fBfile\fP}=\fIFILE\fP 4
A path to a file present on the rootfs could be used to preseed debconf
database.
.IP \fBpackage/question\fP=\fIVALUE\fP 4
All debian installed packages could be preseeded from command\-line that way,
beware of blanks spaces, they will interfere with parsing, use a preseed
file in this case.
.IP \fBquickreboot\fP 4
This option causes live\-boot to reboot without attempting to eject the media
and without asking the user to remove the boot media.
.IP \fBshowmounts\fP 4
This parameter will make live\-boot to show on "/" the ro filesystems (mostly
compressed) on "/live". This is not enabled by default because could lead to
problems by applications like "mono" which store binary paths on
installation.
.IP \fBsilent\fP 4
If you boot with the normal quiet parameter, live\-boot hides most messages
of its own. When adding silent, it hides all.
.IP \fBtodisk\fP=\fIDEVICE\fP 4
Adding this parameter, live\-boot will try to copy the entire read\-only media
to the specified device before mounting the root filesystem. It probably
needs a lot of free space. Subsequent boots should then skip this step and
just specify the "live\-media=DEVICE" boot parameter with the same DEVICE
used this time.
.IP \fBtoram\fP 4
Adding this parameter, live\-boot will try to copy the whole read\-only media
to the computer's RAM before mounting the root filesystem. This could need a
lot of ram, according to the space used by the read\-only media.
.IP \fBunion\fP=aufs|unionfs 4
.\" FIXME
By default, live\-boot uses aufs. With this parameter, you can switch to
unionfs.

.\" FIXME
.SH "FILES (old)"
.IP \fB/etc/live.conf\fP 4
Some variables can be configured via this config file (inside the live
system).
.IP \fBlive/filesystem.module\fP 4
This optional file (inside the live media) contains a list of white\-space or
carriage\-return\-separated file names corresponding to disk images in the
"/live" directory. If this file exists, only images listed here will be
merged into the root aufs, and they will be loaded in the order listed
here. The first entry in this file will be the "lowest" point in the aufs,
and the last file in this list will be on the "top" of the aufs, directly
below /cow.  Without this file, any images in the "/live" directory are
loaded in alphanumeric order.
.IP \fB/etc/live\-persistence.binds\fP 4
This optional file (which resides in the rootfs system, not in the live
media) is used as a list of directories which not need be persistent:
ie. their content does not need to survive reboots when using the
persistence features.
.br
.\" FIXME
This saves expensive writes and speeds up operations on volatile data such
as web caches and temporary files (like e.g. /tmp and .mozilla) which are
regenerated each time. This is achieved by bind mounting each listed
directory with a tmpfs on the original path.

.SH DATEIEN
.IP \fB/etc/live/boot.conf\fP 4
.IP \fB/etc/live/boot.d/\fP 4
.IP \fBlive/boot.conf\fP 4
.IP \fBlive/boot.d/\fP 4

.SH "SIEHE AUCH"
\fIlive\-snapshot\fP(1)
.PP
\fIlive\-build\fP(7)
.PP
\fIlive\-config\fP(7)
.PP
\fIlive\-tools\fP(7)

.SH HOMEPAGE
Weitere Informationen ueber live\-boot und das Debian Live Projekt koennen
auf der Homepage unter <\fIhttp://live.debian.net/\fP> und im Handbuch
unter <\fIhttp://live.debian.net/manual/\fP> gefunden werden.

.SH FEHLER
Fehler koennen durch Einreichen eines Fehlerberichtes fuer das live\-boot
Paket im Debian Bug Tracking System unter
<\fIhttp://bugs.debian.org/\fP> oder durch Senden einer E\-Mail an die
Debian Live Mailing Liste unter <\fIdebian\-live@lists.debian.org\fP>
(englischsprachig) mitgeteilt werden.

.SH AUTOR
live\-boot wurde von Daniel Baumann <\fIdaniel@debian.org\fP> fuer das
Debian Projekt geschrieben.