Releasing debian version 4.0~a4-1.
[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 2013\-01\-02 4.0~a4\-1 "Debian Live Project"
7
8 .SH NAME
9 \fBlive\-boot\fP \- System Boot Scripts
10
11 .SH DESCRIPTION
12 \fBlive\-boot\fP contains the scripts that configure a Debian Live system during
13 the boot process (early userspace).
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 CONFIGURATION
28 \fBlive\-boot\fP can be configured through a boot parameter or a configuration
29 file.
30 .PP
31 To configure the live\-boot parameters used by default in a live image, see
32 the \-\-bootappend\-live option in the \fIlb_config\fP(1) manual page.
33
34 .SS "Kernel Parameters"
35 \fBlive\-boot\fP is only activated if 'boot=live' was used as a kernel
36 parameter.
37 .PP
38 In addition, there are some more boot parameters to influence the behaviour,
39 see below.
40
41 .SS "Configuration Files"
42 \fBlive\-boot\fP can be configured (but not activated) through configuration
43 files. Those files can be placed either in the root filesystem itself
44 (/etc/live/boot.conf, /etc/live/boot/*), or on the live media
45 (live/boot.conf, live/boot/*).
46
47 .SH OPTIONS
48 .\" FIXME
49 \fBlive\-boot\fP currently features the following parameters.
50 .IP \fBaccess\fP=\fIACCESS\fP 4
51 Set the accessibility level for physically or visually impaired
52 users. ACCESS must be one of v1, v2, v3, m1, or m2. v1=lesser visual
53 impairment, v2=moderate visual impairment, v3=blindness, m1=minor motor
54 difficulties, m2=moderate motor difficulties.
55 .IP \fBconsole\fP=\fITTY,SPEED\fP 4
56 Set the default console to be used with the "live\-getty" option. Example:
57 "console=ttyS0,115200"
58 .IP \fBdebug\fP 4
59 Makes initramfs boot process more verbose.
60 .br
61 Use: debug=1
62 .br
63 Without setting debug to a value the messages may not be shown.
64 .IP \fBfetch\fP=\fIURL\fP 4
65 .IP \fBhttpfs\fP=\fIURL\fP 4
66 Another form of netboot by downloading a squashfs image from a given url.
67 The fetch method copies the image to ram and the httpfs method uses fuse and
68 httpfs2 to mount the image in place. Copying to ram requires more memory and
69 might take a long time for large images. However, it is more likely to work
70 correctly because it does not require networking afterwards and the system
71 operates faster once booted because it does not require to contact the
72 server anymore.
73 .br
74 Due to current limitations in busybox's wget and DNS resolution, an URL can
75 not contain a hostname but an IP only.
76 .br
77 Not working: http://example.com/path/to/your_filesystem.squashfs
78 .br
79 Working: http://1.2.3.4/path/to/your_filesystem.squashfs
80 .br
81 Also note that therefore it's currently not possible to fetch an image from
82 a namebased virtualhost of an httpd if it is sharing the ip with the main
83 httpd instance.
84 .br
85 You may also use the live iso image in place of the squashfs image.
86 .IP \fBiscsi\fP=\fIserver\-ip[,server\-port];target\-name\fP 4
87 Boot from an iSCSI target that has an iso or disk live image as one of its
88 LUNs. The specified target is searched for a LUN which looks like a live
89 media. If you use the \fBiscsitarget\fP software iSCSI target solution which is
90 packaged in Debian your ietd.conf might look like this:
91 .br
92 # The target\-name you specify in the iscsi= parameter
93 .br
94 Target <target\-name>
95   Lun 0 Path=<path\-to\-your\-live\-image.iso>,Type=fileio,IOMode=ro
96   # If you want to boot multiple machines you might want to look at tuning some parameters like
97   # Wthreads or MaxConnections
98 .IP \fBfindiso\fP=\fI/PATH/TO/IMAGE\fP 4
99 Look for the specified ISO file on all disks where it usually looks for the
100 \&.squashfs file (so you don't have to know the device name as in
101 fromiso=....).
102 .IP \fBfromiso\fP=\fI/PATH/TO/IMAGE\fP 4
103 Allows to use a filesystem from within an iso image that's available on
104 live\-media.
105 .IP \fBignore_uuid\fP 4
106 Do not check that any UUID embedded in the initramfs matches the discovered
107 medium. live\-boot may be told to generate a UUID by setting
108 LIVE_GENERATE_UUID=1 when building the initramfs.
109 .IP \fBverify\-checksums\fP 4
110 If specified, an MD5 sum is calculated on the live media during boot and
111 compared to the value found in md5sum.txt found in the root directory of the
112 live media.
113 .IP "\fBip\fP=[\fIDEVICE\fP]:[\fICLIENT_IP\fP]:[\fINETMASK\fP]:[\fIGATEWAY_IP\fP]:[\fINAMESERVER\fP] [,[\fIDEVICE\fP]:[\fICLIENT_IP\fP]:[\fINETMASK\fP]:[\fIGATEWAY_IP\fP]:[\fINAMESERVER\fP]]" 4
114 Let you specify the name(s) and the options of the interface(s) that should
115 be configured at boot time. Do not specify this if you want to use dhcp
116 (default). It will be changed in a future release to mimick official kernel
117 boot param specification
118 (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
119 .IP \fBip\fP=[\fIfrommedia\fP] 4
120 If this variable is set, dhcp and static configuration are just skipped and
121 the system will use the (must be) media\-preconfigured
122 /etc/network/interfaces instead.
123 .IP {\fBlive\-media\fP|\fBbootfrom\fP}=\fIDEVICE\fP 4
124 If you specify one of this two equivalent forms, live\-boot will first try to
125 find this device for the "/live" directory where the read\-only root
126 filesystem should reside. If it did not find something usable, the normal
127 scan for block devices is performed.
128 .br
129 Instead of specifing an actual device name, the keyword 'removable' can be
130 used to limit the search of acceptable live media to removable type
131 only. Note that if you want to further restrict the media to usb mass
132 storage only, you can use the 'removable\-usb' keyword.
133 .IP {\fBlive\-media\-encryption\fP|\fBencryption\fP}=\fITYPE\fP 4
134 live\-boot will mount the encrypted rootfs TYPE, asking the passphrase,
135 useful to build paranoid live systems :\-). TYPE supported so far are "aes"
136 for loop\-aes encryption type.
137 .IP \fBlive\-media\-offset\fP=\fIBYTES\fP 4
138 This way you could tell live\-boot that your image starts at offset BYTES in
139 the above specified or autodiscovered device, this could be useful to hide
140 the Debian Live iso or image inside another iso or image, to create "clean"
141 images.
142 .IP \fBlive\-media\-path\fP=\fIPATH\fP 4
143 Sets the path to the live filesystem on the medium. By default, it is set to
144 \&'/live' and you should not change that unless you have customized your media
145 accordingly.
146 .IP \fBlive\-media\-timeout\fP=\fISECONDS\fP 4
147 Set the timeout in seconds for the device specified by "live\-media=" to
148 become ready before giving up.
149 .IP \fBmodule\fP=\fINAME\fP 4
150 Instead of using the default optional file "filesystem.module" (see below)
151 another file could be specified without the extension ".module"; it should
152 be placed on "/live" directory of the live medium.
153 .IP \fBnetboot\fP[=nfs|cifs] 4
154 This tells live\-boot to perform a network mount. The parameter "nfsroot="
155 (with optional "nfsopts="), should specify where is the location of the root
156 filesystem.  With no args, will try cifs first, and if it fails nfs.
157 .IP \fBnfsopts\fP= 4
158 This lets you specify custom nfs options.
159 .IP \fBnofastboot\fP 4
160 This parameter disables the default disabling of filesystem checks in
161 /etc/fstab. If you have static filesystems on your harddisk and you want
162 them to be checked at boot time, use this parameter, otherwise they are
163 skipped.
164 .IP \fBnopersistence\fP 4
165 disables the "persistence" feature, useful if the bootloader (like syslinux)
166 has been installed with persistence enabled.
167 .IP \fBnoprompt\fP 4
168 Do not prompt to eject the CD or remove the USB flash drive on reboot.
169 .IP \fBnoprompt\fP=\fITYPE\fP 4
170 This tells live\-boot not to prompt to eject the CD (when noprompt=cd) or
171 remove the USB flash drive (when noprompt=usb) on reboot.
172 .IP \fBramdisk\-size\fP 4
173 This parameters allows to set a custom ramdisk size (it's the '\-o size'
174 option of tmpfs mount). By default, there is no ramdisk size set, so the
175 default of mount applies (currently 50% of available RAM). Note that this
176 option has no currently no effect when booting with toram.
177 .IP \fBswapon\fP 4
178 This parameter enables usage of local swap partitions.
179 .IP \fBpersistence\fP 4
180 live\-boot will probe devices for persistence media. These can be partitions
181 (with the correct GPT name), filesystems (with the correct label) or image
182 files (with the correct file name). Overlays are labeled/named "persistence"
183 (see \fIpersistence.conf\fP(5)). Overlay image files have extensions which
184 determines their filesystem, e.g. "persistence.ext4".
185 .IP "\fBpersistence\-encryption\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
186 This option determines which types of encryption that we allow to be used
187 when probing devices for persistence media. If "none" is in the list, we
188 allow unencrypted media; if "luks" is in the list, we allow LUKS\-encrypted
189 media. Whenever a device containing encrypted media is probed the user will
190 be prompted for the passphrase. The default value is "none".
191 .IP \fBpersistence\-media\fP={\fIremovable\fP|\fIremovable\-usb\fP} 4
192 If you specify the keyword 'removable', live\-boot will try to find
193 persistence partitions on removable media only. Note that if you want to
194 further restrict the media to usb mass storage only, you can use the
195 \&'removable\-usb' keyword.
196 .IP "\fBpersistence\-method\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
197 This option determines which types of persistence media we allow. If
198 "overlay" is in the list, we consider overlays (i.e. "live\-rw" and
199 "home\-rw"). The default is "overlay".
200 .IP \fBpersistence\-path\fP=\fIPATH\fP 4
201 live\-boot will look for persistency files in the root directory of a
202 partition, with this parameter, the path can be configured so that you can
203 have multiple directories on the same partition to store persistency files.
204 .IP \fBpersistence\-read\-only\fP 4
205 Filesystem changes are not saved back to persistence media. In particular,
206 overlays and netboot NFS mounts are mounted read\-only.
207 .IP "\fBpersistence\-storage\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
208 This option determines which types of persistence storage to consider when
209 probing for persistence media. If "filesystem" is in the list, filesystems
210 with matching labels will be used; if "file" is in the list, all filesystems
211 will be probed for archives and image files with matching filenames. The
212 default is "file,filesystem".
213 .IP \fBpersistence\-subtext\fP=\fISUFFIX\fP 4
214 Add a suffix when searching for the image filenames or partition labels to
215 use for the above mentioned persistence feature, the SUFFIX will be added
216 after a dash (e.g.: "live\-sn" would transform to "live\-sn\-SUFFIX"). This is
217 handy to test multiple live\-boot based live\-systems with different
218 persistence storage choices.
219 .IP \fBquickreboot\fP 4
220 This option causes live\-boot to reboot without attempting to eject the media
221 and without asking the user to remove the boot media.
222 .IP \fBshowmounts\fP 4
223 This parameter will make live\-boot to show on "/" the ro filesystems (mostly
224 compressed) on "/lib/live". This is not enabled by default because could
225 lead to problems by applications like "mono" which store binary paths on
226 installation.
227 .IP \fBsilent\fP 4
228 If you boot with the normal quiet parameter, live\-boot hides most messages
229 of its own. When adding silent, it hides all.
230 .IP \fBtodisk\fP=\fIDEVICE\fP 4
231 Adding this parameter, live\-boot will try to copy the entire read\-only media
232 to the specified device before mounting the root filesystem. It probably
233 needs a lot of free space. Subsequent boots should then skip this step and
234 just specify the "live\-media=DEVICE" boot parameter with the same DEVICE
235 used this time.
236 .IP \fBtoram\fP 4
237 Adding this parameter, live\-boot will try to copy the whole read\-only media
238 to the computer's RAM before mounting the root filesystem. This could need a
239 lot of ram, according to the space used by the read\-only media.
240 .IP \fBunion\fP=aufs|unionfs 4
241 .\" FIXME
242 By default, live\-boot uses aufs. With this parameter, you can switch to
243 unionfs.
244
245 .\" FIXME
246 .SH "FILES (old)"
247 .IP \fB/etc/live.conf\fP 4
248 Some variables can be configured via this config file (inside the live
249 system).
250 .IP \fBlive/filesystem.module\fP 4
251 .\" FIXME
252 This optional file (inside the live media) contains a list of white\-space or
253 carriage\-return\-separated file names corresponding to disk images in the
254 "/live" directory. If this file exists, only images listed here will be
255 merged into the root aufs, and they will be loaded in the order listed
256 here. The first entry in this file will be the "lowest" point in the aufs,
257 and the last file in this list will be on the "top" of the aufs, directly
258 below /overlay.  Without this file, any images in the "/live" directory are
259 loaded in alphanumeric order.
260
261 .SH FILES
262 .IP \fB/etc/live/boot.conf\fP 4
263 .IP \fB/etc/live/boot/*\fP 4
264 .IP \fBlive/boot.conf\fP 4
265 .IP \fBlive/boot/*\fP 4
266 .IP \fBpersistence.conf\fP 4
267
268 .SH "SEE ALSO"
269 \fIpersistence.conf\fP(5)
270 .PP
271 \fIlive\-build\fP(7)
272 .PP
273 \fIlive\-config\fP(7)
274 .PP
275 \fIlive\-tools\fP(7)
276
277 .SH HOMEPAGE
278 More information about live\-boot and the Debian Live project can be found on
279 the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
280 <\fIhttp://live.debian.net/manual/\fP>.
281
282 .SH BUGS
283 Bugs can be reported by submitting a bugreport for the live\-boot package in
284 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
285 writing a mail to the Debian Live mailing list at
286 <\fIdebian\-live@lists.debian.org\fP>.
287
288 .SH AUTHOR
289 live\-boot was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
290 the Debian project.