20433781367ec568e77333f9096af83492a8007f
[live-boot-grml.git] / manpages / de / live-boot.de.7
1 .\"*******************************************************************
2 .\"
3 .\" This file was generated with po4a. Translate the source file.
4 .\"
5 .\"*******************************************************************
6 .TH LIVE\-BOOT 7 2011\-02\-01 2.0.15 "Debian Live Projekt"
7
8 .SH NAME
9 \fBlive\-boot\fP \- System Boot Skripte
10
11 .SH BESCHREIBUNG
12 \fBlive\-config\fP enthaelt die Skripte welche ein Debian Live System waehrend
13 des Startvorganes (early userspace) konfigurieren.
14 .PP
15 .\" FIXME
16 live\-boot is a hook for the initramfs\-tools, used to generate a initramfs
17 capable to boot live systems, such as those created by
18 \fIlive\-helper\fP(7). This includes the Debian Live isos, netboot tarballs, and
19 usb stick images.
20 .PP
21 .\" FIXME
22 At boot time it will look for a (read\-only) media containing a "/live"
23 directory where a root filesystems (often a compressed filesystem image like
24 squashfs) is stored. If found, it will create a writable environment, using
25 aufs, for Debian like systems to boot from.
26
27 .SH KONFIGURATION
28 \fBlive\-boot\fP kann durch Boot Parameter oder durch Konfigurationsdateien
29 konfiguriert werden.
30
31 .SS "Kernel Parameter"
32 \fBlive\-boot\fP ist nur dann aktiv, wenn 'boot=live' als Kernel Parameter
33 benutzt wird.
34 .PP
35 In addition, there are some more boot parameters to influence the behaviour,
36 see below.
37
38 .SS Konfigurationsdateien
39 \fBlive\-boot\fP can be configured (but not activated) through configuration
40 files. Those files can be placed either in the root filesystem itself
41 (/etc/live/boot.conf, /etc/live/boot.d/), or on the live media
42 (live/boot.conf, live/boot.d/).
43
44 .SH OPTIONEN
45 .\" FIXME
46 \fBlive\-boot\fP currently features the following parameters.
47 .IP \fBaccess\fP=\fIACCESS\fP 4
48 Set the accessibility level for physically or visually impared users. ACCESS
49 must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment,
50 v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties,
51 m2=moderate motor difficulties.
52 .IP \fBconsole\fP=\fITTY,SPEED\fP 4
53 Set the default console to be used with the "live\-getty" option. Example:
54 "console=ttyS0,115200"
55 .IP \fBdebug\fP 4
56 Makes initramfs boot process more verbose.
57 .br
58 Use: debug=1
59 .br
60 Without setting debug to a value the messages may not be shown.
61 .IP \fBfetch\fP=\fIURL\fP 4
62 .IP \fBhttpfs\fP=\fIURL\fP 4
63 Another form of netboot by downloading a squashfs image from a given url.
64 The fetch method copies the image to ram and the httpfs method uses fuse and
65 httpfs2 to mount the image in place. Copying to ram requires more memory and
66 might take a long time for large images. However, it is more likely to work
67 correctly because it does not require networking afterwards and the system
68 operates faster once booted because it does not require to contact the
69 server anymore.
70 .br
71 Due to current limitations in busyboxs wget and DNS resolution, an URL can
72 not contain a hostname but an IP only.
73 .br
74 Not working: http://example.com/path/to/your_filesystem.squashfs
75 .br
76 Working: http://1.2.3.4/path/to/your_filesystem.squashfs
77 .br
78 Also note that therefore it's currently not possible to fetch an image from
79 a namebased virtualhost of an httpd if it is sharing the ip with the main
80 httpd instance.
81 .br
82 You may also use the live iso image in place of the squashfs image.
83 .IP \fBiscsi\fP=\fIserver\-ip[,server\-port];target\-name\fP 4
84 Boot from an iSCSI target that has an iso or disk live image as one of its
85 LUNs. The specified target is searched for a LUN which looks like a live
86 media. If you use the \fBiscsitarget\fP software iSCSI target solution which is
87 packaged in Debian your ietd.conf might look like this:
88 .br
89 # The target\-name you specify in the iscsi= parameter
90 .br
91 Target <target\-name>
92   Lun 0 Path=<path\-to\-your\-live\-image.iso>,Type=fileio,IOMode=ro
93   # If you want to boot multiple machines you might want to look at tuning some parameters like
94   # Wthreads or MaxConnections
95 .IP \fBfromiso\fP=\fI/PATH/TO/IMAGE\fP 4
96 Allows to use a filesystem from within an iso image that's available on
97 live\-media.
98 .IP \fBignore_uuid\fP 4
99 Do not check that any UUID embedded in the initramfs matches the discovered
100 medium. live\-boot may be told to generate a UUID by setting
101 LIVE_GENERATE_UUID=1 when building the initramfs.
102 .IP \fBintegrity\-check\fP 4
103 If specified, an MD5 sum is calculated on the live media during boot and
104 compared to the value found in md5sum.txt found in the root directory of the
105 live media.
106 .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
107 Let you specify the name(s) and the options of the interface(s) that should
108 be configured at boot time. Do not specify this if you want to use dhcp
109 (default). It will be changed in a future release to mimick official kernel
110 boot param specification
111 (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
112 .IP \fBip\fP=[\fIfrommedia\fP] 4
113 If this variable is set, dhcp and static configuration are just skipped and
114 the system will use the (must be) media\-preconfigured
115 /etc/network/interfaces instead.
116 .IP {\fBlive\-media\fP|\fBbootfrom\fP}=\fIDEVICE\fP 4
117 If you specify one of this two equivalent forms, live\-boot will first try to
118 find this device for the "/live" directory where the read\-only root
119 filesystem should reside. If it did not find something usable, the normal
120 scan for block devices is performed.
121 .br
122 Instead of specifing an actual device name, the keyword 'removable' can be
123 used to limit the search of acceptable live media to removable type
124 only. Note that if you want to further restrict the media to usb mass
125 storage only, you can use the 'removable\-usb' keyword.
126 .IP {\fBlive\-media\-encryption\fP|\fBencryption\fP}=\fITYPE\fP 4
127 live\-boot will mount the encrypted rootfs TYPE, asking the passphrase,
128 useful to build paranoid live systems :\-). TYPE supported so far are "aes"
129 for loop\-aes encryption type.
130 .IP \fBlive\-media\-offset\fP=\fIBYTES\fP 4
131 This way you could tell live\-boot that your image starts at offset BYTES in
132 the above specified or autodiscovered device, this could be useful to hide
133 the Debian Live iso or image inside another iso or image, to create "clean"
134 images.
135 .IP \fBlive\-media\-path\fP=\fIPATH\fP 4
136 Sets the path to the live filesystem on the medium. By default, it is set to
137 \&'/live' and you should not change that unless you have customized your media
138 accordingly.
139 .IP \fBlive\-media\-timeout\fP=\fISECONDS\fP 4
140 Set the timeout in seconds for the device specified by "live\-media=" to
141 become ready before giving up.
142 .IP \fBmodule\fP=\fINAME\fP 4
143 Instead of using the default optional file "filesystem.module" (see below)
144 another file could be specified without the extension ".module"; it should
145 be placed on "/live" directory of the live medium.
146 .IP \fBnetboot\fP[=nfs|cifs] 4
147 This tells live\-boot to perform a network mount. The parameter "nfsroot="
148 (with optional "nfsopts="), should specify where is the location of the root
149 filesystem.  With no args, will try cifs first, and if it fails nfs.
150 .IP \fBnfsopts\fP= 4
151 This lets you specify custom nfs options.
152 .IP \fBnofastboot\fP 4
153 This parameter disables the default disabling of filesystem checks in
154 /etc/fstab. If you have static filesystems on your harddisk and you want
155 them to be checked at boot time, use this parameter, otherwise they are
156 skipped.
157 .IP \fBnopersistent\fP 4
158 disables the "persistent" feature, useful if the bootloader (like syslinux)
159 has been installed with persistent enabled.
160 .IP \fBnoprompt\fP 4
161 Do not prompt to eject the CD or remove the USB flash drive on reboot.
162 .IP \fBswapon\fP 4
163 This parameter enables usage of local swap partitions.
164 .IP \fBpersistent\fP[={nofiles|cryptsetup}] 4
165 live\-boot will look for persistent and snapshot partitions or files labeled
166 "live\-rw", "home\-rw", and files called "live\-sn*", "home\-sn*" and will try
167 to, in order: mount as /cow the first, mount the second in /home, and just
168 copy the contents of the latter in appropriate locations
169 (snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look
170 at live\-snapshot(1) for more informations.
171 .br
172 If "nofiles" is specified, only filesystems with matching labels will be
173 searched; no filesystems will be traversed looking for archives or image
174 files. This results in shorter boot times.
175 .br
176 If "cryptsetup" is specified, filesystems stored on Luks\-encrypted devices
177 will be considered as well as others when searching for a persistence
178 filesystem; the user will be prompted for any needed decryption passphrase.
179 .IP \fBpersistent\-path\fP=\fIPATH\fP 4
180 live\-boot will look for persistency files in the root directory of a
181 partition, with this parameter, the path can be configured so that you can
182 have multiple directories on the same partition to store persistency files.
183 .IP \fBpersistent\-subtext\fP=\fISUFFIX\fP 4
184 Add a suffix when searching for the image filenames or partition labels to
185 use for the above mentioned persistent feature, the SUFFIX will be added
186 after a dash (e.g.: "live\-sn" would transform to "live\-sn\-SUFFIX"). This is
187 handy to test multiple live\-boot based live\-systems with different
188 persistent storage choices.
189 .IP {\fBpreseed/file\fP|\fBfile\fP}=\fIFILE\fP 4
190 A path to a file present on the rootfs could be used to preseed debconf
191 database.
192 .IP \fBpackage/question\fP=\fIVALUE\fP 4
193 All debian installed packages could be preseeded from command\-line that way,
194 beware of blanks spaces, they will interfere with parsing, use a preseed
195 file in this case.
196 .IP \fBquickreboot\fP 4
197 This option causes live\-boot to reboot without attempting to eject the media
198 and without asking the user to remove the boot media.
199 .IP \fBshowmounts\fP 4
200 This parameter will make live\-boot to show on "/" the ro filesystems (mostly
201 compressed) on "/live". This is not enabled by default because could lead to
202 problems by applications like "mono" which store binary paths on
203 installation.
204 .IP \fBsilent\fP 4
205 If you boot with the normal quiet parameter, live\-boot hides most messages
206 of its own. When adding silent, it hides all.
207 .IP \fBtodisk\fP=\fIDEVICE\fP 4
208 Adding this parameter, live\-boot will try to copy the entire read\-only media
209 to the specified device before mounting the root filesystem. It probably
210 needs a lot of free space. Subsequent boots should then skip this step and
211 just specify the "live\-media=DEVICE" boot parameter with the same DEVICE
212 used this time.
213 .IP \fBtoram\fP 4
214 Adding this parameter, live\-boot will try to copy the whole read\-only media
215 to the computer's RAM before mounting the root filesystem. This could need a
216 lot of ram, according to the space used by the read\-only media.
217 .IP \fBunion\fP=aufs|unionfs 4
218 .\" FIXME
219 By default, live\-boot uses aufs. With this parameter, you can switch to
220 unionfs.
221
222 .\" FIXME
223 .SH "FILES (old)"
224 .IP \fB/etc/live.conf\fP 4
225 Some variables can be configured via this config file (inside the live
226 system).
227 .IP \fBlive/filesystem.module\fP 4
228 This optional file (inside the live media) contains a list of white\-space or
229 carriage\-return\-separated file names corresponding to disk images in the
230 "/live" directory. If this file exists, only images listed here will be
231 merged into the root aufs, and they will be loaded in the order listed
232 here. The first entry in this file will be the "lowest" point in the aufs,
233 and the last file in this list will be on the "top" of the aufs, directly
234 below /cow.  Without this file, any images in the "/live" directory are
235 loaded in alphanumeric order.
236 .IP \fB/etc/live\-persistence.binds\fP 4
237 This optional file (which resides in the rootfs system, not in the live
238 media) is used as a list of directories which not need be persistent:
239 ie. their content does not need to survive reboots when using the
240 persistence features.
241 .br
242 .\" FIXME
243 This saves expensive writes and speeds up operations on volatile data such
244 as web caches and temporary files (like e.g. /tmp and .mozilla) which are
245 regenerated each time. This is achieved by bind mounting each listed
246 directory with a tmpfs on the original path.
247
248 .SH DATEIEN
249 .IP \fB/etc/live/boot.conf\fP 4
250 .IP \fB/etc/live/boot.d/\fP 4
251 .IP \fBlive/boot.conf\fP 4
252 .IP \fBlive/boot.d/\fP 4
253
254 .SH "SIEHE AUCH"
255 \fIlive\-snapshot\fP(1)
256 .PP
257 \fIlive\-build\fP(7)
258 .PP
259 \fIlive\-config\fP(7)
260
261 .SH HOMEPAGE
262 Weitere Informationen ueber live\-boot und das Debian Live Projekt koennen
263 auf der Homepage unter <\fIhttp://live.debian.net/\fP> und im Handbuch
264 unter <\fIhttp://live.debian.net/manual/\fP> gefunden werden.
265
266 .SH FEHLER
267 Fehler koennen durch Einreichen eines Fehlerberichtes fuer das live\-boot
268 Paket im Debian Bug Tracking System unter
269 <\fIhttp://bugs.debian.org/\fP> oder durch Senden einer E\-Mail an die
270 Debian Live Mailing Liste unter <\fIdebian\-live@lists.debian.org\fP>
271 (englischsprachig) mitgeteilt werden.
272
273 .SH AUTOR
274 live\-boot wurde von Daniel Baumann <\fIdaniel@debian.org\fP> fuer das
275 Debian Projekt geschrieben.